From: Tingting Meng Date: Mon, 4 Aug 2025 01:24:46 +0000 (-0700) Subject: arch: arm: agilex: Clean up DT settings in U-Boot dtsi files X-Git-Tag: v2025.10-rc2~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c465ff14a337859f47080092eddc627794da5aa5;p=pandora-u-boot.git arch: arm: agilex: Clean up DT settings in U-Boot dtsi files 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 Signed-off-by: Alif Zakuan Yuslaimi Reviewed-by: Tien Fong Chee --- diff --git a/arch/arm/dts/socfpga_agilex-u-boot.dtsi b/arch/arm/dts/socfpga_agilex-u-boot.dtsi index 890ffc5f7c9..91674669886 100644 --- a/arch/arm/dts/socfpga_agilex-u-boot.dtsi +++ b/arch/arm/dts/socfpga_agilex-u-boot.dtsi @@ -10,6 +10,13 @@ #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>; @@ -19,6 +26,12 @@ 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 { @@ -171,3 +185,9 @@ &watchdog0 { bootph-all; }; + +#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH) +&binman { + /delete-node/ kernel; +}; +#endif diff --git a/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi index f9491d57068..c2770424d9c 100644 --- a/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi +++ b/arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi @@ -14,20 +14,6 @@ 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>, @@ -43,10 +29,6 @@ /delete-property/ cdns,read-delay; }; -&i2c1 { - status = "okay"; -}; - &nand { status = "okay"; nand-bus-width = <16>; @@ -62,13 +44,3 @@ &qspi { status = "okay"; }; - -&watchdog0 { - bootph-all; -}; - -#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH) -&binman { - /delete-node/ kernel; -}; -#endif