ath79: fix Sitecom WLR-8100 lan port leds
authorDavide Fioravanti <pantanastyle@gmail.com>
Sat, 19 Dec 2020 12:14:49 +0000 (13:14 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 22 Dec 2020 18:11:50 +0000 (19:11 +0100)
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@gmail.com>
target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts

index ccc08c39f163a628dadb0e043bb2686580a37d7d..96269c441839cbad93e5a6bdaf4b37dcb0cb402d 100644 (file)
 
                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 */
                        >;
        };