[OpenWrt-Devel] [PATCH 2/2] ath79: archer-x7-v5: sync ar8327 initial reg values with ar71xx

Petr Štetiar ynezz at true.cz
Sun May 5 12:50:28 PDT 2019


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

Tested-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 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




More information about the openwrt-devel mailing list