]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 c98cd1442d7c71b751499633a36cc8764daf1578..b939a372d40842540955a4a9c1f7603f38674a1d 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 {