diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:18:38 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:18:38 +0000 |
commit | ebc71a4d1646eb88cf71e301c085a2dfa5d1efcf (patch) | |
tree | 92e43b7fbf1f14f78de7ed14804f761fc192b673 /target/linux/lantiq/dts | |
parent | a3c3b2a9a800b9ad30e1aea1b3296fd5be20bd8f (diff) | |
download | upstream-ebc71a4d1646eb88cf71e301c085a2dfa5d1efcf.tar.gz upstream-ebc71a4d1646eb88cf71e301c085a2dfa5d1efcf.tar.bz2 upstream-ebc71a4d1646eb88cf71e301c085a2dfa5d1efcf.zip |
lantiq: use dsl led defined in DTS
dsl_control (dsl_notify.sh) is the only process which is aware of the
state of the atm/ptm interface. Use the dsl led exclusive for the dsl
line state.
On boards which don't have a distinct internet and a dsl led, let the
netdev status of the atm interface trigger the shared led.
Triggering the shared led according to the status of the ppp interface
isn't suitable, since the led would be switched of if the ppp
connection goes down, but the line is still in sync.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48040
Diffstat (limited to 'target/linux/lantiq/dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV452CQW.dts | 2 | ||||
-rw-r--r-- | target/linux/lantiq/dts/VG3503J.dtsi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts index 320e5f59fa..38618f15d0 100644 --- a/target/linux/lantiq/dts/ARV452CQW.dts +++ b/target/linux/lantiq/dts/ARV452CQW.dts @@ -9,7 +9,7 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { - dsl = &dsl; + internet = &dsl; power1 = &power1; usb = &usb; wifi = &wifi; diff --git a/target/linux/lantiq/dts/VG3503J.dtsi b/target/linux/lantiq/dts/VG3503J.dtsi index 50ab0b64af..e567923534 100644 --- a/target/linux/lantiq/dts/VG3503J.dtsi +++ b/target/linux/lantiq/dts/VG3503J.dtsi @@ -7,7 +7,7 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { - dsl = &dsl; + internet = &dsl; power = &power; power2 = &power2; }; |