ARM: LPC32xx: LED fix in PHY3250 DTS file
authorRoland Stigge <stigge@antcom.de>
Tue, 25 Sep 2012 08:11:41 +0000 (10:11 +0200)
committerRoland Stigge <stigge@antcom.de>
Tue, 25 Sep 2012 08:11:41 +0000 (10:11 +0200)
This patch adjusts the PHY3250 board file to the actual LED configuration
(active high, default-state and trigger configuration).

Signed-off-by: Roland Stigge <stigge@antcom.de>
arch/arm/boot/dts/phy3250.dts

index a7ad85e..90fdbd7 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               led0 {
-                       gpios = <&gpio 5 1 1>; /* GPO_P3 1, GPIO 80, active low */
-                       linux,default-trigger = "heartbeat";
+               led0 { /* red */
+                       gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
                        default-state = "off";
                };
 
-               led1 {
-                       gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */
-                       linux,default-trigger = "timer";
-                       default-state = "off";
+               led1 { /* green */
+                       gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
+                       linux,default-trigger = "heartbeat";
                };
        };
 };