diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-11-06 08:48:36 -0500 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-11-06 09:45:52 -0500 |
commit | 29b0b84381221e94063ceb4129f4e4bc1bce1215 (patch) | |
tree | 88a3c6e38a04c4e38486763612195b5ede86b793 | |
parent | 2647dd10fcd85aa1404878e8692a1cab928d3ec7 (diff) |
ARM: dts: AM33XX: Add user-leds device tree data to am335x-evmsk
Add gpio-leds device tree data to am335x-evmsk device to enable gpio
based user-leds (USR0, USR1, USR2 and USR3) present on am335x starter
kit.
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 659ec5b73ab4..7262fa83b8d1 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -100,6 +100,36 @@ | |||
100 | regulator-name = "lis3_reg"; | 100 | regulator-name = "lis3_reg"; |
101 | regulator-boot-on; | 101 | regulator-boot-on; |
102 | }; | 102 | }; |
103 | |||
104 | leds { | ||
105 | compatible = "gpio-leds"; | ||
106 | |||
107 | led@1 { | ||
108 | label = "evmsk:green:usr0"; | ||
109 | gpios = <&gpio2 4 0>; | ||
110 | default-state = "off"; | ||
111 | }; | ||
112 | |||
113 | led@2 { | ||
114 | label = "evmsk:green:usr1"; | ||
115 | gpios = <&gpio2 5 0>; | ||
116 | default-state = "off"; | ||
117 | }; | ||
118 | |||
119 | led@3 { | ||
120 | label = "evmsk:green:mmc0"; | ||
121 | gpios = <&gpio2 6 0>; | ||
122 | linux,default-trigger = "mmc0"; | ||
123 | default-state = "off"; | ||
124 | }; | ||
125 | |||
126 | led@4 { | ||
127 | label = "evmsk:green:heartbeat"; | ||
128 | gpios = <&gpio2 7 0>; | ||
129 | linux,default-trigger = "heartbeat"; | ||
130 | default-state = "off"; | ||
131 | }; | ||
132 | }; | ||
103 | }; | 133 | }; |
104 | 134 | ||
105 | /include/ "tps65910.dtsi" | 135 | /include/ "tps65910.dtsi" |