summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-dns325.dts
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2012-07-19 22:30:58 +0200
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 16:49:45 +0200
commit09059e9f29d6167511b8df0f6518e8a0b1bd4c70 (patch)
tree4ce170f76b32717f0bd1e7fae18ed55e2eabf100 /arch/arm/boot/dts/kirkwood-dns325.dts
parentARM: Kirkwood: Describe DNS325 temperature sensor in DT. (diff)
downloadlinux-09059e9f29d6167511b8df0f6518e8a0b1bd4c70.tar.xz
linux-09059e9f29d6167511b8df0f6518e8a0b1bd4c70.zip
ARM: Kirkwood: Replace DNS-320/DNS-325 leds with dt bindings
Replace code in board-dnskw with the equivalent devicetree bindings. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-dns325.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-dns325.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dns325.dts b/arch/arm/boot/dts/kirkwood-dns325.dts
index debb3703dfe7..a24597044d5f 100644
--- a/arch/arm/boot/dts/kirkwood-dns325.dts
+++ b/arch/arm/boot/dts/kirkwood-dns325.dts
@@ -15,6 +15,31 @@
bootargs = "console=ttyS0,115200n8 earlyprintk";
};
+ gpio-leds {
+ compatible = "gpio-leds";
+ white-power {
+ label = "dns325:white:power";
+ gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
+ linux,default-trigger = "default-on";
+ };
+ white-usb {
+ label = "dns325:white:usb";
+ gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
+ };
+ red-l_hdd {
+ label = "dns325:red:l_hdd";
+ gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
+ };
+ red-r_hdd {
+ label = "dns325:red:r_hdd";
+ gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
+ };
+ red-usb {
+ label = "dns325:red:usb";
+ gpios = <&gpio0 29 1>; /* GPIO 29 Active Low */
+ };
+ };
+
ocp@f1000000 {
i2c@11000 {
status = "okay";