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 a7ad85e4b8f9cb2e261dd53ff0cae2f72fbddbfe..90fdbd77f2740f36c09a3daeaa359625107e8fe8 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";
                };
        };
 };