diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-01-08 22:35:17 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-02-11 16:18:58 +0100 |
commit | 867dc8beba816695485f61c2c4ad80f11073c280 (patch) | |
tree | 57e2706e00f97199cf43dad4d7ff148c4714cae2 | |
parent | sunxi: a10-cubieboard: Add user LEDs to the device tree (diff) | |
download | linux-867dc8beba816695485f61c2c4ad80f11073c280.tar.xz linux-867dc8beba816695485f61c2c4ad80f11073c280.zip |
sunxi: a13-olinuxino: Add user LED to the device tree
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts index 498a091a4ea2..ff5d0cd81b95 100644 --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts @@ -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"; + }; + }; }; |