Skip to content

Commit

Permalink
ARM: LPC32xx: LED fix in PHY3250 DTS file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Stigge committed Sep 25, 2012
1 parent 25b3ab6 commit 07c7e12
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions arch/arm/boot/dts/phy3250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,14 @@
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";
};
};
};

0 comments on commit 07c7e12

Please sign in to comment.