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>
This commit is contained in:

committed by
Andrew Lunn

parent
55650d4e5b
commit
09059e9f29
@@ -15,6 +15,31 @@
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
blue-power {
|
||||
label = "dns320:blue:power";
|
||||
gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
blue-usb {
|
||||
label = "dns320:blue:usb";
|
||||
gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
|
||||
};
|
||||
orange-l_hdd {
|
||||
label = "dns320:orange:l_hdd";
|
||||
gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
|
||||
};
|
||||
orange-r_hdd {
|
||||
label = "dns320:orange:r_hdd";
|
||||
gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
|
||||
};
|
||||
orange-usb {
|
||||
label = "dns320:orange:usb";
|
||||
gpios = <&gpio1 3 1>; /* GPIO 35 Active Low */
|
||||
};
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
serial@12000 {
|
||||
clock-frequency = <166666667>;
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user