aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/armada-370-rd.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index ea61d8c05240..14c66e4adbc0 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -55,6 +55,11 @@
55 marvell,pins = "mpp8"; 55 marvell,pins = "mpp8";
56 marvell,function = "gpio"; 56 marvell,function = "gpio";
57 }; 57 };
58
59 led_pins: led-pins {
60 marvell,pins = "mpp32";
61 marvell,function = "gpio";
62 };
58 }; 63 };
59 64
60 serial@12000 { 65 serial@12000 {
@@ -125,6 +130,18 @@
125 pinctrl-names = "default"; 130 pinctrl-names = "default";
126 }; 131 };
127 132
133 gpio_leds {
134 compatible = "gpio-leds";
135 pinctrl-names = "default";
136 pinctrl-0 = <&led_pins>;
137
138 sw_led {
139 label = "370rd:green:sw";
140 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
141 default-state = "keep";
142 };
143 };
144
128 nand@d0000 { 145 nand@d0000 {
129 status = "okay"; 146 status = "okay";
130 num-cs = <1>; 147 num-cs = <1>;