提交 867dc8be 编写于 作者: M Maxime Ripard

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

Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 0749a442
......@@ -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";
};
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册