lantiq: use dsl led defined in DTS
authorJohn Crispin <john@openwrt.org>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
commitebc71a4d1646eb88cf71e301c085a2dfa5d1efcf
tree92e43b7fbf1f14f78de7ed14804f761fc192b673
parenta3c3b2a9a800b9ad30e1aea1b3296fd5be20bd8f
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
target/linux/lantiq/base-files/etc/board.d/01_leds
target/linux/lantiq/base-files/sbin/dsl_notify.sh
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/VG3503J.dtsi