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/P2601HNFX.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/P2601HNFX.dts')
-rw-r--r-- | target/linux/lantiq/dts/P2601HNFX.dts | 28 |
1 files changed, 14 insertions, 14 deletions
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>; }; }; |