diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-04-14 22:59:00 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-17 21:41:42 +0200 |
commit | e2c0a2cb953938df0b258258498c69b5bba13917 (patch) | |
tree | c894b234d45ac7f320c9c921fa74f1d7c71ccf8a /target/linux | |
parent | c4e3fde486aad97070d4f1a3a5b2a6636edd7994 (diff) | |
download | upstream-e2c0a2cb953938df0b258258498c69b5bba13917.tar.gz upstream-e2c0a2cb953938df0b258258498c69b5bba13917.tar.bz2 upstream-e2c0a2cb953938df0b258258498c69b5bba13917.zip |
ath79: archer-x7-v5: sync ar8327 initial reg values with ar71xx
Simply dumped content of this regs in ar71xx and wrote them to DTS, as a
result port 6 on the switch will appear disconnected as on Archer C7v4.
[AS: testing and PORT6_STATUS fix]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi | 7 |
1 files 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 5fcbf7390a..6e1d5d9b09 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi @@ -158,9 +158,12 @@ phy-mode = "sgmii"; 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 0x00000200 /* PORT6_STATUS */ >; }; }; |