Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 867dc8be authored by Maxime Ripard's avatar Maxime Ripard
Browse files

sunxi: a13-olinuxino: Add user LED to the device tree

parent 0749a442
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -23,8 +23,28 @@
	};

	soc {
		pinctrl@01c20800 {
			led_pins_olinuxino: led_pins@0 {
				allwinner,pins = "PG9";
				allwinner,function = "gpio_out";
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};
		};

		uart1: uart@01c28400 {
			status = "okay";
		};
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_pins_olinuxino>;

		power {
			gpios = <&pio 6 9 0>;
			default-state = "on";
		};
	};
};