aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:54 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:54 +0000
commit00431250ef967a6e2b6fcc24457b0919f96b5c0d (patch)
treec1662f52a6aaff6455d29d038e1bc1be01eb6faa
parent1351936e19016ff3d93fc1fd8e8e0201a4d07c2e (diff)
downloadmaster-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.tar.gz
master-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.tar.bz2
master-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.zip
lantiq: use devicename:colour:function led naming scheme
The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/01_leds8
-rw-r--r--target/linux/lantiq/dts/ARV4519PW.dts50
-rw-r--r--target/linux/lantiq/dts/ARV4520PW.dts42
-rw-r--r--target/linux/lantiq/dts/ARV4525PW.dts10
-rw-r--r--target/linux/lantiq/dts/ARV452CQW.dts48
-rw-r--r--target/linux/lantiq/dts/ARV7518PW.dts44
-rw-r--r--target/linux/lantiq/dts/ARV7519PW.dts2
-rw-r--r--target/linux/lantiq/dts/ARV7519RW22.dts14
-rw-r--r--target/linux/lantiq/dts/ARV7525PW.dts24
-rw-r--r--target/linux/lantiq/dts/ARV752DPW.dts38
-rw-r--r--target/linux/lantiq/dts/ARV752DPW22.dts46
-rw-r--r--target/linux/lantiq/dts/ARV8539PW22.dts13
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV2B.dts22
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV3A.dts18
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV5A.dts18
-rw-r--r--target/linux/lantiq/dts/DGN1000B.dts17
-rw-r--r--target/linux/lantiq/dts/DGN3500.dtsi20
-rw-r--r--target/linux/lantiq/dts/EASY80920.dtsi18
-rw-r--r--target/linux/lantiq/dts/FRITZ3370.dts14
-rw-r--r--target/linux/lantiq/dts/FRITZ7320.dts18
-rw-r--r--target/linux/lantiq/dts/GR7000.dts14
-rw-r--r--target/linux/lantiq/dts/H201L.dts14
-rw-r--r--target/linux/lantiq/dts/P2601HNFX.dts28
-rw-r--r--target/linux/lantiq/dts/P2812HNUFX.dtsi64
-rw-r--r--target/linux/lantiq/dts/TDW8980.dts2
-rw-r--r--target/linux/lantiq/dts/TDW89X0.dtsi14
-rw-r--r--target/linux/lantiq/dts/VG3503J.dtsi16
-rw-r--r--target/linux/lantiq/dts/VGV7510KW22.dtsi30
-rw-r--r--target/linux/lantiq/dts/VGV7519.dtsi70
-rw-r--r--target/linux/lantiq/dts/WBMR.dts32
30 files changed, 396 insertions, 372 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds
index ac9e14ec57..39b693ac19 100755
--- a/target/linux/lantiq/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/base-files/etc/board.d/01_leds
@@ -31,16 +31,16 @@ BTHOMEHUBV5A)
ucidef_set_led_default "dimmed" "dimmed" "dimmed" "0"
;;
VGV7510KW22)
- ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0radio"
+ ucidef_set_led_wlan "wifi" "wifi" "vgv7510kw22:green:wlan" "phy0radio"
;;
VGV7519)
- ucidef_set_led_wlan "wifi" "wifi" "wireless_yellow" "phy0radio"
+ ucidef_set_led_wlan "wifi" "wifi" "vgv7519:green:wireless" "phy0radio"
;;
P2812HNUF*)
- ucidef_set_led_wlan "wifi" "wifi" "wireless_green" "phy0radio"
+ ucidef_set_led_wlan "wifi" "wifi" "p2812hnufx:green:wlan" "phy0radio"
;;
ARV7519RW22)
- ucidef_set_led_netdev "lan" "lan" "lan" "eth0.1"
+ ucidef_set_led_netdev "lan" "lan" "arv7519rw22:green:lan" "eth0.1"
;;
*)
;;
diff --git a/target/linux/lantiq/dts/ARV4519PW.dts b/target/linux/lantiq/dts/ARV4519PW.dts
index be65337093..5e0b8464b4 100644
--- a/target/linux/lantiq/dts/ARV4519PW.dts
+++ b/target/linux/lantiq/dts/ARV4519PW.dts
@@ -3,18 +3,18 @@
/include/ "danube.dtsi"
/ {
- model = "ARV4519PW - Vodafone, Pirelli";
+ model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
- internet = &online;
+ internet = &internet_green;
usb = &usb;
wifi = &wifi;
};
@@ -129,61 +129,61 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "arv4519pw:green:power";
gpios = <&gpio 2 1>;
default-state = "keep";
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "arv4519pw:red:power";
gpios = <&gpio 7 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv4519pw:green:wlan";
gpios = <&gpio 6 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "arv4519pw:green:dsl";
gpios = <&gpio 4 1>;
};
- online: online {
- label = "online";
+ internet_green: online {
+ label = "arv4519pw:green:internet";
gpios = <&gpio 5 1>;
};
online2 {
- label = "online2";
+ label = "arv4519pw:red:internet";
gpios = <&gpio 8 1>;
};
usb: usb {
- label = "usb";
+ label = "arv4519pw:green:usb";
gpios = <&gpio 19 1>;
};
voip {
- label = "voip";
+ label = "arv4519pw:green:voip";
gpios = <&gpiomm 0 1>;
};
fxs1 {
- label = "fxs1";
+ label = "arv4519pw:green:phone1";
gpios = <&gpiomm 1 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv4519pw:green:phone2";
gpios = <&gpiomm 2 1>;
};
fxo {
- label = "fxo";
+ label = "arv4519pw:green:line";
gpios = <&gpiomm 3 1>;
};
- wps {
- label = "wps";
- gpios = <&gpiomm 5 1>;
- };
wps2 {
- label = "wps2";
+ label = "arv4519pw:green:wps";
gpios = <&gpiomm 4 1>;
};
+ wps {
+ label = "arv4519pw:orange:wps";
+ gpios = <&gpiomm 5 1>;
+ };
wps3 {
- label = "wps3";
+ label = "arv4519pw:red:wps";
gpios = <&gpiomm 6 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts
index d97009cc53..75665b91ee 100644
--- a/target/linux/lantiq/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/dts/ARV4520PW.dts
@@ -13,8 +13,8 @@
failsafe = &power_red;
running = &power_blue;
- dsl = &adsl;
- internet = &internet;
+ dsl = &dsl;
+ internet = &internet_blue;
usb = &usb;
wifi = &wifi;
};
@@ -152,61 +152,67 @@
compatible = "gpio-leds";
power_blue: power {
- label = "power";
+ label = "arv4520pw:blue:power";
gpios = <&gpio 3 1>;
default-state = "keep";
};
- adsl: adsl {
- label = "adsl";
+ dsl: dsl {
+ label = "arv4520pw:blue:dsl";
gpios = <&gpio 4 1>;
};
- internet: internet {
- label = "internet";
+ internet_blue: internet {
+ label = "arv4520pw:blue:internet";
gpios = <&gpio 5 1>;
};
power_red: power2 {
- label = "power2";
+ label = "arv4520pw:red:power";
gpios = <&gpio 6 1>;
};
wps {
- label = "wps";
+ label = "arv4520pw:yellow:wps";
gpios = <&gpio 7 1>;
};
wps2 {
- label = "wps2";
+ label = "arv4520pw:red:wps";
gpios = <&gpio 9 1>;
};
+ /*
+ wps green is missing
+ */
fxs1 {
- label = "fxs1";
+ label = "arv4520pw:blue:telefon1";
gpios = <&gpiomm 0 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv4520pw:blue:telefon2";
gpios = <&gpiomm 1 1>;
};
isdn {
- label = "isdn";
+ label = "arv4520pw:blue:isdn";
gpios = <&gpiomm 2 1>;
};
fxo {
- label = "fxo";
+ label = "arv4520pw:blue:line";
gpios = <&gpiomm 3 1>;
};
voice {
- label = "voice";
+ label = "arv4520pw:blue:sprache";
gpios = <&gpiomm 4 1>;
};
usb: usb {
- label = "usb";
+ label = "arv4520pw:blue:usb";
gpios = <&gpiomm 5 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv4520pw:blue:wifi";
gpios = <&gpiomm 6 1>;
};
internet2 {
- label = "internet2";
+ label = "arv4520pw:red:internet";
gpios = <&gpiomm 9 1>;
};
+ /*
+ info is missing
+ */
};
};
diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts
index 2fe3425f13..92e675890e 100644
--- a/target/linux/lantiq/dts/ARV4525PW.dts
+++ b/target/linux/lantiq/dts/ARV4525PW.dts
@@ -141,23 +141,23 @@
gpio-leds {
compatible = "gpio-leds";
fxo {
- label = "fxo";
+ label = "arv4525pw:green:festnetz";
gpios = <&gpio 4 1>;
};
fxs {
- label = "fxs";
+ label = "arv4525pw:green:internet";
gpios = <&gpio 5 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "arv4525pw:green:t-dsl";
gpios = <&gpio 6 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv4525pw:green:wlan";
gpios = <&gpio 8 1>;
};
online: online {
- label = "online";
+ label = "arv4525pw:green:online";
gpios = <&gpio 9 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts
index 1905a08654..78f00d653f 100644
--- a/target/linux/lantiq/dts/ARV452CQW.dts
+++ b/target/linux/lantiq/dts/ARV452CQW.dts
@@ -9,11 +9,11 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power0;
- failsafe = &power1;
- running = &power0;
+ boot = &power_blue;
+ failsafe = &power_red;
+ running = &power_blue;
- internet = &dsl;
+ internet = &dsl_blue;
usb = &usb;
wifi = &wifi;
};
@@ -165,65 +165,69 @@
gpio-leds {
compatible = "gpio-leds";
- power0: power0 {
- label = "power0";
+ power_blue: power0 {
+ label = "arv452cqw:blue:power";
gpios = <&gpio 3 1>;
default-state = "keep";
};
- dsl: dsl {
- label = "dsl";
+ dsl_blue: dsl {
+ label = "arv452cqw:blue:dsl";
gpios = <&gpio 4 1>;
};
isdn {
- label = "isdn";
+ label = "arv452cqw:blue:isdn";
gpios = <&gpio 5 1>;
};
- power1: power1 {
- label = "power1";
+ power_red: power1 {
+ label = "arv452cqw:red:power";
gpios = <&gpio 6 1>;
};
wps {
- label = "wps";
+ label = "arv452cqw:blue:wps";
gpios = <&gpio 7 1>;
};
wps1 {
- label = "wps1";
+ label = "arv452cqw:yellow:wps";
gpios = <&gpio 9 1>;
};
fxs1 {
- label = "fxs1";
+ label = "arv452cqw:blue:telefon1";
gpios = <&gpiomm 0 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv452cqw:blue:telefon2";
gpios = <&gpiomm 1 1>;
};
wps2 {
- label = "wps2";
+ label = "arv452cqw:red:wps";
gpios = <&gpiomm 2 1>;
};
fxo {
- label = "fxo";
+ label = "arv452cqw:blue:line";
gpios = <&gpiomm 3 1>;
};
voice {
- label = "voice";
+ label = "arv452cqw:blue:sprache";
gpios = <&gpiomm 4 1>;
};
usb: usb {
- label = "usb";
+ label = "arv452cqw:blue:usb";
gpios = <&gpiomm 5 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv452cqw:blue:wlan";
gpios = <&gpiomm 6 1>;
};
+ /*
+ internet blue and internet red are missing
+ dsl2 and dsl3 are not referenced in manual
+ */
dsl2 {
- label = "dsl2";
+ label = "arv452cqw:yellow:dsl";
gpios = <&gpiomm 8 1>;
};
dsl3 {
- label = "dsl3";
+ label = "arv452cqw:red:dsl";
gpios = <&gpiomm 9 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index 31cc259720..ec08b29d7a 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -9,12 +9,12 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
- internet = &online;
+ internet = &online_green;
usb = &usb;
wifi = &wifi;
};
@@ -169,61 +169,61 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "arv7518pw:green:power";
gpios = <&gpio 2 1>;
default-state = "keep";
};
dsl: dsl {
- label = "dsl";
+ label = "arv7518pw:green:dsl";
gpios = <&gpio 4 1>;
};
- online: online {
- label = "online";
+ online_green: online {
+ label = "arv7518pw:green:internet";
gpios = <&gpio 5 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv7518pw:green:wlan";
gpios = <&gpio 6 1>;
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "arv7518pw:red:power";
gpios = <&gpio 7 1>;
};
online2 {
- label = "online2";
+ label = "arv7518pw:red:internet";
gpios = <&gpio 8 1>;
};
usb: usb {
- label = "usb";
+ label = "arv7518pw:green:usb";
gpios = <&gpio 19 1>;
};
voice {
- label = "voice";
+ label = "arv7518pw:green:voip";
gpios = <&gpiomm 0 1>;
};
fxs1 {
- label = "fxs1";
+ label = "arv7518pw:green:phone1";
gpios = <&gpiomm 1 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv7518pw:green:phone2";
gpios = <&gpiomm 2 1>;
};
- fxo {
- label = "fxo";
+ unlabeled {
+ label = "arv7518pw:amber:unlabeled";
gpios = <&gpiomm 3 1>;
};
wps {
- label = "wps";
+ label = "arv7518pw:amber:wps";
gpios = <&gpiomm 4 1>;
};
wps2 {
- label = "wps2";
+ label = "arv7518pw:green:wps";
gpios = <&gpiomm 5 1>;
};
wps3 {
- label = "wps3";
+ label = "arv7518pw:red:wps";
gpios = <&gpiomm 6 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts
index 6daa8b1f94..c60f04e3ee 100644
--- a/target/linux/lantiq/dts/ARV7519PW.dts
+++ b/target/linux/lantiq/dts/ARV7519PW.dts
@@ -118,7 +118,7 @@
lantiq,external-clock;
gpio-reset = <&gpio 21 0>;
req-mask = <0xf>;
- };
+ };
};
ralink_eep {
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts
index 872af54b8d..43d6c6e0f2 100644
--- a/target/linux/lantiq/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts
@@ -206,32 +206,32 @@
compatible = "gpio-leds";
lan_green {
- label = "lan";
+ label = "arv7519rw22:green:lan";
gpios = <&gpio 2 1>;
};
internet_red {
- label = "internet_red";
+ label = "arv7519rw22:red:internet";
gpios = <&gpio 10 1>;
};
power_green: power_green {
- label = "power";
+ label = "arv7519rw22:green:power";
gpios = <&gpio 14 1>;
default-state = "keep";
};
alarm_blue {
- label = "alarm";
+ label = "arv7519rw22:blue:alarm";
gpios = <&gpio 15 1>;
};
internet_orange {
- label = "internet_orange";
+ label = "arv7519rw22:orange:internet";
gpios = <&gpio 19 1>;
};
internet_green: internet_green {
- label = "internet_green";
+ label = "arv7519rw22:green:internet";
gpios = <&gpio 28 1>;
};
voice_green {
- label = "voice";
+ label = "arv7519rw22:green:voice";
gpios = <&gpio 29 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts
index 922a2c8746..2270893e90 100644
--- a/target/linux/lantiq/dts/ARV7525PW.dts
+++ b/target/linux/lantiq/dts/ARV7525PW.dts
@@ -9,11 +9,11 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power1;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
- dsl = &power;
+ dsl = &power_green;
internet = &online;
wifi = &wifi;
};
@@ -124,29 +124,29 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "arv7525pw:green:power";
gpios = <&gpio 3 1>;
default-state = "keep";
};
- power1: power1 {
- label = "power1";
+ power_red: power1 {
+ label = "arv7525pw:red:power";
gpios = <&gpio 4 1>;
};
online: online {
- label = "online";
+ label = "arv7525pw:green:online";
gpios = <&gpio 5 1>;
};
voice {
- label = "voice";
+ label = "arv7525pw:green:telefonie";
gpios = <&gpio 6 1>;
};
voice2 {
- label = "voice2";
+ label = "arv7525pw:red:telefonie";
gpios = <&gpio 8 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv7525pw:green:wlan";
gpios = <&gpio 9 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index d262ed1099..134680b86a 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -9,11 +9,11 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power1;
- running = &power;
+ boot = &power_red;
+ failsafe = &power_blue;
+ running = &power_red;
- internet = &internet;
+ internet = &internet_red;
wifi = &wifi;
};
};
@@ -179,53 +179,53 @@
gpio-leds {
compatible = "gpio-leds";
- power1: power1 {
- label = "power1";
+ power_blue: power1 {
+ label = "arv752dpw:blue:power";
gpios = <&gpio 3 1>;
};
- internet: internet {
- label = "internet";
+ internet_red: internet {
+ label = "arv752dpw:red:internet";
gpios = <&gpio 4 1>;
};
message {
- label = "message";
+ label = "arv752dpw:red:message";
gpios = <&gpio 5 1>;
};
- power: power {
- label = "power";
+ power_red: power {
+ label = "arv752dpw:red:power";
gpios = <&gpio 6 1>;
default-state = "keep";
};
voice1 {
- label = "voice1";
+ label = "arv752dpw:red:voice";
gpios = <&gpio 8 1>;
};
microphone {
- label = "umts";
+ label = "arv752dpw:red:umts";
gpios = <&gpiomm 3 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "arv752dpw:red:wifi";
gpios = <&gpiomm 4 1>;
};
fxs1 {
- label = "fxs1";
+ label = "arv752dpw:green:tae-n";
gpios = <&gpiomm 5 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv752dpw:green:tae-u";
gpios = <&gpiomm 6 1>;
};
fxo {
- label = "fxo";
+ label = "arv752dpw:green:isdn";
gpios = <&gpiomm 7 1>;
};
internet2 {
- label = "internet2";
+ label = "arv752dpw:blue:internet";
gpios = <&gpiomm 8 1>;
};
voice2 {
- label = "voice2";
+ label = "arv752dpw:blue:voice";
gpios = <&gpiomm 9 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index 363569300a..aec5f7e7b6 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -9,11 +9,11 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power1;
- running = &power;
+ boot = &power_red;
+ failsafe = &power_blue;
+ running = &power_red;
- internet = &internet;
+ internet = &internet_red;
wifi = &wifi;
};
};
@@ -183,69 +183,69 @@
gpio-leds {
compatible = "gpio-leds";
- power1: power1 {
- label = "power1";
+ power_blue: power1 {
+ label = "arv752dpw22:blue:power";
gpios = <&gpio 3 1>;
};
- internet: internet {
- label = "internet";
+ internet_red: internet {
+ label = "arv752dpw22:red:internet";
gpios = <&gpio 4 1>;
};
message {
- label = "message";
+ label = "arv752dpw22:red:message";
gpios = <&gpio 5 1>;
};
- power: power {
- label = "power";
+ power_red: power {
+ label = "arv752dpw22:red:power";
gpios = <&gpio 6 1>;
default-state = "keep";
};
voice1 {
- label = "voice1";
+ label = "arv752dpw22:red:voice";
gpios = <&gpio 8 1>;
};
microphone {
- label = "umts";
+ label = "arv752dpw22:red:umts";
gpios = <&gpiomm 3 1>;
};
wifi: wifi {
- label = "wifi_rt";
+ label = "arv752dpw22:red:wifi";
gpios = <&gpiomm 4 1>;
};
fxs1 {
- label = "fxs1";
+ label = "arv752dpw22:green:tae-n";
gpios = <&gpiomm 5 1>;
};
fxs2 {
- label = "fxs2";
+ label = "arv752dpw22:green:tae-u";
gpios = <&gpiomm 6 1>;
};
fxo {
- label = "fxo";
+ label = "arv752dpw22:green:isdn";
gpios = <&gpiomm 7 1>;
};
internet2 {
- label = "internet2";
+ label = "arv752dpw22:blue:internet";
gpios = <&gpiomm 8 1>;
};
voice2 {
- label = "voice2";
+ label = "arv752dpw22:blue:voice";
gpios = <&gpiomm 9 1>;
};
eth1 {
- label = "eth1";
+ label = "arv752dpw22:green:lan1";
gpios = <&gpiomm 11 1>;
};
eth2 {
- label = "eth2";
+ label = "arv752dpw22:green:lan2";
gpios = <&gpiomm 12 1>;
};
eth3 {
- label = "eth3";
+ label = "arv752dpw22:green:lan3";
gpios = <&gpiomm 13 1>;
};
eth4 {
- label = "eth4";
+ label = "arv752dpw22:green:lan4";
gpios = <&gpiomm 14 1>;
};
};
diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts
index c78178be60..9e1b441437 100644
--- a/target/linux/lantiq/dts/ARV8539PW22.dts
+++ b/target/linux/lantiq/dts/ARV8539PW22.dts
@@ -147,29 +147,32 @@
compatible = "gpio-leds";
power_green: power-green {
- label = "power";
+ label = "arv8539pw22:green:power";
gpios = <&gpio 24 1>;
default-state = "keep";
};
power_red: power-red {
- label = "soc:red:power";
+ label = "arv8539pw22:red:power";
gpios = <&gpio 4 1>;
};
dsl_green: dsl-green {
- label = "soc:green:dsl";
+ label = "arv8539pw22:green:dsl";
gpios = <&gpio 5 1>;
};
online_green: online-green {
- label = "soc:green:online";
+ label = "arv8539pw22:green:online";
gpios = <&gpio 6 1>;
};
wireless_green: wireless-green {
- label = "soc:green:wireless";
+ label = "arv8539pw22:green:wlan";
gpios = <&gpio 8 1>;
};
+ /*
+ telefonie green is missing
+ */
};
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 292fe7643c..69b977af29 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -236,52 +236,52 @@
compatible = "gpio-leds";
upgrading-orange {
- label = "soc:orange:upgrading";
+ label = "bthomehubv2b:orange:upgrading";
gpios = <&stp0 5 0>;
};
phone-orange {
- label = "soc:orange:phone";
+ label = "bthomehubv2b:orange:phone";
gpios = <&stp0 6 0>;
};
phone-blue {
- label = "soc:blue:phone";
+ label = "bthomehubv2b:blue:phone";
gpios = <&stp0 7 0>;
};
wireless-orange {
- label = "soc:orange:wireless";
+ label = "bthomehubv2b:orange:wireless";
gpios = <&stp0 8 0>;
};
wireless_blue: wireless-blue {
- label = "soc:blue:wireless";
+ label = "bthomehubv2b:blue:wireless";
gpios = <&stp0 9 0>;
};
broadband-red {
- label = "soc:red:broadband";
+ label = "bthomehubv2b:red:broadband";
gpios = <&stp0 10 0>;
};
broadband-orange {
- label = "soc:orange:broadband";
+ label = "bthomehubv2b:orange:broadband";
gpios = <&stp0 11 0>;
};
broadband_blue: broadband-blue {
- label = "soc:blue:broadband";
+ label = "bthomehubv2b:blue:broadband";
gpios = <&stp0 12 0>;
};
power_red: power-red {
- label = "soc:red:power";
+ label = "bthomehubv2b:red:power";
gpios = <&stp0 13 0>;
};
power_orange: power-orange {
- label = "soc:orange:power";
+ label = "bthomehubv2b:orange:power";
gpios = <&stp0 14 0>;
default-state = "keep";
};
power_blue: power-blue {
- label = "soc:blue:power";
+ label = "bthomehubv2b:blue:power";
gpios = <&stp0 15 0>;
};
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
index 2c88f49000..cfcae675e5 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
@@ -176,42 +176,42 @@
compatible = "gpio-leds";
wireless-red {
- label = "soc:red:wireless";
+ label = "bthomehubv3a:red:wireless";
gpios = <&gpio 2 1>;
};
wireless-orange {
- label = "soc:orange:wireless";
+ label = "bthomehubv3a:orange:wireless";
gpios = <&gpio 6 1>;
};
wireless_blue: wireless-blue {
- label = "soc:blue:wireless";
+ label = "bthomehubv3a:blue:wireless";
gpios = <&gpio 9 1>;
};
broadband-red {
- label = "soc:red:broadband";
+ label = "bthomehubv3a:red:broadband";
gpios = <&gpio 11 1>;
};
broadband-orange {
- label = "soc:orange:broadband";
+ label = "bthomehubv3a:orange:broadband";
gpios = <&gpio 0 1>;
};
broadband_blue: broadband-blue {
- label = "soc:blue:broadband";
+ label = "bthomehubv3a:blue:broadband";
gpios = <&gpio 12 1>;
};
power_red: power-red {
- label = "soc:red:power";
+ label = "bthomehubv3a:red:power";
gpios = <&gpio 14 1>;
};
power_orange: power-orange {
- label = "soc:orange:power";
+ label = "bthomehubv3a:orange:power";
gpios = <&gpio 5 1>;
default-state = "keep";
};
power_blue: power-blue {
- label = "soc:blue:power";
+ label = "bthomehubv3a:blue:power";
gpios = <&gpio 1 1>;
};
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index 6d40ccd684..7656fda2d5 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -251,44 +251,44 @@
/* broadband-* is a single RGB led */
broadband-red {
- label = "soc:red:broadband";
+ label = "bthomehubv5a:red:broadband";
gpios = <&gpio 0 1>;
};
broadband-green {
- label = "soc:green:broadband";
+ label = "bthomehubv5a:green:broadband";
gpios = <&gpio 3 1>;
};
broadband_blue: broadband-blue {
- label = "soc:blue:broadband";
+ label = "bthomehubv5a:blue:broadband";
gpios = <&gpio 8 1>;
};
/* wireless-* is a single RGB led */
wireless-red {
- label = "soc:red:wireless";
+ label = "bthomehubv5a:red:wireless";
gpios = <&gpio 9 1>;
};
wireless-green {
- label = "soc:green:wireless";
+ label = "bthomehubv5a:green:wireless";
gpios = <&gpio 10 1>;
};
wireless_blue: wireless-blue {
- label = "soc:blue:wireless";
+ label = "bthomehubv5a:blue:wireless";
gpios = <&gpio 11 1>;
};
/* power-* is a single RGB led */
power_red: power-red {
- label = "soc:red:power";
+ label = "bthomehubv5a:red:power";
gpios = <&gpio 12 1>;
};
power_green: power-green {
- label = "soc:green:power";
+ label = "bthomehubv5a:green:power";
gpios = <&gpio 14 1>;
default-state = "keep";
};
power_blue: power-blue {
- label = "soc:blue:power";
+ label = "bthomehubv5a:blue:power";
gpios = <&gpio 15 1>;
};
diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts
index 7c4f4a52f9..a6bd5a8021 100644
--- a/target/linux/lantiq/dts/DGN1000B.dts
+++ b/target/linux/lantiq/dts/DGN1000B.dts
@@ -14,7 +14,7 @@
running = &power;
dsl = &dsl;
- internet = &online;
+ internet = &online_green;
};
};
@@ -118,29 +118,32 @@
gpio-leds {
compatible = "gpio-leds";
dsl: dsl {
- label = "dsl";
+ label = "dgn1000b:green:dsl";
gpios = <&gpio 1 1>;
default-state = "on";
};
- online: online {
- label = "online";
+ online_green: online {
+ label = "dgn1000b:green:online";
gpios = <&gpio 2 1>;
default-state = "on";
};
online2 {
- label = "online2";
+ label = "dgn1000b:red:online";
gpios = <&gpio 3 1>;
default-state = "on";
};
wps {
- label = "wps";
+ label = "dgn1000b:green:wps";
gpios = <&gpio 4 1>;
default-state = "on";
};
power: power {
- label = "power";
+ label = "dgn1000b:green:power";
gpios = <&gpio 13 1>;
default-state = "keep";
};
+ /*
+ power red is missing
+ */
};
};
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index b9459c554e..bda4006805 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -162,32 +162,38 @@
gpio-leds {
compatible = "gpio-leds";
internet: internet {
- label = "internet";
+ label = "dgn3500:green:internet";
gpios = <&gpio 2 1>;
};
+ /*
+ internet red is missing
+ */
dsl: dsl {
- label = "dsl";
+ label = "dgn3500:green:dsl";
gpios = <&gpio 4 1>;
};
usb: usb {
- label = "usb";
+ label = "dgn3500:green:usb";
gpios = <&gpio 22 1>;
};
power_green: power {
- label = "power";
+ label = "dgn3500:green:power";
gpios = <&gpio 34 1>;
default-state = "keep";
};
power_red: power2 {
- label = "power2";
+ label = "dgn3500:red:power";
gpios = <&gpio 39 1>;
};
+ /*
+ power amber is missing
+ */
wifi: wifi {
- label = "wifi";
+ label = "dgn3500:blue:wireless";
gpios = <&gpio 51 1>;
};
wps {
- label = "wps";
+ label = "dgn3500:green:wps";
gpios = <&gpio 52 1>;
};
};
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi
index 14a020fc4f..cf37e233a1 100644
--- a/target/linux/lantiq/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/dts/EASY80920.dtsi
@@ -303,40 +303,40 @@
compatible = "gpio-leds";
power: power {
- label = "power";
+ label = "easy80920:green:power";
gpios = <&stp 9 0>;
default-state = "keep";
};
warning {
- label = "warning";
+ label = "easy80920:green:warning";
gpios = <&stp 22 0>;
};
fxs1 {
- label = "fxs1";
+ label = "easy80920:green:fxs1";
gpios = <&stp 21 0>;
};
fxs2 {
- label = "fxs2";
+ label = "easy80920:green:fxs2";
gpios = <&stp 20 0>;
};
fxo {
- label = "fxo";
+ label = "easy80920:green:fxo";
gpios = <&stp 19 0>;
};
usb1: usb1 {
- label = "usb1";
+ label = "easy80920:green:usb1";
gpios = <&stp 18 0>;
};
usb2: usb2 {
- label = "usb2";
+ label = "easy80920:green:usb2";
gpios = <&stp 15 0>;
};
sd {
- label = "sd";
+ label = "easy80920:green:sd";
gpios = <&stp 14 0>;
};
wps {
- label = "wps";
+ label = "easy80920:green:wps";
gpios = <&stp 12 0>;
};
};
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 216f5ffca0..7344052c7d 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -246,32 +246,32 @@
compatible = "gpio-leds";
power_green: power {
- label = "power";
+ label = "fritz3370:green:power";
gpios = <&gpio 32 1>;
default-state = "keep";
};
power_red: power2 {
- label = "power2";
+ label = "fritz3370:red:power";
gpios = <&gpio 33 1>;
};
info_red {
- label = "info_red";
+ label = "fritz3370:red:info";
gpios = <&gpio 34 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "fritz3370:green:wlan";
gpios = <&gpio 35 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "fritz3370:green:dsl";
gpios = <&gpio 36 1>;
};
lan {
- label = "lan";
+ label = "fritz3370:green:lan";
gpios = <&gpio 38 1>;
};
info_green: info_green {
- label = "info_green";
+ label = "fritz3370:green:info";
gpios = <&gpio 47 1>;
};
};
diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts
index 0a307b97a2..8140b68554 100644
--- a/target/linux/lantiq/dts/FRITZ7320.dts
+++ b/target/linux/lantiq/dts/FRITZ7320.dts
@@ -13,8 +13,8 @@
failsafe = &power;
running = &power;
+ internet = &info_green;
dsl = &power;
- internet = &online;
wifi = &wlan;
};
};
@@ -121,28 +121,28 @@
gpio-leds {
compatible = "gpio-leds";
power: power {
- label = "power";
+ label = "fritz7320:green:power";
gpios = <&gpio 44 1>;
default-state = "keep";
};
voice {
- label = "voice";
+ label = "fritz7320:green:fon";
gpios = <&gpio 47 1>;
};
dect {
- label = "dect";
+ label = "fritz7320:green:dect";
gpios = <&gpio 38 1>;
};
wlan: wlan {
- label = "wlan";
+ label = "fritz7320:green:wlan";
gpios = <&gpio 37 1>;
};
- online: online {
- label = "online";
+ info_green: info_green {
+ label = "fritz7320:green:info";
gpios = <&gpio 35 1>;
};
- online2 {
- label = "online2";
+ info_red {
+ label = "fritz7320:red:info";
gpios = <&gpio 45 1>;
};
};
diff --git a/target/linux/lantiq/dts/GR7000.dts b/target/linux/lantiq/dts/GR7000.dts
index b6c2c0b5a6..27c9f4ad61 100644
--- a/target/linux/lantiq/dts/GR7000.dts
+++ b/target/linux/lantiq/dts/GR7000.dts
@@ -12,7 +12,7 @@
boot = &power_red;
failsafe = &power_red;
- internet = &internet;
+ internet = &internet_green;
usb = &usb;
wifi = &wifi;
};
@@ -120,23 +120,23 @@
compatible = "gpio-leds";
power_red: power2 {
- label = "power2";
+ label = "gr7000:red:power";
gpios = <&stp 4 0>;
};
- internet: internet {
- label = "internet";
+ internet_green: internet {
+ label = "gr7000:green:internet";
gpios = <&stp 2 1>;
};
internet2 {
- label = "internet2";
+ label = "gr7000:red:internet";
gpios = <&stp 3 1>;
};
usb: usb {
- label = "usb";
+ label = "gr7000:green:usb";
gpios = <&stp 10 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "gr7000:green:wireless";
gpios = <&stp 15 1>;
};
};
diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts
index e4da1e5de4..cab2966387 100644
--- a/target/linux/lantiq/dts/H201L.dts
+++ b/target/linux/lantiq/dts/H201L.dts
@@ -97,32 +97,32 @@
compatible = "gpio-leds";
power_green: power {
- label = "power";
+ label = "h201l:green:power";
gpios = <&gpio 19 1>;
default-state = "keep";
};
online: online {
- label = "online";
+ label = "h201l:green:internet";
gpios = <&gpio 37 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "h201l:green:dsl";
gpios = <&gpio 4 1>;
};
phone {
- label = "phone";
+ label = "h201l:green:phone";
gpios = <&gpio 39 1>;
};
wps {
- label = "wps";
+ label = "h201l:green:wps";
gpios = <&gpio 22 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "h201l:green:wlan";
gpios = <&gpio 6 1>;
};
usb: usb {
- label = "usb";
+ label = "h201l:green:usb";
gpios = <&gpio 14 1>;
};
};
diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts
index 58e61d164e..7e70c2c908 100644
--- a/target/linux/lantiq/dts/P2601HNFX.dts
+++ b/target/linux/lantiq/dts/P2601HNFX.dts
@@ -9,9 +9,9 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
internet = &online;
@@ -145,41 +145,41 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "p2601hnfx:green:power";
gpios = <&stp 11 1>;
default-state = "keep";
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "p2601hnfx:red:power";
gpios = <&gpio 29 1>;
};
online: online {
- label = "online";
+ label = "p2601hnfx:green:internet";
gpios = <&stp 13 1>;
};
online2 {
- label = "online2";
+ label = "p2601hnfx:red:internet";
gpios = <&stp 12 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "p2601hnfx:green:dsl";
gpios = <&stp 14 1>;
};
phone {
- label = "phone";
+ label = "p2601hnfx:green:phone";
gpios = <&stp 9 1>;
};
phone2 {
- label = "phone2";
+ label = "p2601hnfx:orange:phone";
gpios = <&stp 8 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "p2601hnfx:green:wireless";
gpios = <&stp 15 1>;
};
wifi2 {
- label = "wifi2";
+ label = "p2601hnfx:orange:wireless";
gpios = <&stp 10 1>;
};
};
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index 7199d9a865..a626e69776 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -5,11 +5,11 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power2;
- failsafe = &power;
- running = &power2;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
- dsl = &dsl;
+ dsl = &dsl_green;
internet = &internet_green;
usb = &usb1;
usb2 = &usb2;
@@ -40,7 +40,7 @@
compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
-
+
interrupt-parent = <&icu0>;
interrupts = <166 135 66 40 41 42 38>;
@@ -275,61 +275,61 @@
gpio-leds {
compatible = "gpio-leds";
- internet_red { /* red */
- label = "internet_red";
+ internet_red {
+ label = "p2812hnufx:red:internet";
gpios = <&stp 16 1>;
};
internet_green: internet_green {
- label = "internet_green"; /* green */
+ label = "p2812hnufx:green:internet";
gpios = <&stp 17 1>;
};
- dsl: dsl {
- label = "dsl";
+ dsl_green: dsl_green {
+ label = "p2812hnufx:green:dsl";
gpios = <&stp 18 1>;
};
- dsl2 {
- label = "dsl2";
+ dsl_orange {
+ label = "p2812hnufx:orange:dsl";
gpios = <&stp 19 1>;
};
- wireless_red { /* red */
- label = "wireless_red";
+ wireless_orange {
+ label = "p2812hnufx:orange:wlan";
gpios = <&stp 20 1>;
};
- wireless_green: wireless_green { /* green */
- label = "wireless_green";
+ wireless_green: wireless_green {
+ label = "p2812hnufx:green:wlan";
gpios = <&stp 21 1>;
};
- power: power { /* red */
- label = "power";
+ power_red: power {
+ label = "p2812hnufx:red:power";
gpios = <&stp 22 1>;
};
- power2: power2 { /* green */
- label = "power2";
+ power_green: power2 {
+ label = "p2812hnufx:green:power";
gpios = <&stp 23 1>;
default-state = "keep";
};
- usb1: usb1 { /* green */
- label = "usb1";
+ usb1: usb1 {
+ label = "p2812hnufx:green:usb1";
gpios = <&gpio 38 1>;
};
- usb2: usb2 { /* green */
- label = "usb2";
+ usb2: usb2 {
+ label = "p2812hnufx:green:usb2";
gpios = <&gpio 44 1>;
};
- phone1 { /* green */
- label = "phone1";
+ phone1 {
+ label = "p2812hnufx:green:phone";
gpios = <&gpio 11 1>;
};
- phone1warn { /* red */
- label = "phone1warn";
+ phone1warn {
+ label = "p2812hnufx:orange:phone";
gpios = <&gpio 12 1>;
};
- phone2warn { /* red */
- label = "phone2warn";
+ phone2warn {
+ label = "p2812hnufx:orange:phone2";
gpios = <&gpio 26 1>;
};
- phone2 { /* green */
- label = "phone2";
+ phone2 {
+ label = "p2812hnufx:green:phone2";
gpios = <&gpio 28 1>;
};
};
diff --git a/target/linux/lantiq/dts/TDW8980.dts b/target/linux/lantiq/dts/TDW8980.dts
index ca8fc8074a..0bcca6e05e 100644
--- a/target/linux/lantiq/dts/TDW8980.dts
+++ b/target/linux/lantiq/dts/TDW8980.dts
@@ -31,7 +31,7 @@
gpio-leds {
wifi2 {
- label = "wifi2";
+ label = "soc:green:wlan5ghz";
gpios = <&gpio 24 1>;
};
};
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index 04bb5a4503..99b4ecb7cb 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -224,25 +224,27 @@
gpio-leds {
compatible = "gpio-leds";
-
+ /*
+ power is not controllable via gpio
+ */
dsl: dsl {
- label = "dsl";
+ label = "tdw89x0:green:dsl";
gpios = <&gpio 4 0>;
};
internet: internet {
- label = "internet";
+ label = "tdw89x0:green:internet";
gpios = <&gpio 5 0>;
};
usb0: usb0 {
- label = "usb";
+ label = "tdw89x0:green:usb";
gpios = <&gpio 19 0>;
};
usb2: usb2 {
- label = "usb2";
+ label = "tdw89x0:green:usb2";
gpios = <&gpio 20 0>;
};
wps: wps {
- label = "wps";
+ label = "tdw89x0:green:wps";
gpios = <&gpio 37 0>;
};
};
diff --git a/target/linux/lantiq/dts/VG3503J.dtsi b/target/linux/lantiq/dts/VG3503J.dtsi
index fe192a358f..243ab0dca0 100644
--- a/target/linux/lantiq/dts/VG3503J.dtsi
+++ b/target/linux/lantiq/dts/VG3503J.dtsi
@@ -7,9 +7,9 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
internet = &dsl;
};
@@ -156,16 +156,16 @@
gpio-leds {
compatible = "gpio-leds";
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "vg3503j:red:power";
gpios = <&gpio 14 1>;
};
dsl: dsl {
- label = "bt:green:dsl";
+ label = "vg3503j:green:dsl";
gpios = <&gpio 19 1>;
};
- power: power {
- label = "power";
+ power_green: power {
+ label = "vg3503j:green:power";
gpios = <&gpio 28 1>;
default-state = "keep";
};
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index dc2738ad8e..d8c7bf710c 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -7,9 +7,9 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
internet = &internet_green;
@@ -219,48 +219,48 @@
compatible = "gpio-leds";
dsl: dsl {
- label = "dsl";
+ label = "vgv7510kw22:green:dsl";
gpios = <&gpio 2 1>;
};
internet_red {
- label = "internet_red";
+ label = "vgv7510kw22:red:internet";
gpios = <&gpio 10 1>;
};
info_red {
- label = "info_red";
+ label = "vgv7510kw22:red:info";
gpios = <&gpio 12 1>;
};
- power: power {
- label = "power"; /* green */
+ power_green: power {
+ label = "vgv7510kw22:green:power";
gpios = <&gpio 14 1>;
default-state = "keep";
};
info_green {
- label = "info_green";
+ label = "vgv7510kw22:green:info";
gpios = <&gpio 15 1>;
};
internet_green: internet_green {
- label = "internet_green";
+ label = "vgv7510kw22:green:internet";
gpios = <&gpio 19 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "vgv7510kw22:green:wlan";
gpios = <&gpio 20 1>;
};
- power2: power2 {
- label = "power2"; /* red */
+ power_red: power2 {
+ label = "vgv7510kw22:red:power";
gpios = <&gpio 28 1>;
};
- phone_red {
- label = "phone_red";
+ phone {
+ label = "vgv7510kw22:green:telefon";
gpios = <&gpio 29 1>;
};
};
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 71b7d26173..6c7984927a 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -8,13 +8,13 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power2;
- failsafe = &power;
- running = &power2;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
- dsl = &broadband_yellow;
- internet = &internet_yellow;
- wifi = &wireless_yellow;
+ dsl = &broadband_green;
+ internet = &internet_green;
+ wifi = &wireless_green;
};
};
@@ -39,7 +39,7 @@
compatible = "lantiq,pinctrl-xr9";
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
-
+
interrupt-parent = <&icu0>;
interrupts = <166 135 66 40 41 42 38>;
@@ -269,61 +269,61 @@
gpio-leds {
compatible = "gpio-leds";
- eco { /* blue */
- label = "eco";
+ eco {
+ label = "vgv7519:blue:eco";
gpios = <&stp 2 1>;
};
- wps_red { /* red */
- label = "wps_red";
+ wps_red {
+ label = "vgv7519:red:wps";
gpios = <&stp 3 1>;
};
- wps_yellow { /* yellow */
- label = "wps_yellow";
+ wps_green {
+ label = "vgv7519:green:wps";
gpios = <&stp 4 1>;
};
- upgrade { /* blue */
- label = "upgrade";
+ upgrade {
+ label = "vgv7519:blue:upgrade";
gpios = <&stp 5 1>;
};
- tv { /* yellow */
- label = "tv";
+ tv {
+ label = "vgv7519:green:tv";
gpios = <&stp 6 1>;
};
- internet_yellow: internet_yellow { /* yellow */
- label = "internet_yellow";
+ internet_green: internet_green {
+ label = "vgv7519:green:internet";
gpios = <&stp 7 1>;
};
- internet_red { /* red */
- label = "internet_red";
+ internet_red {
+ label = "vgv7519:red:internet";
gpios = <&stp 8 1>;
};
- broadband_red { /* red */
- label = "broadband_red";
+ broadband_red {
+ label = "vgv7519:red:broadband";
gpios = <&stp 9 1>;
};
- broadband_yellow: broadband_yellow { /* yellow */
- label = "broadband_yellow";
+ broadband_green: broadband_green {
+ label = "vgv7519:green:broadband";
gpios = <&stp 10 1>;
};
- voice { /* yellow */
- label = "voice";
+ voice {
+ label = "vgv7519:green:voice";
gpios = <&stp 11 1>;
};
- wireless_red { /* red */
- label = "wireless_red";
+ wireless_red {
+ label = "vgv7519:red:wireless";
gpios = <&stp 12 1>;
};
- wireless_yellow: wireless_yellow { /* yellow */
- label = "wireless_yellow";
+ wireless_green: wireless_green {
+ label = "vgv7519:green:wireless";
gpios = <&stp 13 1>;
};
- power2: power2 { /* yellow */
- label = "power2";
+ power_green: power2 {
+ label = "vgv7519:green:power";
gpios = <&stp 14 1>;
default-state = "keep";
};
- power: power { /* red */
- label = "power";
+ power_red: power {
+ label = "vgv7519:red:power";
gpios = <&stp 15 1>;
};
};
diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts
index 1ca7668468..4a20850b1b 100644
--- a/target/linux/lantiq/dts/WBMR.dts
+++ b/target/linux/lantiq/dts/WBMR.dts
@@ -9,12 +9,12 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
- internet = &online;
+ internet = &online_green;
usb = &usb;
wifi = &wifi;
};
@@ -138,41 +138,41 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "wbmr:green:power";
gpios = <&gpio 1 1>;
default-state = "keep";
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "wbmr:red:power";
gpios = <&gpio 5 1>;
};
security {
- label = "security";
+ label = "wbmr:yellow:security";
gpios = <&gpio 14 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "wbmr:green:wireless";
gpios = <&gpio 15 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "wbmr:green:dsl";
gpios = <&gpio 16 1>;
};
- online: online {
- label = "online";
+ online_green: online {
+ label = "wbmr:green:internet";
gpios = <&gpio 17 1>;
};
online2 {
- label = "online2";
+ label = "wbmr:red:internet";
gpios = <&gpio 18 1>;
};
movie {
- label = "movie";
+ label = "wbmr:blue:movie";
gpios = <&gpio 20 1>;
};
usb: usb {
- label = "usb";
+ label = "wbmr:green:usb";
gpios = <&gpio 28 1>;
default-state = "on";
};