diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-13 10:31:49 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-13 17:48:41 +0100 |
commit | 90795c560d83f5489e64db21f75970d1746b0559 (patch) | |
tree | 1ebdd8555cd4fcf6d5471810ed72a4800880563a /arch/arm/boot/dts/sun6i-a31-m9.dts | |
parent | 5070ac3ee2e987a9704d8d908731f11ed07399f4 (diff) |
ARM: dts: sun6i: Add support for the status led
The Mele M9 / A1000G quad has a blue status led, add support for this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-m9.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-m9.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index e81eed328c82..66bb7c918e20 100644 --- a/arch/arm/boot/dts/sun6i-a31-m9.dts +++ b/arch/arm/boot/dts/sun6i-a31-m9.dts @@ -82,6 +82,13 @@ }; pio: pinctrl@01c20800 { + led_pins_m9: led_pins@0 { + allwinner,pins = "PH13"; + allwinner,function = "gpio_out"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + mmc0_cd_pin_m9: mmc0_cd_pin@0 { allwinner,pins = "PH22"; allwinner,function = "gpio_in"; @@ -104,6 +111,17 @@ }; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pins_m9>; + + blue { + label = "m9:blue:usr"; + gpios = <&pio 7 13 0>; + }; + }; + reg_usb1_vbus: usb1-vbus { pinctrl-names = "default"; pinctrl-0 = <&usb1_vbus_pin_m9>; |