mips: dts: ralink: mt7621: reorder i2c node attributes
authorJustin Swartz <justin.swartz@risingedge.co.za>
Sat, 16 Mar 2024 04:54:34 +0000 (06:54 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 15 Apr 2024 08:23:36 +0000 (10:23 +0200)
Rearrange the order of the i2c node's attributes so that they
are inline with the DTS style guide.

Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za>
Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ralink/mt7621.dtsi

index 99d47f286769843a8b1249bf034aa3065a6e4ca7..87a3bcbc0ea582028ef6ba3cd140929f2f3c4d33 100644 (file)
                        compatible = "mediatek,mt7621-i2c";
                        reg = <0x900 0x100>;
 
-                       clocks = <&sysc MT7621_CLK_I2C>;
-                       clock-names = "i2c";
-                       resets = <&sysc MT7621_RST_I2C>;
-                       reset-names = "i2c";
-
                        #address-cells = <1>;
                        #size-cells = <0>;
 
-                       status = "disabled";
+                       clocks = <&sysc MT7621_CLK_I2C>;
+                       clock-names = "i2c";
 
                        pinctrl-names = "default";
                        pinctrl-0 = <&i2c_pins>;
+
+                       resets = <&sysc MT7621_RST_I2C>;
+                       reset-names = "i2c";
+
+                       status = "disabled";
                };
 
                memc: memory-controller@5000 {