[openwrt/openwrt] ath79: fix Sitecom WLR-8100 lan port leds

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 22 13:13:25 EST 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4771fac99f95e4cdd44d1ece17a2eb425b6b5b9e

commit 4771fac99f95e4cdd44d1ece17a2eb425b6b5b9e
Author: Davide Fioravanti <pantanastyle at gmail.com>
AuthorDate: Sat Dec 19 13:14:49 2020 +0100

    ath79: fix Sitecom WLR-8100 lan port leds
    
    Incorrect values were used for the switch initialization causing the
    lan port leds to not light up in case of 10Mb or 100Mb connections.
    
    This commit fixes this problem and removes unused values.
    
    Signed-off-by: Davide Fioravanti <pantanastyle at gmail.com>
---
 target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts b/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
index ccc08c39f1..96269c4418 100644
--- a/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
+++ b/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
@@ -153,10 +153,10 @@
 
 		qca,ar8327-initvals = <
 			0x04 0x87600000 /* PORT0 PAD MODE CTRL */
-			0x50 0xc437c437 /* LED Control Register 0 */
-			0x54 0xc337c337 /* LED Control Register 1 */
+			0x50 0xcf37cf37 /* LED Control Register 0 */
+			0x54 0x00000000 /* LED Control Register 1 */
 			0x58 0x00000000 /* LED Control Register 2 */
-			0x5c 0x03ffff00 /* LED Control Register 3 */
+			0x5c 0x0030c300 /* LED Control Register 3 */
 			0x7c 0x0000007e /* PORT0_STATUS */
 			>;
 	};



More information about the lede-commits mailing list