summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5-igep0050.dts
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2016-09-11 13:50:57 -0700
committerTony Lindgren <tony@atomide.com>2016-09-13 16:14:19 -0700
commite7ee0bc6ae1eb6b3db3c81956e7123ef9a28cd35 (patch)
tree14229c53c46d73759caf43e93265100bd5401be2 /arch/arm/boot/dts/omap5-igep0050.dts
parentb118c6a6ffa146c1598a53748efca8d299e495dc (diff)
downloadlinux-e7ee0bc6ae1eb6b3db3c81956e7123ef9a28cd35.tar.bz2
ARM: dts: Fix LEDs for igepv5
The LEDs on igepv5 are on the GPIO expander unlike on omap5-uevm. Configuration copied from git.isee.biz git tree except fixed for red and blue mapping. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-igep0050.dts')
-rw-r--r--arch/arm/boot/dts/omap5-igep0050.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-igep0050.dts b/arch/arm/boot/dts/omap5-igep0050.dts
index f24b4498537a..eceab970eba4 100644
--- a/arch/arm/boot/dts/omap5-igep0050.dts
+++ b/arch/arm/boot/dts/omap5-igep0050.dts
@@ -30,6 +30,25 @@
gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+ led@1 {
+ label = "board:green:usr0";
+ gpios = <&tca6416 1 0>;
+ default-state = "off";
+ };
+ led@2 {
+ label = "board:red:usr1";
+ gpios = <&tca6416 2 0>;
+ default-state = "off";
+ };
+ led@3 {
+ label = "board:blue:usr1";
+ gpios = <&tca6416 3 0>;
+ default-state = "off";
+ };
+ };
};
&hdmi {