riscv: dts: icicle: sort nodes alphabetically
authorConor Dooley <conor.dooley@microchip.com>
Mon, 9 May 2022 14:26:11 +0000 (15:26 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Jun 2022 22:28:51 +0000 (15:28 -0700)
The icicle device tree is in a "random" order, so clean it up and sort
its elements alphabetically to match the newly added PolarBerry dts.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220509142610.128590-11-conor.dooley@microchip.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts

index 9cd1a30edf2c571169fbf3a399a36850b5abc464..044982a11df5045b2eb7abd13d74dec8ebb69523 100644 (file)
        };
 };
 
-&refclk {
-       clock-frequency = <125000000>;
+&core_pwm0 {
+       status = "okay";
 };
 
-&mmuart1 {
+&gpio2 {
+       interrupts = <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>,
+                    <53>, <53>, <53>, <53>;
        status = "okay";
 };
 
-&mmuart2 {
+&i2c0 {
        status = "okay";
 };
 
-&mmuart3 {
+&i2c1 {
        status = "okay";
 };
 
-&mmuart4 {
+&i2c2 {
+       status = "okay";
+};
+
+&mac0 {
+       phy-mode = "sgmii";
+       phy-handle = <&phy0>;
+       status = "okay";
+};
+
+&mac1 {
+       phy-mode = "sgmii";
+       phy-handle = <&phy1>;
+       status = "okay";
+
+       phy1: ethernet-phy@9 {
+               reg = <9>;
+               ti,fifo-depth = <0x1>;
+       };
+
+       phy0: ethernet-phy@8 {
+               reg = <8>;
+               ti,fifo-depth = <0x1>;
+       };
+};
+
+&mbox {
        status = "okay";
 };
 
        status = "okay";
 };
 
-&spi0 {
-       status = "okay";
-};
-
-&spi1 {
-       status = "okay";
-};
-
-&qspi {
+&mmuart1 {
        status = "okay";
 };
 
-&i2c0 {
+&mmuart2 {
        status = "okay";
 };
 
-&i2c1 {
+&mmuart3 {
        status = "okay";
 };
 
-&i2c2 {
+&mmuart4 {
        status = "okay";
 };
 
-&mac0 {
-       phy-mode = "sgmii";
-       phy-handle = <&phy0>;
+&pcie {
        status = "okay";
 };
 
-&mac1 {
-       phy-mode = "sgmii";
-       phy-handle = <&phy1>;
+&qspi {
        status = "okay";
-
-       phy1: ethernet-phy@9 {
-               reg = <9>;
-               ti,fifo-depth = <0x1>;
-       };
-
-       phy0: ethernet-phy@8 {
-               reg = <8>;
-               ti,fifo-depth = <0x1>;
-       };
 };
 
-&gpio2 {
-       interrupts = <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>,
-                    <53>, <53>, <53>, <53>;
-       status = "okay";
+&refclk {
+       clock-frequency = <125000000>;
 };
 
 &rtc {
        status = "okay";
 };
 
-&usb {
+&spi0 {
        status = "okay";
-       dr_mode = "host";
 };
 
-&mbox {
+&spi1 {
        status = "okay";
 };
 
        status = "okay";
 };
 
-&pcie {
-       status = "okay";
-};
-
-&core_pwm0 {
+&usb {
        status = "okay";
+       dr_mode = "host";
 };