Skip to content

Commit

Permalink
sunxi: a13-olinuxino: Add user LED to the device tree
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Maxime Ripard committed Feb 11, 2013
1 parent 0749a44 commit 867dc8b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/sun5i-a13-olinuxino.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
};

0 comments on commit 867dc8b

Please sign in to comment.