]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: arm: agilex: Clean up DT settings in U-Boot dtsi files
authorTingting Meng <tingting.meng@altera.com>
Mon, 4 Aug 2025 01:24:46 +0000 (18:24 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 8 Aug 2025 14:20:50 +0000 (22:20 +0800)
Reorganize misplaced properties by moving board-common settings from
socfpga_agilex_socdk-u-boot.dtsi to socfpga_agilex-u-boot.dtsi to maintain
proper separation between common and board-level configurations.

Signed-off-by: Tingting Meng <tingting.meng@altera.com>
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/dts/socfpga_agilex-u-boot.dtsi
arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi

index 890ffc5f7c9e2dda7301f992649fab781322a172..91674669886a1f58b9e90d63cfdfe7e908f529e8 100644 (file)
 #include "socfpga_soc64_fit-u-boot.dtsi"
 
 /{
+       aliases {
+               spi0 = &qspi;
+               i2c0 = &i2c1;
+               sysmgr = &sysmgr;
+               freeze_br0 = &freeze_controller;
+       };
+
        memory {
                #address-cells = <2>;
                #size-cells = <2>;
        soc {
                bootph-all;
 
+               freeze_controller: freeze_controller@f9000450 {
+                       compatible = "altr,freeze-bridge-controller";
+                       reg = <0xf9000450 0x00000010>;
+                       status = "disabled";
+               };
+
                ccu: cache-controller@f7000000 {
                        compatible = "arteris,ncore-ccu";
                        reg = <0xf7000000 0x100900>;
@@ -45,6 +58,7 @@
 
 &i2c1 {
        reset-names = "i2c";
+       status = "okay";
 };
 
 &i2c2 {
 &watchdog0 {
        bootph-all;
 };
+
+#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH)
+&binman {
+       /delete-node/ kernel;
+};
+#endif
index f9491d570686a8a671b57e20f012806713cf4e24..c2770424d9c8ba6b03a206e7e5c9771d8919ac54 100644 (file)
                u-boot,spl-boot-order = &mmc,&flash0,&nand;
        };
 
-       aliases {
-               spi0 = &qspi;
-               i2c0 = &i2c1;
-               freeze_br0 = &freeze_controller;
-       };
-
-       soc {
-               freeze_controller: freeze_controller@f9000450 {
-                       compatible = "altr,freeze-bridge-controller";
-                       reg = <0xf9000450 0x00000010>;
-                       status = "disabled";
-               };
-       };
-
        memory {
                /* 8GB */
                reg = <0 0x00000000 0 0x80000000>,
        /delete-property/ cdns,read-delay;
 };
 
-&i2c1 {
-       status = "okay";
-};
-
 &nand {
        status = "okay";
        nand-bus-width = <16>;
 &qspi {
        status = "okay";
 };
-
-&watchdog0 {
-       bootph-all;
-};
-
-#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH)
-&binman {
-       /delete-node/ kernel;
-};
-#endif