sunxi: a13-olinuxino: Add user LED to the device tree
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
0749a4424b
commit
867dc8beba
1 changed files with 20 additions and 0 deletions
|
@ -23,8 +23,28 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
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 {
|
||||||
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue