From: Petr Štetiar Date: Sun, 16 Dec 2018 11:26:34 +0000 (+0100) Subject: treewide: dts: Remove default-state=off property from all gpio LED nodes X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=commitdiff_plain;h=0d23fd2ab29a66f5d03187db4fac3e396b4f3b62 treewide: dts: Remove default-state=off property from all gpio LED nodes >From the Documentation/devicetree/bindings/leds/common.txt: - default-state : The initial state of the LED. Valid values are "on", "off", and "keep". If the LED is already on or off and the default-state property is set the to same value, then no glitch should be produced where the LED momentarily turns off (or on). The "keep" setting will keep the LED at whatever its current state is, without producing a glitch. The default is off if this property is not present. So setting the default-state of the LEDs to `off` is redundant as `off` is default LED state anyway. We should remove it as almost every new PR/patch submission contains this property by default which seems to be just copy&paste from some DTS file already present in the tree. Signed-off-by: Petr Štetiar --- diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts index 1252192e44..4101baf64a 100644 --- a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts +++ b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts @@ -98,19 +98,16 @@ led0 { label = "wb50n:blue:led0"; gpios = <&pioA 12 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led1 { label = "wb50n:green:led1"; gpios = <&pioA 24 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led2 { label = "wb50n:red:led2"; gpios = <&pioA 26 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts index b222b10a5a..5ad8196a15 100644 --- a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts +++ b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts @@ -29,32 +29,27 @@ children { label = "wn-ag300dgr:green:children"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; eco { label = "wn-ag300dgr:green:eco"; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; notification { label = "wn-ag300dgr:amber:notification"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wlan2g { label = "wn-ag300dgr:green:wlan2g"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan5g { label = "wn-ag300dgr:green:wlan5g"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts index 847458d084..fecdf73a8c 100644 --- a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts +++ b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts @@ -33,7 +33,6 @@ diag: diag { label = "buffalo:red:diag"; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -44,13 +43,11 @@ band2g_a { label = "buffalo:amber:band2g"; gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "buffalo:green:usb"; gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&usb_ochi_port>, <&usb_echi_port>; linux,default-trigger = "usbport"; }; @@ -58,33 +55,28 @@ band2g_g { label = "buffalo:green:band2g"; gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; band5g_g { label = "buffalo:green:band5g"; gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; router { label = "buffalo:green:router"; gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; movie_engine { label = "buffalo:blue:movie_engine"; gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; band5g_a { label = "buffalo:amber:band5g"; gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts index d25fd91014..da19921973 100644 --- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts +++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts @@ -33,7 +33,6 @@ blue_usb { label = "d-link:blue:usb"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&usb_ochi_port>, <&usb_echi_port>; linux,default-trigger = "usbport"; }; @@ -47,25 +46,21 @@ blue_power: blue_power { label = "d-link:blue:power"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; blue_wps { label = "d-link:blue:wps"; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; orange_planet { label = "d-link:orange:planet"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; blue_planet { label = "d-link:blue:planet"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -75,14 +70,12 @@ wlan2g { label = "d-link:blue:wlan2g"; gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan5g { label = "d-link:blue:wlan5g"; gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi index e05e8599b3..c8ee985f3c 100644 --- a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi @@ -42,13 +42,11 @@ wps { label = "netgear:orange:wps"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; }; power_green: power_green { label = "netgear:green:power"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; power_orange: power_orange { @@ -60,13 +58,11 @@ wps_green { label = "netgear:green:wps"; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan_green { label = "netgear:green:wan"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -75,13 +71,11 @@ wlan2g { label = "netgear:green:wlan2g"; gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan5g { label = "netgear:blue:wlan5g"; gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi index a116351be9..97e2099806 100644 --- a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi +++ b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi @@ -31,7 +31,6 @@ rf: rf_green { label = "ubnt:green:rf"; gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts index a3ab92c015..31053e39b1 100644 --- a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts +++ b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts @@ -103,7 +103,6 @@ wlan { label = "whr-g301n:green:wlan"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi index 005dcac3dc..02d18f9f48 100644 --- a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi +++ b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi @@ -51,7 +51,6 @@ wlan: wlan { label = "netgear:green:wlan"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi b/target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi index 3b8f81ed5a..cf63fe3166 100644 --- a/target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi +++ b/target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi @@ -79,7 +79,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7241_tplink_tl-mr3220-v1.dts b/target/linux/ath79/dts/ar7241_tplink_tl-mr3220-v1.dts index 3445fba55b..7a16d0fadd 100644 --- a/target/linux/ath79/dts/ar7241_tplink_tl-mr3220-v1.dts +++ b/target/linux/ath79/dts/ar7241_tplink_tl-mr3220-v1.dts @@ -13,7 +13,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7241_tplink_tl-mr3420-v1.dts b/target/linux/ath79/dts/ar7241_tplink_tl-mr3420-v1.dts index 06b0264e31..7d36ed55d2 100644 --- a/target/linux/ath79/dts/ar7241_tplink_tl-mr3420-v1.dts +++ b/target/linux/ath79/dts/ar7241_tplink_tl-mr3420-v1.dts @@ -13,7 +13,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi b/target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi index 4b3b46d8c9..04403637b6 100644 --- a/target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi +++ b/target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi @@ -19,7 +19,6 @@ led3g { label = "tp-link:green:3g"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/ar7241_tplink_tl-wr841-v7.dts b/target/linux/ath79/dts/ar7241_tplink_tl-wr841-v7.dts index 1aeeab7e21..4a3fc59623 100644 --- a/target/linux/ath79/dts/ar7241_tplink_tl-wr841-v7.dts +++ b/target/linux/ath79/dts/ar7241_tplink_tl-wr841-v7.dts @@ -13,7 +13,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi index 4ef9323b6e..5165efa859 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi @@ -43,19 +43,16 @@ sec_vpn: sec_vpn { gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; diag: diag { label = "buffalo:red:diag"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "buffalo:green:usb"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts index 3e2c80e059..97bfd0f842 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts @@ -70,7 +70,6 @@ diag: diag { label = "buffalo:red:diag"; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -80,7 +79,6 @@ usb { label = "buffalo:blue:usb"; gpios = <&ath9k 4 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; @@ -88,32 +86,27 @@ wireless { label = "buffalo:green:wireless"; gpios = <&ath9k 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; security { label = "buffalo:orange:security"; gpios = <&ath9k 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; router { label = "buffalo:green:router"; gpios = <&ath9k 7 GPIO_ACTIVE_LOW>; - default-state = "off"; }; movie_engine_on { label = "buffalo:blue:movie_engine_on"; gpios = <&ath9k 8 GPIO_ACTIVE_LOW>; - default-state = "off"; }; movie_engine_off { label = "buffalo:blue:movie_engine_off"; gpios = <&ath9k 9 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts index 7daf051558..ea30a4d0d3 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts @@ -16,19 +16,16 @@ led_movie_engine { label = "buffalo:blue:movie_engine"; gpios = <&ath9k 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; router { label = "buffalo:green:router"; gpios = <&ath9k 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wireless { label = "buffalo:green:wireless"; gpios = <&ath9k 15 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts index ed483e03e8..3377850416 100644 --- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts +++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts @@ -52,13 +52,11 @@ system: wps { label = "tplink:green:wps"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "tplink:green:usb"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; @@ -70,14 +68,12 @@ wlan2g { label = "tplink:green:wlan2g"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan5g { label = "tplink:green:wlan5g"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts index bbbc1fc977..6551d0a7ff 100644 --- a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts +++ b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts @@ -52,13 +52,11 @@ qss { label = "tp-link:green:qss"; gpios = <&gpio 4 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; wlan { label = "tp-link:green:wlan"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts index 84d593a965..23eba5bb30 100644 --- a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts +++ b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts @@ -46,7 +46,6 @@ usb { label = "tp-link:green:usb"; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; @@ -65,7 +64,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts index 938edae326..93b99beb6d 100644 --- a/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts +++ b/target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts @@ -56,7 +56,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9330_glinet_ar150.dts b/target/linux/ath79/dts/ar9330_glinet_ar150.dts index 7308e87065..fbc3acdd1b 100644 --- a/target/linux/ath79/dts/ar9330_glinet_ar150.dts +++ b/target/linux/ath79/dts/ar9330_glinet_ar150.dts @@ -23,20 +23,17 @@ wlan: wlan { label = "gl-ar150:orange:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; lan { label = "gl-ar150:green:lan"; gpios = <&gpio 13 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; wan { label = "gl-ar150:green:wan"; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9330_pqi_air-pen.dts b/target/linux/ath79/dts/ar9330_pqi_air-pen.dts index 97c97abd0c..06f728b267 100644 --- a/target/linux/ath79/dts/ar9330_pqi_air-pen.dts +++ b/target/linux/ath79/dts/ar9330_pqi_air-pen.dts @@ -23,14 +23,12 @@ wlan: wlan { label = "air-pen:blue:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wps { label = "air-pen:blue:wps"; gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts b/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts index 4159cb2fb0..971c927053 100644 --- a/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts +++ b/target/linux/ath79/dts/ar9331_dptechnics_dpt-module.dts @@ -20,7 +20,6 @@ system { label = "dpt-module:green:system"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9331_dragino_ms14.dts b/target/linux/ath79/dts/ar9331_dragino_ms14.dts index 963e9f6e19..713fe4103a 100644 --- a/target/linux/ath79/dts/ar9331_dragino_ms14.dts +++ b/target/linux/ath79/dts/ar9331_dragino_ms14.dts @@ -20,25 +20,21 @@ wlan { label = "dragino2:red:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; lan { label = "dragino2:red:lan"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan { label = "dragino2:red:wan"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; }; system { label = "dragino2:red:system"; gpios = <&gpio 28 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts index e1a20e8299..43bec35fa2 100644 --- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts +++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts @@ -24,7 +24,6 @@ status: status { label = "dorin:green:status"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts b/target/linux/ath79/dts/ar9331_etactica_eg200.dts index 2ea900eb8d..d566647a05 100644 --- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts +++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts @@ -30,25 +30,21 @@ modbus { label = "eg200:red:modbus"; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; etactica { label = "eg200:red:etactica"; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; eth0 { label = "eg200:red:eth0"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wlan { label = "eg200:red:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9331_onion_omega.dts b/target/linux/ath79/dts/ar9331_onion_omega.dts index a93c7d7485..5d0fe33eef 100644 --- a/target/linux/ath79/dts/ar9331_onion_omega.dts +++ b/target/linux/ath79/dts/ar9331_onion_omega.dts @@ -20,7 +20,6 @@ system { label = "onion:amber:system"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts index 8bd302391d..9182374235 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts @@ -24,26 +24,22 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; lan { label = "tp-link:green:lan"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; }; system: wps { label = "tp-link:green:wps"; gpios = <&gpio 26 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led3g { label = "tp-link:green:3g"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts index 5e1dac40b5..fe15157f8b 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts @@ -21,20 +21,17 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 26 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; led_lan: lan { label = "tp-link:green:lan"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led3g { label = "tp-link:green:3g"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi index e1b8ea863a..abaaca8755 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi +++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi @@ -80,7 +80,6 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts index 5258cbd635..9a0b084a72 100644 --- a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts +++ b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts @@ -52,38 +52,32 @@ wlan2g { label = "pcs:blue:wlan"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wan { label = "pcs:blue:wan"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan1 { label = "pcs:blue:lan1"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan2 { label = "pcs:blue:lan2"; gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan3 { label = "pcs:blue:lan3"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan4 { label = "pcs:blue:lan4"; gpios = <&gpio 22 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts index f9105fb0b6..c7a251cbf1 100644 --- a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts +++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts @@ -52,50 +52,42 @@ wlan { label = "tp-link:green:wlan"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; qss { label = "tp-link:green:qss"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan { label = "tp-link:green:wan"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan1 { label = "tp-link:green:lan1"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan2 { label = "tp-link:green:lan2"; gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan3 { label = "tp-link:green:lan3"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan4 { label = "tp-link:green:lan4"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "tp-link:green:usb"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts b/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts index f857a8eae1..9fce43fd4f 100644 --- a/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts +++ b/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts @@ -29,7 +29,6 @@ notification { label = "etg3-r:green:notification"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts index eb7219b6f9..0875c319b9 100644 --- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts +++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts @@ -33,7 +33,6 @@ wlan2g { label = "raccoon:yellow:wlan24"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; @@ -49,7 +48,6 @@ wlan5g { label = "raccoon:red:wlan5"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9344_pcs_cap324.dts b/target/linux/ath79/dts/ar9344_pcs_cap324.dts index e29589cad2..7a211e9088 100644 --- a/target/linux/ath79/dts/ar9344_pcs_cap324.dts +++ b/target/linux/ath79/dts/ar9344_pcs_cap324.dts @@ -39,7 +39,6 @@ status: power_amber { label = "pcs:amber:power"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; running: power_green { @@ -51,27 +50,23 @@ wlan_amber { label = "pcs:amber:wlan"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; wlan_green { label = "pcs:green:wlan"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; lan_amber { label = "pcs:lan:amber"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan_green { label = "pcs:lan:green"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts index 8eec1781e2..0b4a0ea374 100644 --- a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts +++ b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts @@ -53,14 +53,12 @@ wlan2g { label = "pcs:blue:wlan"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wps_white { label = "pcs:white:wps"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi index 07de5f32c9..6be197c0cf 100644 --- a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi @@ -19,7 +19,6 @@ usb1 { label = "tp-link:green:usb1"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port1>; linux,default-trigger = "usbport"; }; @@ -27,7 +26,6 @@ usb2 { label = "tp-link:green:usb2"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port2>; linux,default-trigger = "usbport"; }; @@ -35,7 +33,6 @@ wlan2g { label = "tp-link:green:wlan2g"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; @@ -48,7 +45,6 @@ qss { label = "tp-link:green:qss"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -58,7 +54,6 @@ wlan5g { label = "tp-link:green:wlan5g"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts index 6a8ad70651..6895a22e12 100644 --- a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts +++ b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts @@ -41,14 +41,12 @@ wlan2g { label = "wb2000:green:2g"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; usb { label = "wb2000:green:usb"; gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; - default-state = "off"; trigger-sources = <&hub_port1>, <&hub_port2>; linux,default-trigger = "usbport"; }; @@ -77,7 +75,6 @@ wlan { label = "wb2000:green:5g"; gpios = <&ath9k 6 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts index b15b7508b5..f8a511933c 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts @@ -48,13 +48,11 @@ wan { label = "gl-x750:green:wan"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; 4g { label = "gl-x750:green:4g"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts index d73eae425d..e451b7d67d 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts @@ -22,12 +22,10 @@ system_led: system { label = "tp-link:green:system"; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan_orange { label = "tp-link:orange:wan"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi index 51b95825d8..34f242ac56 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi @@ -17,44 +17,37 @@ wifi { label = "tp-link:green:wlan"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; qss_led: qss { label = "tp-link:green:qss"; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan { label = "tp-link:green:wan"; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan1 { label = "tp-link:green:lan1"; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan2 { label = "tp-link:green:lan2"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan3 { label = "tp-link:green:lan3"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan4 { label = "tp-link:green:lan4"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts index 6a3a5da6d6..26d969b592 100644 --- a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts +++ b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts @@ -33,19 +33,16 @@ diag { label = "bhr-4grv2:orange:diag"; gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - default-state = "off"; }; vpn_orange { label = "bhr-4grv2:orange:vpn"; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; vpn_green { label = "bhr-4grv2:green:vpn"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi index 35bc6d26b1..22a23f97ae 100644 --- a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi +++ b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi @@ -30,33 +30,28 @@ copy { label = "iodata:green:copy"; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; eco { label = "iodata:green:eco"; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wlan5g { label = "iodata:green:wlan5g"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan2g { label = "iodata:green:wlan2g"; gpios = <&gpio 22 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; notification { label = "iodata:amber:notification"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts index d87ddc48ae..2c150971db 100644 --- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts +++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts @@ -34,20 +34,17 @@ label = "koala:yellow:wlan2"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; - default-state = "off"; }; wifi5 { label = "koala:red:wlan58"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; - default-state = "off"; }; system: system { label = "koala:blue:sys"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts index b3920dda02..1e3cf40f71 100644 --- a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts +++ b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts @@ -23,25 +23,21 @@ power { label = "om5pac:blue:power"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wifi_green { label = "om5pac:green:wifi"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wifi_yellow { label = "om5pac:yellow:wifi"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wifi_red { label = "om5pac:red:wifi"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts b/target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts index 6765ea683b..7334a6e7ee 100644 --- a/target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts +++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts @@ -24,7 +24,6 @@ wlan5g { label = "tp-link:green:wlan5g"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts b/target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts index f6e4604601..f168a17796 100644 --- a/target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts +++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts @@ -24,7 +24,6 @@ wlan5g { label = "tp-link:green:wlan5g"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi index 1d6e9a0952..343d318e0b 100644 --- a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi @@ -30,7 +30,6 @@ usb1 { label = "tp-link:green:usb1"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port1>; linux,default-trigger = "usbport"; }; @@ -38,7 +37,6 @@ usb2 { label = "tp-link:green:usb2"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; @@ -46,14 +44,12 @@ led_wlan2g: wlan2g { label = "tp-link:green:wlan2g"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; qss { label = "tp-link:green:qss"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts index 6f43dd433c..3cc2d790d4 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts @@ -33,7 +33,6 @@ usb1 { label = "tp-link:green:usb1"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port1>; linux,default-trigger = "usbport"; }; @@ -41,7 +40,6 @@ usb2 { label = "tp-link:green:usb2"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; @@ -49,14 +47,12 @@ wlan2g { label = "tp-link:blue:wlan2g"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; qss { label = "tp-link:blue:qss"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; @@ -66,7 +62,6 @@ wlan5g { label = "tp-link:blue:wlan5g"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi index a90373e194..61d4aec624 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi @@ -30,7 +30,6 @@ usb { label = "tp-link:green:usb"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; @@ -38,14 +37,12 @@ wifi_green { label = "tp-link:green:wlan"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wifi_wps { label = "tp-link:green:wps"; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index 3310a3423b..9d548353ef 100644 --- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts +++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts @@ -61,31 +61,26 @@ label = "fritz4020:green:wlan"; gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; - default-state = "off"; }; lan { label = "fritz4020:green:lan"; gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan { label = "fritz4020:green:wan"; gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; info { label = "fritz4020:green:info"; gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; info_red: info_red { label = "fritz4020:red:info"; gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts index 0e122b4ddc..59a81e4976 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts @@ -30,38 +30,32 @@ label = "tp-link:green:wlan2g"; gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; - default-state = "off"; }; wlan5g { label = "tp-link:green:wlan5g"; gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; - default-state = "off"; }; wan_green { label = "tp-link:green:wan"; gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan_amber { label = "tp-link:amber:wan"; gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan { label = "tp-link:green:lan"; gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wps { label = "tp-link:green:wps"; gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; }; diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts index 64778df495..5470d9e49c 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts @@ -30,44 +30,37 @@ label = "tp-link:green:wlan2g"; gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; - default-state = "off"; }; wlan5g { label = "tp-link:green:wlan5g"; gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; - default-state = "off"; }; wan_green { label = "tp-link:green:wan"; gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan_amber { label = "tp-link:amber:wan"; gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan { label = "tp-link:green:lan"; gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wps { label = "tp-link:green:wps"; gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "tp-link:green:usb"; gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "usbport"; trigger-sources = <&hub_port>; }; diff --git a/target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts b/target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts index 34c48c6285..bb1f350150 100644 --- a/target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts +++ b/target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts @@ -33,14 +33,12 @@ wlan2g { label = "wrc-300ghbk2-i:white:wlan2g"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wps { label = "wrc-300ghbk2-i:red:wps"; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts index 011bad064e..d819a76fd2 100644 --- a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts +++ b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts @@ -27,19 +27,16 @@ status_blue { label = "phicomm:blue:status"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; - default-state = "off"; }; status_red: status_red { label = "phicomm:red:status"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; status_yellow { label = "phicomm:yellow:status"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts b/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts index dbb909f243..ad55a55e56 100644 --- a/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts +++ b/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts @@ -33,39 +33,33 @@ wlan2g { label = "tp-link:blue:wlan2g"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; wlan5g { label = "tp-link:blue:wlan5g"; gpios = <&gpio 5 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; lan_link { label = "tp-link:green:lan_link"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan_data { label = "tp-link:green:lan_data"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wps_blue { label = "tp-link:blue:wps"; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; wps_red { label = "tp-link:red:wps"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi index cd2104fb48..fc23ee1dd8 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi @@ -30,50 +30,42 @@ wifi_green { label = "tp-link:green:wlan"; gpios = <&gpio 19 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wifi_wps { label = "tp-link:green:wps"; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan { label = "tp-link:green:wan"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - default-state = "off"; }; wan_fail { label = "tp-link:orange:wan"; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan1 { label = "tp-link:green:lan1"; gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan2 { label = "tp-link:green:lan2"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan3 { label = "tp-link:green:lan3"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - default-state = "off"; }; lan4 { label = "tp-link:green:lan4"; gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts index ec10f085dd..5a4c4e588e 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts @@ -15,7 +15,6 @@ usb { label = "tp-link:green:usb"; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi index 9265cbdb1e..ca216a25a1 100644 --- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi @@ -16,14 +16,12 @@ wifi_ac { label = "ubnt:white:dome"; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wifi_n { label = "ubnt:blue:dome"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy1tpt"; }; diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts index c7a3084d76..58e13da7b7 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts @@ -110,13 +110,11 @@ status: rss4 { label = "wpj428:green:rss4"; gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; rss3 { label = "wpj428:green:rss3"; gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts index 4821a66b0d..86f3b47c6b 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts @@ -42,63 +42,51 @@ GPON { label = "easy88388:green:gpon"; gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; TEST { label = "easy88388:green:test"; gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; STATUS { label = "easy88388:green:status"; gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; ERROR { label = "easy88388:red:error"; gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL1 { label = "easy88388:dsl:1"; gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL2 { label = "easy88388:dsl:2"; gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL3 { label = "easy88388:dsl:3"; gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL4 { label = "easy88388:dsl:4"; gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL5 { label = "easy88388:dsl:5"; gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL6 { label = "easy88388:dsl:6"; gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL7 { label = "easy88388:dsl:7"; gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; DSL8 { label = "easy88388:dsl:8"; gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts index 0ac74b3309..e1a934fc47 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts @@ -41,38 +41,31 @@ GPON { label = "easy88444:green:gpon"; gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; TEST { label = "easy88444:green:test"; gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; STATUS { label = "easy88444:green:status"; gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GFAST1 { label = "easy88444:gfast:1"; gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GFAST2 { label = "easy88444:gfast:2"; gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GFAST3 { label = "easy88444:gfast:3"; gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GFAST4 { label = "easy88444:gfast:4"; gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts index c0970ef48c..b66786a2ce 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts @@ -74,22 +74,18 @@ GE0_ACT { label = "easy98020:ge0_act"; gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GE0_LINK { label = "easy98020:ge0_link"; gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GE1_ACT { label = "easy98020:ge1_act"; gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; GE1_LINK { label = "easy98020:ge1_link"; gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; }; diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts index a809546fab..e8f71ae160 100644 --- a/target/linux/ramips/dts/DCH-M225.dts +++ b/target/linux/ramips/dts/DCH-M225.dts @@ -45,7 +45,6 @@ status { label = "dch-m225:red:status"; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts index cb03520ff2..fbced8d139 100644 --- a/target/linux/ramips/dts/DIR-615-D.dts +++ b/target/linux/ramips/dts/DIR-615-D.dts @@ -76,7 +76,6 @@ status { label = "dir-615-d:amber:status"; gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led_status_green: status2 { diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index 47ea183e6a..c81978b7de 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -22,7 +22,6 @@ status { label = "dir-615-h1:amber:status"; gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; led_status_green: status2 { diff --git a/target/linux/ramips/dts/EX3700.dts b/target/linux/ramips/dts/EX3700.dts index 939beed529..0232ab4412 100644 --- a/target/linux/ramips/dts/EX3700.dts +++ b/target/linux/ramips/dts/EX3700.dts @@ -34,7 +34,6 @@ power_a { label = "ex3700:amber:power"; gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; - default-state = "off"; }; router_g { diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts index ed9fbdaa6e..e9f9c9663d 100644 --- a/target/linux/ramips/dts/MIWIFI-MINI.dts +++ b/target/linux/ramips/dts/MIWIFI-MINI.dts @@ -32,13 +32,11 @@ yellow { label = "miwifi-mini:yellow:status"; gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; - default-state = "off"; }; red { label = "miwifi-mini:red:status"; gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; - default-state = "off"; }; }; diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts index 258af82364..37383fd3d8 100644 --- a/target/linux/ramips/dts/Newifi-D1.dts +++ b/target/linux/ramips/dts/Newifi-D1.dts @@ -31,13 +31,11 @@ status-red { label = "newifi-d1:red:status"; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; - default-state = "off"; }; status-green { label = "newifi-d1:green:status"; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; - default-state = "off"; }; led_blue: status-blue { diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts index 8ea77d3f8a..5fe72bbc39 100644 --- a/target/linux/ramips/dts/PBR-D1.dts +++ b/target/linux/ramips/dts/PBR-D1.dts @@ -37,7 +37,6 @@ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; - default-state = "off"; }; led_power: power { diff --git a/target/linux/ramips/dts/PSG1218A.dts b/target/linux/ramips/dts/PSG1218A.dts index 57c032f38a..767070dbb5 100644 --- a/target/linux/ramips/dts/PSG1218A.dts +++ b/target/linux/ramips/dts/PSG1218A.dts @@ -24,13 +24,11 @@ yellow { label = "psg1218a:yellow:status"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; - default-state = "off"; }; red { label = "psg1218a:red:status"; gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; }; diff --git a/target/linux/ramips/dts/PSG1218B.dts b/target/linux/ramips/dts/PSG1218B.dts index 8b6b8c0372..8f735a7d9a 100644 --- a/target/linux/ramips/dts/PSG1218B.dts +++ b/target/linux/ramips/dts/PSG1218B.dts @@ -24,13 +24,11 @@ yellow { label = "psg1218b:yellow:status"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; - default-state = "off"; }; red { label = "psg1218b:red:status"; gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; - default-state = "off"; }; }; };