memory {
device_type = "memory";
-@@ -81,12 +88,11 @@
+@@ -81,12 +88,12 @@
&pmx_led_usb_transfer>;
pinctrl-names = "default";
label = "ib62x0:green:os";
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
- red-os {
+ led_red_os: red-os {
label = "ib62x0:red:os";
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
};
-@@ -118,13 +124,13 @@
+@@ -118,13 +125,13 @@
};
partition@100000 {
};
ocp@f1000000 {
-@@ -89,12 +94,11 @@
+@@ -89,12 +94,12 @@
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
label = "power:blue";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
- power-red {
+ led_power_red: power-red {
label = "power:red";
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
};
-@@ -146,28 +150,23 @@
+@@ -146,28 +151,23 @@
status = "okay";
partition@0 {
memory {
device_type = "memory";
reg = <0x00000000 0x8000000>;
-@@ -42,12 +49,11 @@
+@@ -42,12 +49,12 @@
pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
pinctrl-names = "default";
label = "status:green:health";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "status:orange:fault";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
-@@ -78,18 +84,22 @@
+@@ -78,18 +85,22 @@
partition@0 {
label = "u-boot";
memory {
device_type = "memory";
reg = <0x00000000 0x10000000>;
-@@ -127,16 +134,15 @@
+@@ -127,16 +134,16 @@
&pmx_led_rebuild &pmx_led_health >;
pinctrl-names = "default";
label = "status:white:power_led";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
rebuild_led {
label = "status:white:rebuild_led";
label = "status:red:health_led";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
-@@ -186,18 +192,18 @@
+@@ -186,18 +193,18 @@
};
partition@a0000 {
reg = <0x400000 0x1C00000>;
};
};
-@@ -211,7 +217,7 @@
+@@ -211,7 +218,7 @@
};
ð0 {
kirkwood-lsxhl.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-linksys-audi.dts
-@@ -0,0 +1,249 @@
+@@ -0,0 +1,250 @@
+/*
+ * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
+ *
+ led_power: power {
+ label = "audi:green:power";
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
+ };
+ };
+
serial0 = &uart0;
};
-@@ -58,7 +62,7 @@
+@@ -58,9 +62,10 @@
pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
pinctrl-names = "default";
+ led_white_health: white-health {
label = "viper:white:health";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
};
-@@ -69,9 +73,18 @@
+
+ white-pulse {
+@@ -69,9 +74,18 @@
};
};
compatible = "marvell,dsa";
#address-cells = <2>;
#size-cells = <0>;
-@@ -163,22 +176,22 @@
+@@ -163,22 +177,22 @@
};
partition@200000 {
reg = <0x1EA0000 0x1760000>;
};
-@@ -209,53 +222,6 @@
+@@ -209,53 +223,6 @@
&mdio {
status = "okay";
};
&uart0 {
-@@ -274,10 +240,14 @@
+@@ -274,10 +241,14 @@
};
/* eth1 is connected to the switch at port 6. However DSA only supports a
kirkwood-ib62x0.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-goflexhome.dts
-@@ -0,0 +1,123 @@
+@@ -0,0 +1,124 @@
+/dts-v1/;
+
+#include "kirkwood.dtsi"
+ led_health: health {
+ label = "status:green:health";
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
++ default-state = "on";
+ };
+ led_fault: fault {
+ label = "status:orange:fault";
memory {
device_type = "memory";
reg = <0x00000000 0x8000000>;
-@@ -85,12 +92,11 @@
+@@ -85,12 +92,12 @@
>;
pinctrl-names = "default";
label = "status:green:health";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "status:orange:fault";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
-@@ -159,18 +165,8 @@
+@@ -159,18 +166,8 @@
};
partition@100000 {
kirkwood-openblocks_a6.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-nsa310b.dts
-@@ -0,0 +1,131 @@
+@@ -0,0 +1,132 @@
+/dts-v1/;
+
+#include "kirkwood-nsa3x0-common.dtsi"
+ led_green_sys: green-sys {
+ label = "nsa310:green:sys";
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
+ };
+ led_red_sys: red-sys {
+ label = "nsa310:red:sys";
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
-@@ -165,11 +172,11 @@
+@@ -165,11 +172,12 @@
&pmx_led_hdd1_green &pmx_led_hdd1_red>;
pinctrl-names = "default";
+ led_green_sys: green-sys {
label = "nsa325:green:sys";
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
};
- orange-sys {
+ led_orange_sys: orange-sys {
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-on100.dts
-@@ -0,0 +1,164 @@
+@@ -0,0 +1,165 @@
+/dts-v1/;
+
+#include "kirkwood.dtsi"
+ led_health_green: health_green {
+ label = "on100:green:health";
+ gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
++ default-state = "on";
+ };
+
+ led_health_red: health_red {
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
};
};
-@@ -48,12 +56,11 @@
+@@ -48,12 +56,12 @@
pinctrl-0 = <&pmx_led_green &pmx_led_red>;
pinctrl-names = "default";
+ led_health: health {
label = "pogoplugv4:green:health";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
-- default-state = "on";
+ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "pogoplugv4:red:fault";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
-@@ -137,29 +144,19 @@
+@@ -137,29 +145,19 @@
#size-cells = <1>;
partition@0 {
memory {
device_type = "memory";
reg = <0x00000000 0x10000000>;
-@@ -35,12 +42,11 @@
+@@ -35,12 +42,12 @@
gpio-leds {
compatible = "gpio-leds";
label = "pogo_e02:green:health";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {
memory {
device_type = "memory";
-@@ -81,12 +88,11 @@
+@@ -81,12 +88,12 @@
&pmx_led_usb_transfer>;
pinctrl-names = "default";
label = "ib62x0:green:os";
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
- red-os {
+ led_red_os: red-os {
label = "ib62x0:red:os";
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
};
-@@ -118,13 +124,13 @@
+@@ -118,13 +125,13 @@
};
partition@100000 {
};
ocp@f1000000 {
-@@ -89,12 +94,11 @@
+@@ -89,12 +94,12 @@
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
label = "power:blue";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
- power-red {
+ led_power_red: power-red {
label = "power:red";
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
};
-@@ -146,28 +150,23 @@
+@@ -146,28 +151,23 @@
status = "okay";
partition@0 {
memory {
device_type = "memory";
reg = <0x00000000 0x8000000>;
-@@ -42,12 +49,11 @@
+@@ -42,12 +49,12 @@
pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
pinctrl-names = "default";
label = "status:green:health";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "status:orange:fault";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
-@@ -78,18 +84,22 @@
+@@ -78,18 +85,22 @@
partition@0 {
label = "u-boot";
memory {
device_type = "memory";
reg = <0x00000000 0x10000000>;
-@@ -127,16 +134,15 @@
+@@ -127,16 +134,16 @@
&pmx_led_rebuild &pmx_led_health >;
pinctrl-names = "default";
label = "status:white:power_led";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
- default-state = "keep";
++ default-state = "on";
};
rebuild_led {
label = "status:white:rebuild_led";
label = "status:red:health_led";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
-@@ -186,18 +192,18 @@
+@@ -186,18 +193,18 @@
};
partition@a0000 {
reg = <0x400000 0x1C00000>;
};
};
-@@ -211,7 +217,7 @@
+@@ -211,7 +218,7 @@
};
ð0 {
kirkwood-lsxhl.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-linksys-audi.dts
-@@ -0,0 +1,250 @@
+@@ -0,0 +1,251 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
+ led_power: power {
+ label = "audi:green:power";
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
+ };
+ };
+
serial0 = &uart0;
};
-@@ -56,7 +60,7 @@
+@@ -56,9 +60,10 @@
pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
pinctrl-names = "default";
+ led_white_health: white-health {
label = "viper:white:health";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
};
-@@ -67,9 +71,23 @@
+
+ white-pulse {
+@@ -67,9 +72,23 @@
};
};
compatible = "marvell,dsa";
#address-cells = <2>;
#size-cells = <0>;
-@@ -161,22 +179,22 @@
+@@ -161,22 +180,22 @@
};
partition@200000 {
reg = <0x1EA0000 0x1760000>;
};
-@@ -207,53 +225,6 @@
+@@ -207,53 +226,6 @@
&mdio {
status = "okay";
};
&uart0 {
-@@ -272,10 +243,14 @@
+@@ -272,10 +244,14 @@
};
/* eth1 is connected to the switch at port 6. However DSA only supports a
kirkwood-ib62x0.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-goflexhome.dts
-@@ -0,0 +1,123 @@
+@@ -0,0 +1,124 @@
+/dts-v1/;
+
+#include "kirkwood.dtsi"
+ led_health: health {
+ label = "status:green:health";
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
++ default-state = "on";
+ };
+ led_fault: fault {
+ label = "status:orange:fault";
memory {
device_type = "memory";
reg = <0x00000000 0x8000000>;
-@@ -85,12 +92,11 @@
+@@ -85,12 +92,12 @@
>;
pinctrl-names = "default";
label = "status:green:health";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "status:orange:fault";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
-@@ -159,18 +165,8 @@
+@@ -159,18 +166,8 @@
};
partition@100000 {
kirkwood-openblocks_a6.dtb \
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-nsa310b.dts
-@@ -0,0 +1,131 @@
+@@ -0,0 +1,132 @@
+/dts-v1/;
+
+#include "kirkwood-nsa3x0-common.dtsi"
+ led_green_sys: green-sys {
+ label = "nsa310:green:sys";
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
+ };
+ led_red_sys: red-sys {
+ label = "nsa310:red:sys";
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
-@@ -162,11 +169,11 @@
+@@ -162,11 +169,12 @@
&pmx_led_hdd1_green &pmx_led_hdd1_red>;
pinctrl-names = "default";
+ led_green_sys: green-sys {
label = "nsa325:green:sys";
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
++ default-state = "on";
};
- orange-sys {
+ led_orange_sys: orange-sys {
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-on100.dts
-@@ -0,0 +1,162 @@
+@@ -0,0 +1,163 @@
+/dts-v1/;
+
+#include "kirkwood.dtsi"
+ led_health_green: health_green {
+ label = "on100:green:health";
+ gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
++ default-state = "on";
+ };
+
+ led_health_red: health_red {
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
};
};
-@@ -48,12 +56,11 @@
+@@ -48,12 +56,12 @@
pinctrl-0 = <&pmx_led_green &pmx_led_red>;
pinctrl-names = "default";
+ led_health: health {
label = "pogoplugv4:green:health";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
-- default-state = "on";
+ default-state = "on";
};
- fault {
+ led_fault: fault {
label = "pogoplugv4:red:fault";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
-@@ -137,29 +144,19 @@
+@@ -137,29 +145,19 @@
#size-cells = <1>;
partition@0 {
memory {
device_type = "memory";
reg = <0x00000000 0x10000000>;
-@@ -33,12 +40,11 @@
+@@ -33,12 +40,12 @@
gpio-leds {
compatible = "gpio-leds";
label = "pogo_e02:green:health";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
- default-state = "keep";
++ default-state = "on";
};
- fault {
+ led_fault: fault {