Commit bfef081d authored by Maxime Ripard's avatar Maxime Ripard

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

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent e10911e1
...@@ -23,10 +23,30 @@ chosen { ...@@ -23,10 +23,30 @@ chosen {
}; };
soc { 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 { uart1: uart@01c28400 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>; pinctrl-0 = <&uart1_pins_b>;
status = "okay"; status = "okay";
}; };
}; };
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins_olinuxino>;
power {
gpios = <&pio 6 9 0>;
default-state = "on";
};
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment