ARM: shmobile: ape6evm: Add LEDs to the device tree
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Wed, 17 Dec 2014 16:18:15 +0000 (17:18 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 21 Dec 2014 10:07:24 +0000 (19:07 +0900)
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a73a4-ape6evm.dts

index c98cd14..b939a37 100644 (file)
                        vddvario-supply = <&ape6evm_fixed_3v3>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led1 {
+                       gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
+                       label = "GNSS_EN";
+               };
+               led2 {
+                       gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
+                       label = "NFC_NRST";
+               };
+               led3 {
+                       gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
+                       label = "GNSS_NRST";
+               };
+               led4 {
+                       gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
+                       label = "BT_WAKEUP";
+               };
+               led5 {
+                       gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
+                       label = "STROBE";
+               };
+               led6 {
+                       gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
+                       label = "BBRESETOUT";
+               };
+       };
 };
 
 &i2c5 {