diff options
author | Tony Lindgren <tony@atomide.com> | 2016-09-11 16:50:57 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-09-13 19:14:19 -0400 |
commit | e7ee0bc6ae1eb6b3db3c81956e7123ef9a28cd35 (patch) | |
tree | 14229c53c46d73759caf43e93265100bd5401be2 /arch/arm/boot | |
parent | b118c6a6ffa146c1598a53748efca8d299e495dc (diff) |
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')
-rw-r--r-- | arch/arm/boot/dts/omap5-board-common.dtsi | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap5-igep0050.dts | 19 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap5-uevm.dts | 10 |
3 files changed, 29 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index c61eb2063be8..6365635fea5c 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi | |||
@@ -77,16 +77,6 @@ | |||
77 | reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; /* gpio3_79 ETH_NRESET */ | 77 | reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; /* gpio3_79 ETH_NRESET */ |
78 | }; | 78 | }; |
79 | 79 | ||
80 | leds { | ||
81 | compatible = "gpio-leds"; | ||
82 | led1 { | ||
83 | label = "omap5:blue:usr1"; | ||
84 | gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ | ||
85 | linux,default-trigger = "heartbeat"; | ||
86 | default-state = "off"; | ||
87 | }; | ||
88 | }; | ||
89 | |||
90 | tpd12s015: encoder { | 80 | tpd12s015: encoder { |
91 | compatible = "ti,tpd12s015"; | 81 | compatible = "ti,tpd12s015"; |
92 | 82 | ||
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 @@ | |||
30 | gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; | 30 | gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |
33 | |||
34 | leds { | ||
35 | compatible = "gpio-leds"; | ||
36 | led@1 { | ||
37 | label = "board:green:usr0"; | ||
38 | gpios = <&tca6416 1 0>; | ||
39 | default-state = "off"; | ||
40 | }; | ||
41 | led@2 { | ||
42 | label = "board:red:usr1"; | ||
43 | gpios = <&tca6416 2 0>; | ||
44 | default-state = "off"; | ||
45 | }; | ||
46 | led@3 { | ||
47 | label = "board:blue:usr1"; | ||
48 | gpios = <&tca6416 3 0>; | ||
49 | default-state = "off"; | ||
50 | }; | ||
51 | }; | ||
33 | }; | 52 | }; |
34 | 53 | ||
35 | &hdmi { | 54 | &hdmi { |
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 17704479f618..6966b77976ba 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts | |||
@@ -17,6 +17,16 @@ | |||
17 | device_type = "memory"; | 17 | device_type = "memory"; |
18 | reg = <0x80000000 0x7F000000>; /* 2032 MB */ | 18 | reg = <0x80000000 0x7F000000>; /* 2032 MB */ |
19 | }; | 19 | }; |
20 | |||
21 | leds { | ||
22 | compatible = "gpio-leds"; | ||
23 | led1 { | ||
24 | label = "omap5:blue:usr1"; | ||
25 | gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ | ||
26 | linux,default-trigger = "heartbeat"; | ||
27 | default-state = "off"; | ||
28 | }; | ||
29 | }; | ||
20 | }; | 30 | }; |
21 | 31 | ||
22 | &hdmi { | 32 | &hdmi { |