]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: at91: sama5d2_icp: cosmetic arrangement of the nodes
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 17 Aug 2021 10:29:23 +0000 (13:29 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 21 Sep 2021 07:05:38 +0000 (10:05 +0300)
Reorder the nodes following the kernel rules: nodes in a range are sorted
by ascending bus address, and when referenced by phandle, are ordered
alphabetically.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/dts/at91-sama5d2_icp-u-boot.dtsi
arch/arm/dts/at91-sama5d2_icp.dts

index 68c27f229fa31a23aa945bc1cda4dd4dfb1fc310..b45de978c2e81df02325bb8fb6ec306204707b76 100644 (file)
        };
 };
 
-&sdmmc0 {
+&pinctrl_mikrobus1_uart {
        u-boot,dm-pre-reloc;
 };
 
-&uart0 { /* mikrobus1 uart */
+&pinctrl_qspi1_sck_cs_default {
        u-boot,dm-pre-reloc;
 };
 
-&pinctrl_sdmmc0_default {
+&pinctrl_qspi1_dat_default {
        u-boot,dm-pre-reloc;
 };
 
-&pinctrl_mikrobus1_uart {
+&pinctrl_sdmmc0_default {
        u-boot,dm-pre-reloc;
 };
 
-&pinctrl_qspi1_sck_cs_default {
+&qspi1 {
        u-boot,dm-pre-reloc;
+
+       flash@0 {
+               u-boot,dm-pre-reloc;
+       };
 };
 
-&pinctrl_qspi1_dat_default {
+&sdmmc0 {
        u-boot,dm-pre-reloc;
 };
 
-&qspi1 {
+&uart0 { /* mikrobus1 uart */
        u-boot,dm-pre-reloc;
-
-       flash@0 {
-               u-boot,dm-pre-reloc;
-       };
 };
+
index 2c6e91c1c7bfc7b572a46854b5ecab276b1e5551..44522197ff67ebc72b68df8be4a011b23cda5dff 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+ OR MIT
 /*
  * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2 ICP board
- *                     SAMA5D2 Industrial Connectivity Board
+ *                     SAMA5D2 Industrial Connectivity Platform
  *
  *  Copyright (c) 2018, Microchip Technology Inc.
  *                2018, Eugen Hristev <eugen.hristev@microchip.com>
                                };
                        };
 
-                       uart0: serial@f801c000 { /* mikrobus1 uart */
+                       macb0: ethernet@f8008000 {
                                pinctrl-names = "default";
-                               pinctrl-0 = <&pinctrl_mikrobus1_uart>;
+                               pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
+                               phy-mode = "internal";
                                status = "okay";
                        };
 
-                       macb0: ethernet@f8008000 {
+                       uart0: serial@f801c000 { /* mikrobus1 uart */
                                pinctrl-names = "default";
-                               pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
-                               phy-mode = "internal";
+                               pinctrl-0 = <&pinctrl_mikrobus1_uart>;
                                status = "okay";
                        };
 
@@ -85,6 +85,7 @@
                                        pagesize = <16>;
                                };
                        };
+
                        pioA: gpio@fc038000 {
                                status = "okay";
                                pinctrl {
                                                bias-pull-up;
                                        };
 
+                                       pinctrl_mikrobus1_uart: mikrobus1_uart {
+                                               pinmux = <PIN_PB26__URXD0>,
+                                                        <PIN_PB27__UTXD0>;
+                                               bias-disable;
+                                       };
+
                                        pinctrl_qspi1_sck_cs_default: qspi1_sck_cs_default {
                                                pinmux = <PIN_PA6__QSPI1_SCK>,
                                                         <PIN_PA11__QSPI1_CS>;
                                                         <PIN_PA13__SDMMC0_CD>;
                                                bias-disable;
                                        };
-
-                                       pinctrl_mikrobus1_uart: mikrobus1_uart {
-                                               pinmux = <PIN_PB26__URXD0>,
-                                                        <PIN_PB27__UTXD0>;
-                                               bias-disable;
-                                       };
                                };
                        };
                };