lantiq: use dsl led defined in DTS
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
commite591a71a3ae231ccece371d918d844cf3621f7fd
tree03742c5b7ce96194aadf78d16be3174d748d908a
parent999c5fe085d69e73c220c890bf58c90ce27aba66
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48040 3c298f89-4303-0410-b956-a3cf2f4a3e73
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