aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorTobias Wolf <github-NTEO@vplace.de>2017-01-25 16:22:42 +0100
committerMathias Kresin <dev@kresin.me>2017-01-27 11:10:10 +0100
commitd43046e0f6869ddc6f57c388f405ebbda82623ae (patch)
tree2817bf9596a9e428dad9eb247917aec24dc7188e /target
parent30494598f891fc4436a49eca55fc31d03c087841 (diff)
downloadupstream-d43046e0f6869ddc6f57c388f405ebbda82623ae.tar.gz
upstream-d43046e0f6869ddc6f57c388f405ebbda82623ae.tar.bz2
upstream-d43046e0f6869ddc6f57c388f405ebbda82623ae.zip
ramips: add rlt8366s initvals to the F5D8235 V1 DTS
Before this change only port 4 of F5D8235 V1 worked at 1000Mpbs. Comparing the current driver with the GPL_BELKIN_F5D8235-4_v1000 v1.01.24 sources showed that additional steps are required to set-up the rlt8366s switch correctly. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts
index 8fcf1f0a62..e80cf9d317 100644
--- a/target/linux/ramips/dts/F5D8235_V1.dts
+++ b/target/linux/ramips/dts/F5D8235_V1.dts
@@ -51,6 +51,45 @@
compatible = "realtek,rtl8366s";
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
+
+ realtek,initvals = <
+ 0x0242 0x02BF
+ 0x0245 0x02BF
+ 0x0248 0x02BF
+ 0x024B 0x02BF
+ 0x024E 0x02BF
+ 0x0251 0x02BF
+ 0x0254 0x0A3F
+ 0x0256 0x0A3F
+ 0x0258 0x0A3F
+ 0x025A 0x0A3F
+ 0x025C 0x0A3F
+ 0x025E 0x0A3F
+ 0x0263 0x007C
+ 0x0100 0x0004
+ 0xBE5B 0x3500
+ 0x800E 0x200F
+ 0xBE1D 0x0F00
+ 0x8001 0x5011
+ 0x800A 0xA2F4
+ 0x800B 0x17A3
+ 0xBE4B 0x17A3
+ 0xBE41 0x5011
+ 0xBE17 0x2100
+ 0x8000 0x8304
+ 0xBE40 0x8304
+ 0xBE4A 0xA2F4
+ 0x800C 0xA8D5
+ 0x8014 0x5500
+ 0x8015 0x0004
+ 0xBE4C 0xA8D5
+ 0xBE59 0x0008
+ 0xBE09 0x0E00
+ 0xBE36 0x1036
+ 0xBE37 0x1036
+ 0x800D 0x00FF
+ 0xBE4D 0x00FF
+ >;
};
gpio-keys-polled {