diff options
author | Maxime Ripard | 2013-01-08 22:35:17 +0100 |
---|---|---|
committer | Maxime Ripard | 2013-03-05 21:01:49 +0100 |
commit | bfef081dd6752f596ef968efe70dcca615463546 (patch) | |
tree | a8908fc02fc556b16d89ca50acc18c14ba112c8a /arch/arm/boot/dts/sun5i-a13-olinuxino.dts | |
parent | e10911e1c087d56540c66bd40af1d30d0350d64e (diff) |
sunxi: a13-olinuxino: Add user LED to the device tree
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13-olinuxino.dts')
-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 4a1e45d4aace..33d1c7e71f25 100644 --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts @@ -23,10 +23,30 @@ }; 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 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins_b>; status = "okay"; }; }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pins_olinuxino>; + + power { + gpios = <&pio 6 9 0>; + default-state = "on"; + }; + }; }; |