27612fd9e4e87c33c5382992f332e0ed21091f58
[openwrt/staging/pepe2k.git] /
1 From 64ef7e977767e3b1305fb94a5169d8b7d3b19b6c Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Wed, 19 Jul 2023 17:17:18 +0800
4 Subject: [PATCH 21/29] arm: dts: mediatek: convert gmac link mode to
5 2500base-x
6
7 Now that individual 2.5Gbps SGMII support has been added to
8 mtk-eth, all boards that use 2.5Gbps link with mt7531 must be
9 converted to use "2500base-x" instead of "sgmii".
10
11 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
12 [also convert BPi-R3]
13 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
14 ---
15 arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 4 ++--
16 arch/arm/dts/mt7622-rfb.dts | 4 ++--
17 arch/arm/dts/mt7629-rfb.dts | 4 ++--
18 arch/arm/dts/mt7981-emmc-rfb.dts | 4 ++--
19 arch/arm/dts/mt7981-rfb.dts | 4 ++--
20 arch/arm/dts/mt7981-sd-rfb.dts | 4 ++--
21 arch/arm/dts/mt7986a-bpi-r3-sd.dts | 4 ++--
22 arch/arm/dts/mt7986a-rfb.dts | 4 ++--
23 arch/arm/dts/mt7986a-sd-rfb.dts | 4 ++--
24 arch/arm/dts/mt7986b-rfb.dts | 4 ++--
25 arch/arm/dts/mt7986b-sd-rfb.dts | 4 ++--
26 11 files changed, 22 insertions(+), 22 deletions(-)
27
28 --- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
29 +++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
30 @@ -224,12 +224,12 @@
31 &eth {
32 status = "okay";
33 mediatek,gmac-id = <0>;
34 - phy-mode = "sgmii";
35 + phy-mode = "2500base-x";
36 mediatek,switch = "mt7531";
37 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;
38
39 fixed-link {
40 - speed = <1000>;
41 + speed = <2500>;
42 full-duplex;
43 };
44 };
45 --- a/arch/arm/dts/mt7622-rfb.dts
46 +++ b/arch/arm/dts/mt7622-rfb.dts
47 @@ -240,12 +240,12 @@
48 &eth {
49 status = "okay";
50 mediatek,gmac-id = <0>;
51 - phy-mode = "sgmii";
52 + phy-mode = "2500base-x";
53 mediatek,switch = "mt7531";
54 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;
55
56 fixed-link {
57 - speed = <1000>;
58 + speed = <2500>;
59 full-duplex;
60 };
61 };
62 --- a/arch/arm/dts/mt7629-rfb.dts
63 +++ b/arch/arm/dts/mt7629-rfb.dts
64 @@ -25,12 +25,12 @@
65 &eth {
66 status = "okay";
67 mediatek,gmac-id = <0>;
68 - phy-mode = "sgmii";
69 + phy-mode = "2500base-x";
70 mediatek,switch = "mt7531";
71 reset-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
72
73 fixed-link {
74 - speed = <1000>;
75 + speed = <2500>;
76 full-duplex;
77 };
78 };
79 --- a/arch/arm/dts/mt7981-emmc-rfb.dts
80 +++ b/arch/arm/dts/mt7981-emmc-rfb.dts
81 @@ -46,12 +46,12 @@
82 &eth {
83 status = "okay";
84 mediatek,gmac-id = <0>;
85 - phy-mode = "sgmii";
86 + phy-mode = "2500base-x";
87 mediatek,switch = "mt7531";
88 reset-gpios = <&gpio 39 GPIO_ACTIVE_HIGH>;
89
90 fixed-link {
91 - speed = <1000>;
92 + speed = <2500>;
93 full-duplex;
94 };
95 };
96 --- a/arch/arm/dts/mt7981-rfb.dts
97 +++ b/arch/arm/dts/mt7981-rfb.dts
98 @@ -37,12 +37,12 @@
99 &eth {
100 status = "okay";
101 mediatek,gmac-id = <0>;
102 - phy-mode = "sgmii";
103 + phy-mode = "2500base-x";
104 mediatek,switch = "mt7531";
105 reset-gpios = <&gpio 39 GPIO_ACTIVE_HIGH>;
106
107 fixed-link {
108 - speed = <1000>;
109 + speed = <2500>;
110 full-duplex;
111 };
112 };
113 --- a/arch/arm/dts/mt7981-sd-rfb.dts
114 +++ b/arch/arm/dts/mt7981-sd-rfb.dts
115 @@ -46,12 +46,12 @@
116 &eth {
117 status = "okay";
118 mediatek,gmac-id = <0>;
119 - phy-mode = "sgmii";
120 + phy-mode = "2500base-x";
121 mediatek,switch = "mt7531";
122 reset-gpios = <&gpio 39 GPIO_ACTIVE_HIGH>;
123
124 fixed-link {
125 - speed = <1000>;
126 + speed = <2500>;
127 full-duplex;
128 };
129 };
130 --- a/arch/arm/dts/mt7986a-bpi-r3-sd.dts
131 +++ b/arch/arm/dts/mt7986a-bpi-r3-sd.dts
132 @@ -76,12 +76,12 @@
133 &eth {
134 status = "okay";
135 mediatek,gmac-id = <0>;
136 - phy-mode = "sgmii";
137 + phy-mode = "2500base-x";
138 mediatek,switch = "mt7531";
139 reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
140
141 fixed-link {
142 - speed = <1000>;
143 + speed = <2500>;
144 full-duplex;
145 };
146 };
147 --- a/arch/arm/dts/mt7986a-rfb.dts
148 +++ b/arch/arm/dts/mt7986a-rfb.dts
149 @@ -55,12 +55,12 @@
150 &eth {
151 status = "okay";
152 mediatek,gmac-id = <0>;
153 - phy-mode = "sgmii";
154 + phy-mode = "2500base-x";
155 mediatek,switch = "mt7531";
156 reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
157
158 fixed-link {
159 - speed = <1000>;
160 + speed = <2500>;
161 full-duplex;
162 };
163 };
164 --- a/arch/arm/dts/mt7986a-sd-rfb.dts
165 +++ b/arch/arm/dts/mt7986a-sd-rfb.dts
166 @@ -47,12 +47,12 @@
167 &eth {
168 status = "okay";
169 mediatek,gmac-id = <0>;
170 - phy-mode = "sgmii";
171 + phy-mode = "2500base-x";
172 mediatek,switch = "mt7531";
173 reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
174
175 fixed-link {
176 - speed = <1000>;
177 + speed = <2500>;
178 full-duplex;
179 };
180 };
181 --- a/arch/arm/dts/mt7986b-rfb.dts
182 +++ b/arch/arm/dts/mt7986b-rfb.dts
183 @@ -46,12 +46,12 @@
184 &eth {
185 status = "okay";
186 mediatek,gmac-id = <0>;
187 - phy-mode = "sgmii";
188 + phy-mode = "2500base-x";
189 mediatek,switch = "mt7531";
190 reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
191
192 fixed-link {
193 - speed = <1000>;
194 + speed = <2500>;
195 full-duplex;
196 };
197 };
198 --- a/arch/arm/dts/mt7986b-sd-rfb.dts
199 +++ b/arch/arm/dts/mt7986b-sd-rfb.dts
200 @@ -47,12 +47,12 @@
201 &eth {
202 status = "okay";
203 mediatek,gmac-id = <0>;
204 - phy-mode = "sgmii";
205 + phy-mode = "2500base-x";
206 mediatek,switch = "mt7531";
207 reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
208
209 fixed-link {
210 - speed = <1000>;
211 + speed = <2500>;
212 full-duplex;
213 };
214 };