diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-03 23:26:01 -0500 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-01 09:34:20 -0500 |
commit | f2ee7acd3d0bfcdaf4a76e0a152f373d415a4e31 (patch) | |
tree | 3990277da92d05cbfdce83042155d1bfef07b112 /arch | |
parent | 4ea256539907f2998a1a361786917bc4fa423f7a (diff) |
ARM: at91: at91sam9m10g45ek/dt: add leds support
Use the gpio for d7 as we do not support yet the pwm led via dt.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/at91sam9m10g45ek.dts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts index a387e7704ce1..ae8ed6a304dd 100644 --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts | |||
@@ -37,4 +37,26 @@ | |||
37 | }; | 37 | }; |
38 | }; | 38 | }; |
39 | }; | 39 | }; |
40 | |||
41 | leds { | ||
42 | compatible = "gpio-leds"; | ||
43 | |||
44 | d8 { | ||
45 | label = "d8"; | ||
46 | gpios = <&pioD 30 0>; | ||
47 | linux,default-trigger = "heartbeat"; | ||
48 | }; | ||
49 | |||
50 | d6 { | ||
51 | label = "d6"; | ||
52 | gpios = <&pioD 0 1>; | ||
53 | linux,default-trigger = "nand-disk"; | ||
54 | }; | ||
55 | |||
56 | d7 { | ||
57 | label = "d7"; | ||
58 | gpios = <&pioD 31 1>; | ||
59 | linux,default-trigger = "mmc0"; | ||
60 | }; | ||
61 | }; | ||
40 | }; | 62 | }; |