diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-01 21:24:35 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-07 01:31:45 +0200 |
commit | d181b2cefa5881d270e0e4cf9f42d1feaf2f7222 (patch) | |
tree | a195c776bd98d2fa567c2a94e739c41b5acd66d3 /target/linux/ipq806x/files-4.19 | |
parent | ad90a42e48756e2de27a1ebad942fd18e9411713 (diff) | |
download | upstream-d181b2cefa5881d270e0e4cf9f42d1feaf2f7222.tar.gz upstream-d181b2cefa5881d270e0e4cf9f42d1feaf2f7222.tar.bz2 upstream-d181b2cefa5881d270e0e4cf9f42d1feaf2f7222.zip |
ipq806x: remove model name from LED labels
Like in the previous patches for ath79 and ramips, this will remove
the "devicename" from LED labels in ipq806x.
The devicename is removed in DTS files and 01_leds, and a migration
script is added.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x/files-4.19')
11 files changed, 90 insertions, 90 deletions
diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-c2600.dts index d90518bf22..027500f038 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-c2600.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-c2600.dts @@ -432,43 +432,43 @@ pinctrl-names = "default"; lan { - label = "c2600:white:lan"; + label = "white:lan"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>; }; usb4 { - label = "c2600:white:usb_4"; + label = "white:usb_4"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb2 { - label = "c2600:white:usb_2"; + label = "white:usb_2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; wps { - label = "c2600:white:wps"; + label = "white:wps"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; wan_amber { - label = "c2600:amber:wan"; + label = "amber:wan"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>; }; wan_white { - label = "c2600:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>; }; power: power { - label = "c2600:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; general: general { - label = "c2600:white:general"; + label = "white:general"; gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts index 241c00962a..ba4bb9022d 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts @@ -344,48 +344,48 @@ pinctrl-names = "default"; usb1 { - label = "d7800:white:usb1"; + label = "white:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb2 { - label = "d7800:white:usb2"; + label = "white:usb2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; power_amber: power_amber { - label = "d7800:amber:power"; + label = "amber:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; wan_white { - label = "d7800:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; wan_amber { - label = "d7800:amber:wan"; + label = "amber:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; wps { - label = "d7800:white:wps"; + label = "white:wps"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; esata { - label = "d7800:white:esata"; + label = "white:esata"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; power_white: power_white { - label = "d7800:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; wifi { - label = "d7800:white:wifi"; + label = "white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts index fc4d64453f..1b8ab36c4f 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts @@ -370,18 +370,18 @@ pinctrl-names = "default"; wps { - label = "ea8500:green:wps"; + label = "green:wps"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; }; power: power { - label = "ea8500:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>; default-state = "keep"; }; wifi { - label = "ea8500:green:wifi"; + label = "green:wifi"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500.dts index dd596f52b4..1d6be1288a 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500.dts @@ -309,48 +309,48 @@ pinctrl-names = "default"; usb1 { - label = "r7500:white:usb1"; + label = "white:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb2 { - label = "r7500:white:usb2"; + label = "white:usb2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; power_amber: power_amber { - label = "r7500:amber:power"; + label = "amber:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; wan_white { - label = "r7500:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; wan_amber { - label = "r7500:amber:wan"; + label = "amber:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; wps { - label = "r7500:white:wps"; + label = "white:wps"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; esata { - label = "r7500:white:esata"; + label = "white:esata"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; power_white: power_white { - label = "r7500:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; wifi { - label = "r7500:white:wifi"; + label = "white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts index 463c0abb40..e9d183a8eb 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts @@ -343,48 +343,48 @@ pinctrl-names = "default"; usb1 { - label = "r7500v2:amber:usb1"; + label = "amber:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb3 { - label = "r7500v2:amber:usb3"; + label = "amber:usb3"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; status { - label = "r7500v2:amber:status"; + label = "amber:status"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; internet { - label = "r7500v2:white:internet"; + label = "white:internet"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; wan { - label = "r7500v2:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; wps { - label = "r7500v2:white:wps"; + label = "white:wps"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; esata { - label = "r7500v2:white:esata"; + label = "white:esata"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; power: power { - label = "r7500v2:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; wifi { - label = "r7500v2:white:wifi"; + label = "white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts index bdcd302802..8c171bc2e3 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts @@ -350,48 +350,48 @@ pinctrl-names = "default"; dsl { - label = "vr2600v:white:dsl"; + label = "white:dsl"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb { - label = "vr2600v:white:usb"; + label = "white:usb"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; lan { - label = "vr2600v:white:lan"; + label = "white:lan"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; wlan2g { - label = "vr2600v:white:wlan2g"; + label = "white:wlan2g"; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>; }; wlan5g { - label = "vr2600v:white:wlan5g"; + label = "white:wlan5g"; gpios = <&qcom_pinmux 17 GPIO_ACTIVE_HIGH>; }; power: power { - label = "vr2600v:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; phone { - label = "vr2600v:white:phone"; + label = "white:phone"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; }; wan { - label = "vr2600v:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>; }; general: general { - label = "vr2600v:white:general"; + label = "white:general"; gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts index 6667b1f473..58b5296878 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts @@ -101,62 +101,62 @@ pinctrl-names = "default"; converter_green { - label = "wg2600hp:green:converter"; + label = "green:converter"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>; }; power_red: power_red { - label = "wg2600hp:red:power"; + label = "red:power"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; active_green { - label = "wg2600hp:green:active"; + label = "green:active"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; active_red { - label = "wg2600hp:red:active"; + label = "red:active"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; power_green: power_green { - label = "wg2600hp:green:power"; + label = "green:power"; gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>; }; converter_red { - label = "wg2600hp:red:converter"; + label = "red:converter"; gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>; }; wlan2g_green { - label = "wg2600hp:green:wlan2g"; + label = "green:wlan2g"; gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>; }; wlan2g_red { - label = "wg2600hp:red:wlan2g"; + label = "red:wlan2g"; gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>; }; wlan5g_green { - label = "wg2600hp:green:wlan5g"; + label = "green:wlan5g"; gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>; }; wlan5g_red { - label = "wg2600hp:red:wlan5g"; + label = "red:wlan5g"; gpios = <&qcom_pinmux 58 GPIO_ACTIVE_HIGH>; }; tv_green { - label = "wg2600hp:green:tv"; + label = "green:tv"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; tv_red { - label = "wg2600hp:red:tv"; + label = "red:tv"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts index a1e7791d12..0347cac430 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts @@ -254,43 +254,43 @@ pinctrl-names = "default"; rss4 { - label = "wpq864:green:rss4"; + label = "green:rss4"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; rss3 { - label = "wpq864:green:rss3"; + label = "green:rss3"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; rss2 { - label = "wpq864:orange:rss2"; + label = "orange:rss2"; gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>; }; rss1 { - label = "wpq864:red:rss1"; + label = "red:rss1"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; led_pass: pass { - label = "wpq864:green:pass"; + label = "green:pass"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; }; led_fail: fail { - label = "wpq864:green:fail"; + label = "green:fail"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; usb { - label = "wpq864:green:usb"; + label = "green:usb"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb-pcie { - label = "wpq864:green:usb-pcie"; + label = "green:usb-pcie"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts index b4770102e2..874e54b4a1 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts @@ -108,54 +108,54 @@ pinctrl-names = "default"; usb { - label = "wxr-2533dhp:green:usb"; + label = "green:usb"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; linux,default-trigger = "usbport"; trigger-sources = <&hub_port0 &hub_port1>; }; guestport { - label = "wxr-2533dhp:green:guestport"; + label = "green:guestport"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; diag: diag { - label = "wxr-2533dhp:orange:diag"; + label = "orange:diag"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; internet_orange { - label = "wxr-2533dhp:orange:internet"; + label = "orange:internet"; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>; }; internet_white { - label = "wxr-2533dhp:white:internet"; + label = "white:internet"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; wireless_orange { - label = "wxr-2533dhp:orange:wireless"; + label = "orange:wireless"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; wireless_white { - label = "wxr-2533dhp:white:wireless"; + label = "white:wireless"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; router_orange { - label = "wxr-2533dhp:orange:router"; + label = "orange:router"; gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>; }; router_white { - label = "wxr-2533dhp:white:router"; + label = "white:router"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>; }; power: power { - label = "wxr-2533dhp:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts index 378ea775b5..2cff2f65bc 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts @@ -340,25 +340,25 @@ pinctrl-names = "default"; internet { - label = "nbg6817:white:internet"; + label = "white:internet"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; power: power { - label = "nbg6817:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; wifi2g { - label = "nbg6817:amber:wifi2g"; + label = "amber:wifi2g"; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>; }; /* wifi2g amber from the manual is missing */ wifi5g { - label = "nbg6817:amber:wifi5g"; + label = "amber:wifi5g"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts index f93039f727..50ffcdab07 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts @@ -479,48 +479,48 @@ pinctrl-names = "default"; power_white: power_white { - label = "r7800:white:power"; + label = "white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; power_amber: power_amber { - label = "r7800:amber:power"; + label = "amber:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; wan_white { - label = "r7800:white:wan"; + label = "white:wan"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; wan_amber { - label = "r7800:amber:wan"; + label = "amber:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; usb1 { - label = "r7800:white:usb1"; + label = "white:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; usb2 { - label = "r7800:white:usb2"; + label = "white:usb2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; esata { - label = "r7800:white:esata"; + label = "white:esata"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; wifi { - label = "r7800:white:wifi"; + label = "white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; wps { - label = "r7800:white:wps"; + label = "white:wps"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; }; |