OSDN Git Service

ARM: shmobile: ape6evm dts: Fix polarity of LEDs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 26 Feb 2015 10:46:29 +0000 (11:46 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 27 Feb 2015 00:54:17 +0000 (09:54 +0900)
While the LEDs on r8a73a4/ape6evm are tied to VSUPPLY, they're driven by
an N-channel MOSFET. Hence the GPIO signal should be active high.

Signed-off-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 0d50bef..e8f3f38 100644 (file)
        leds {
                compatible = "gpio-leds";
                led1 {
-                       gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 28 GPIO_ACTIVE_HIGH>;
                        label = "GNSS_EN";
                };
                led2 {
-                       gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
                        label = "NFC_NRST";
                };
                led3 {
-                       gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
                        label = "GNSS_NRST";
                };
                led4 {
-                       gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
                        label = "BT_WAKEUP";
                };
                led5 {
-                       gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
                        label = "STROBE";
                };
                led6 {
-                       gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
+                       gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
                        label = "BBRESETOUT";
                };
        };