Skip to content

Commit adc52bf

Browse files
jbrun3tkhilman
authored andcommitted
arm64: dts: meson: fix mmc v2 chips max frequencies
According the datasheets, emmc v2 chips (gxbb and gxl) don't support more that 100Mhz in UHS-1 SD modes and HS in SDIO. Align the max-frequency to 100MHz for UHS-1 and 50MHz for HS Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
1 parent b43033b commit adc52bf

13 files changed

+20
-21
lines changed

arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164

165165
bus-width = <4>;
166166
cap-sd-highspeed;
167-
max-frequency = <100000000>;
167+
max-frequency = <50000000>;
168168

169169
non-removable;
170170
disable-wp;
@@ -184,7 +184,7 @@
184184

185185
bus-width = <4>;
186186
cap-sd-highspeed;
187-
max-frequency = <100000000>;
187+
max-frequency = <50000000>;
188188
disable-wp;
189189

190190
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273

274274
bus-width = <4>;
275275
cap-sd-highspeed;
276-
max-frequency = <200000000>;
276+
max-frequency = <50000000>;
277277

278278
non-removable;
279279
disable-wp;
@@ -301,8 +301,7 @@
301301
sd-uhs-sdr12;
302302
sd-uhs-sdr25;
303303
sd-uhs-sdr50;
304-
sd-uhs-sdr104;
305-
max-frequency = <200000000>;
304+
max-frequency = <100000000>;
306305
disable-wp;
307306

308307
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235

236236
bus-width = <4>;
237237
cap-sd-highspeed;
238-
max-frequency = <100000000>;
238+
max-frequency = <50000000>;
239239
disable-wp;
240240

241241
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
bus-width = <4>;
167167
cap-sd-highspeed;
168-
max-frequency = <100000000>;
168+
max-frequency = <50000000>;
169169

170170
non-removable;
171171
disable-wp;

arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127
bus-width = <4>;
128128
cap-sd-highspeed;
129-
max-frequency = <100000000>;
129+
max-frequency = <50000000>;
130130

131131
non-removable;
132132
disable-wp;
@@ -151,7 +151,7 @@
151151

152152
bus-width = <4>;
153153
cap-sd-highspeed;
154-
max-frequency = <100000000>;
154+
max-frequency = <50000000>;
155155
disable-wp;
156156

157157
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183

184184
bus-width = <4>;
185185
cap-sd-highspeed;
186-
max-frequency = <100000000>;
186+
max-frequency = <50000000>;
187187

188188
non-removable;
189189
disable-wp;
@@ -208,7 +208,7 @@
208208

209209
bus-width = <4>;
210210
cap-sd-highspeed;
211-
max-frequency = <100000000>;
211+
max-frequency = <50000000>;
212212
disable-wp;
213213

214214
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160

161161
bus-width = <4>;
162162
cap-sd-highspeed;
163-
max-frequency = <100000000>;
163+
max-frequency = <50000000>;
164164

165165
non-removable;
166166
disable-wp;

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237

238238
bus-width = <4>;
239239
cap-sd-highspeed;
240-
max-frequency = <100000000>;
240+
max-frequency = <50000000>;
241241
disable-wp;
242242

243243
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180

181181
bus-width = <4>;
182182
cap-sd-highspeed;
183-
max-frequency = <100000000>;
183+
max-frequency = <50000000>;
184184
disable-wp;
185185

186186
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
bus-width = <4>;
116116
cap-sd-highspeed;
117-
max-frequency = <100000000>;
117+
max-frequency = <50000000>;
118118

119119
non-removable;
120120
disable-wp;
@@ -134,7 +134,7 @@
134134

135135
bus-width = <4>;
136136
cap-sd-highspeed;
137-
max-frequency = <100000000>;
137+
max-frequency = <50000000>;
138138
disable-wp;
139139

140140
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
#size-cells = <0>;
330330

331331
bus-width = <4>;
332-
max-frequency = <100000000>;
332+
max-frequency = <50000000>;
333333

334334
non-removable;
335335
disable-wp;
@@ -353,7 +353,7 @@
353353

354354
bus-width = <4>;
355355
cap-sd-highspeed;
356-
max-frequency = <100000000>;
356+
max-frequency = <50000000>;
357357
disable-wp;
358358

359359
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
bus-width = <4>;
146146
cap-sd-highspeed;
147-
max-frequency = <100000000>;
147+
max-frequency = <50000000>;
148148
disable-wp;
149149

150150
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143

144144
bus-width = <4>;
145145
cap-sd-highspeed;
146-
max-frequency = <100000000>;
146+
max-frequency = <50000000>;
147147

148148
non-removable;
149149
disable-wp;
@@ -167,7 +167,7 @@
167167

168168
bus-width = <4>;
169169
cap-sd-highspeed;
170-
max-frequency = <100000000>;
170+
max-frequency = <50000000>;
171171
disable-wp;
172172

173173
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

0 commit comments

Comments
 (0)