ath79: ZTE MF286[,A,R]: use GPIO19 as ath9k LED
authorLech Perczak <lech.perczak@gmail.com>
Mon, 23 May 2022 18:37:47 +0000 (20:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Jun 2022 20:28:59 +0000 (22:28 +0200)
commitc29641f71834393836b969180013cb95c8ce8576
treea58f24c8704390157e3ec99c52534be9a0400d78
parent9325aefaf3f1ff26ac769120591a7cdfc1ca8c46
ath79: ZTE MF286[,A,R]: use GPIO19 as ath9k LED

With the pinctrl configuration set properly by the previous commit, the
LED stays lit regardless of status of 2.4GHz radio, even if 5GHz radio
is disabled. Map GPIO19 as LED for ath9k, this way the LED will show
activity for both bands, as it is bound by logical AND with output of
ath10k-phy0 LED. This works well because during management traffic,
phy*tpt triggers typically cause LEDs to blink in unison.

Link: <https://github.com/openwrt/openwrt/pull/9941>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
(cherry picked from commit 5ca45e0a21ee1bdafd3652e7e91a761a9cd0c838)
target/linux/ath79/dts/qca9563_zte_mf286.dtsi