aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-04-17 04:53:11 -0400
committerArnd Bergmann <arnd@arndb.de>2018-04-26 10:50:16 -0400
commit1c3bc8fb10c1803f8651911722ed584db3dfb0f2 (patch)
treeabc5a226b413b32a1f77d8dfc4621562d69de124
parente13db2d3371ee3fb77cd1991756c74e6d02ad41e (diff)
ARM: dts: Fix NAS4220B pin config
The DTS file for the NAS4220B had the pin config for the ethernet interface set to the pins in the SL3512 SoC while this system is using SL3516. Fix it by referencing the right SL3516 pins instead of the SL3512 pins. Cc: stable@vger.kernel.org Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com> Reported-by: Andreas Fiedler <andreas.fiedler@gmx.net> Reported-by: Roman Yeryomin <roman@advem.lv> Tested-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/boot/dts/gemini-nas4220b.dts28
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/gemini-nas4220b.dts b/arch/arm/boot/dts/gemini-nas4220b.dts
index 8bbb6f85d161..4785fbcc41ed 100644
--- a/arch/arm/boot/dts/gemini-nas4220b.dts
+++ b/arch/arm/boot/dts/gemini-nas4220b.dts
@@ -134,37 +134,37 @@
134 function = "gmii"; 134 function = "gmii";
135 groups = "gmii_gmac0_grp"; 135 groups = "gmii_gmac0_grp";
136 }; 136 };
137 /* Settings come from OpenWRT */ 137 /* Settings come from OpenWRT, pins on SL3516 */
138 conf0 { 138 conf0 {
139 pins = "R8 GMAC0 RXDV", "U11 GMAC1 RXDV"; 139 pins = "V8 GMAC0 RXDV", "T10 GMAC1 RXDV";
140 skew-delay = <0>; 140 skew-delay = <0>;
141 }; 141 };
142 conf1 { 142 conf1 {
143 pins = "T8 GMAC0 RXC", "T11 GMAC1 RXC"; 143 pins = "Y7 GMAC0 RXC", "Y11 GMAC1 RXC";
144 skew-delay = <15>; 144 skew-delay = <15>;
145 }; 145 };
146 conf2 { 146 conf2 {
147 pins = "P8 GMAC0 TXEN", "V11 GMAC1 TXEN"; 147 pins = "T8 GMAC0 TXEN", "W11 GMAC1 TXEN";
148 skew-delay = <7>; 148 skew-delay = <7>;
149 }; 149 };
150 conf3 { 150 conf3 {
151 pins = "V7 GMAC0 TXC"; 151 pins = "U8 GMAC0 TXC";
152 skew-delay = <11>; 152 skew-delay = <11>;
153 }; 153 };
154 conf4 { 154 conf4 {
155 pins = "P10 GMAC1 TXC"; 155 pins = "V11 GMAC1 TXC";
156 skew-delay = <10>; 156 skew-delay = <10>;
157 }; 157 };
158 conf5 { 158 conf5 {
159 /* The data lines all have default skew */ 159 /* The data lines all have default skew */
160 pins = "U8 GMAC0 RXD0", "V8 GMAC0 RXD1", 160 pins = "W8 GMAC0 RXD0", "V9 GMAC0 RXD1",
161 "P9 GMAC0 RXD2", "R9 GMAC0 RXD3", 161 "Y8 GMAC0 RXD2", "U9 GMAC0 RXD3",
162 "U7 GMAC0 TXD0", "T7 GMAC0 TXD1", 162 "T7 GMAC0 TXD0", "U6 GMAC0 TXD1",
163 "R7 GMAC0 TXD2", "P7 GMAC0 TXD3", 163 "V7 GMAC0 TXD2", "U7 GMAC0 TXD3",
164 "R11 GMAC1 RXD0", "P11 GMAC1 RXD1", 164 "Y12 GMAC1 RXD0", "V12 GMAC1 RXD1",
165 "V12 GMAC1 RXD2", "U12 GMAC1 RXD3", 165 "T11 GMAC1 RXD2", "W12 GMAC1 RXD3",
166 "R10 GMAC1 TXD0", "T10 GMAC1 TXD1", 166 "U10 GMAC1 TXD0", "Y10 GMAC1 TXD1",
167 "U10 GMAC1 TXD2", "V10 GMAC1 TXD3"; 167 "W10 GMAC1 TXD2", "T9 GMAC1 TXD3";
168 skew-delay = <7>; 168 skew-delay = <7>;
169 }; 169 };
170 /* Set up drive strength on GMAC0 to 16 mA */ 170 /* Set up drive strength on GMAC0 to 16 mA */