diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2012-11-24 05:24:09 +0900 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-11-24 02:59:12 +0000 |
commit | 155acbe7f7bf7563239ff4d188634930512d0c02 (patch) | |
tree | e3e1599d7835aff4bca66ab3dec1addbab747cd6 /arch/arm/boot/dts | |
parent | 5cd0e6e79bc1064f26a137a33217a7dfbd541a50 (diff) | |
download | blackbird-obmc-linux-155acbe7f7bf7563239ff4d188634930512d0c02.tar.gz blackbird-obmc-linux-155acbe7f7bf7563239ff4d188634930512d0c02.zip |
ARM: Kirkwood: Add support LED of OpenBlocks A6
OpenBlocks A6 has three leds via GPIO. This supports them.
And this fix typo about led, because hardware manual has typo.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts index e80c9d0c4ee9..49d3d74d4d38 100644 --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts @@ -76,4 +76,23 @@ }; }; }; + + gpio-leds { + compatible = "gpio-leds"; + + led-red { + label = "obsa6:red:stat"; + gpios = <&gpio1 9 1>; + }; + + led-green { + label = "obsa6:green:stat"; + gpios = <&gpio1 10 1>; + }; + + led-yellow { + label = "obsa6:yellow:stat"; + gpios = <&gpio1 11 1>; + }; + }; }; |