Skip to content

Commit 297fa85

Browse files
jhswartztsbogend
authored andcommitted
mips: dts: ralink: mt7621: reorder mmc node attributes
Shuffle the attributes of the MMC node to meet the guidelines provided by the DTS style guide. Signed-off-by: Justin Swartz <[email protected]> Reviewed-by: Arınç ÜNAL <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Sergio Paracuellos <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 384f8ef commit 297fa85

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

arch/mips/boot/dts/ralink/mt7621.dtsi

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,29 +289,33 @@
289289
};
290290

291291
mmc: mmc@1e130000 {
292-
status = "disabled";
293-
294292
compatible = "mediatek,mt7620-mmc";
295293
reg = <0x1e130000 0x4000>;
296294

297295
bus-width = <4>;
298-
max-frequency = <48000000>;
299-
cap-sd-highspeed;
300-
cap-mmc-highspeed;
301-
vmmc-supply = <&mmc_fixed_3v3>;
302-
vqmmc-supply = <&mmc_fixed_1v8_io>;
303-
disable-wp;
304296

305-
pinctrl-names = "default", "state_uhs";
306-
pinctrl-0 = <&sdhci_pins>;
307-
pinctrl-1 = <&sdhci_pins>;
297+
cap-mmc-highspeed;
298+
cap-sd-highspeed;
308299

309300
clocks = <&sysc MT7621_CLK_SHXC>,
310301
<&sysc MT7621_CLK_50M>;
311302
clock-names = "source", "hclk";
312303

304+
disable-wp;
305+
313306
interrupt-parent = <&gic>;
314307
interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
308+
309+
max-frequency = <48000000>;
310+
311+
pinctrl-names = "default", "state_uhs";
312+
pinctrl-0 = <&sdhci_pins>;
313+
pinctrl-1 = <&sdhci_pins>;
314+
315+
vmmc-supply = <&mmc_fixed_3v3>;
316+
vqmmc-supply = <&mmc_fixed_1v8_io>;
317+
318+
status = "disabled";
315319
};
316320

317321
usb: usb@1e1c0000 {

0 commit comments

Comments
 (0)