diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-23 23:09:41 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-01 22:34:22 +0800 |
commit | f75622f4679479d352d2fa83e0d84c6c13cfcb5f (patch) | |
tree | 6dfa335d83296856bba94a7ccc5e190c00858cc8 /arch | |
parent | 2ea332dedc59b98239fffcf738035c73fc8bdbde (diff) | |
download | linux-3.10-f75622f4679479d352d2fa83e0d84c6c13cfcb5f.tar.gz linux-3.10-f75622f4679479d352d2fa83e0d84c6c13cfcb5f.tar.bz2 linux-3.10-f75622f4679479d352d2fa83e0d84c6c13cfcb5f.zip |
ARM: at91: at91sam9x5cm/dt: add leds support
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/at91sam9x5cm.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index 4ab5a77f4af..64ae3e89025 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi @@ -11,4 +11,19 @@ memory@20000000 { reg = <0x20000000 0x8000000>; }; + + leds { + compatible = "gpio-leds"; + + pb18 { + label = "pb18"; + gpios = <&pioB 18 1>; + linux,default-trigger = "heartbeat"; + }; + + pd21 { + label = "pd21"; + gpios = <&pioD 21 0>; + }; + }; }; |