I've simply dumped content of this regs in ar71xx and wrote them to DTS.

Tested-by: Adrian Schmutzler <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
---
 target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi 
b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
index e57d1fd..a6794ca 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
@@ -159,9 +159,12 @@
                qca,mib-poll-interval = <500>;
 
                qca,ar8327-initvals = <
-                       0x04 0x00080080 /* PORT0 PAD MODE CTRL */
-                       0x10 0x81000080 /* POWER_ON_STRIP */
+                       0x04 0x80080080 /* PORT0 PAD MODE CTRL */
+                       0x08 0x00000000 /* PORT5 PAD MODE CTRL */
+                       0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
+                       0x10 0x00000080 /* POWER_ON_STRIP */
                        0x7c 0x0000007e /* PORT0_STATUS */
+                       0x94 0x00001080 /* PORT6_STATUS */
                        >;
        };
 };
-- 
1.9.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to