diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:18:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:18:54 +0000 |
commit | 3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0 (patch) | |
tree | d5d4c3d0422d731a2753c83a624f622dd91b469d /target/linux/lantiq/dts/ARV7518PW.dts | |
parent | 4cf3fd49fcb73655561cb2bea6315e3a3790b076 (diff) | |
download | upstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.tar.gz upstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.tar.bz2 upstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.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>
SVN-Revision: 48042
Diffstat (limited to 'target/linux/lantiq/dts/ARV7518PW.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7518PW.dts | 44 |
1 files changed, 22 insertions, 22 deletions
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>; }; }; |