Skip to contentSkip to conversation

an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning

PATCH In review Khairul Anuar Romli 2 participants 6 messages Dec 19, 2025 – Dec 24, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning

Add start address and ranges to eccmgr. This change corrects the warning:

socfpga_agilex.dtsi:612.10-669.5: Warning (simple_bus_reg): /soc@0/eccmgr:
missing or empty reg/ranges property

Refs:
Intel® Agilex™ Hard Processor System Address Map and Register Definitions
https://www.intel.com/content/www/us/en/programmable/hps/agilex/hps.html

---
Changes in v2:
- No changes.

---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +2 -2
index 0dfbafde8822..a977402cfd10 100644
@@ -609,7 +609,7 @@ sdr: sdr@f8011100 {
 			reg = <0xf8011100 0xc0>;
 		};
 
-		eccmgr {
+		eccmgr: eccmgr@ff8c0000 {
 			compatible = "altr,socfpga-s10-ecc-manager",
 				     "altr,socfpga-a10-ecc-manager";
 			altr,sysmgr-syscon = <&sysmgr>;
@@ -618,7 +618,7 @@ eccmgr {
 			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
-			ranges;
+			ranges = <0 0xff8c0000 0xc400>;
 
 			sdramedac {
 				compatible = "altr,sdram-edac-s10";
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 2/2 arm64: dts: socfpga: stratix10: fix CHECK_DTBS DTC_FLAGS warning

Add start address and ranges to eccmgr. This change corrects the warning:

socfpga_agilex.dtsi:612.10-669.5: Warning (simple_bus_reg): /soc@0/eccmgr:
missing or empty reg/ranges property

Refs:
Intel Stratix 10 Hard Processor System Address Map and Register Definitions
https://www.intel.com/content/www/us/en/programmable/hps/stratix-10/hps.html

---
Changes in v2:
- fix v1 eccmgreccmgr@ff8c0000 typo to eccmgr: eccmgr@ff8c0000.

---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +2 -2
index 657e986e5dba..491cf35cfe8b 100644
@@ -581,7 +581,7 @@ sdr: sdr@f8011100 {
 			reg = <0xf8011100 0xc0>;
 		};
 
-		eccmgr {
+		eccmgr: eccmgr@ff8c0000 {
 			compatible = "altr,socfpga-s10-ecc-manager",
 				     "altr,socfpga-a10-ecc-manager";
 			altr,sysmgr-syscon = <&sysmgr>;
@@ -590,7 +590,7 @@ eccmgr {
 			interrupts = <0 15 4>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
-			ranges;
+			ranges = <0 0xff8c0000 0xc400>;
 
 			sdramedac {
 				compatible = "altr,sdram-edac-s10";
Signature · 1 line
2.43.0
#3 lore raw
Quoted 9 lines · Dinh Nguyen
Quoted 5 lines · Khairul Anuar Romli

Add start address and ranges to eccmgr. This change corrects the warning:

socfpga_agilex.dtsi:612.10-669.5: Warning (simple_bus_reg): /soc@0/ eccmgr:
missing or empty reg/ranges property

Quoted 5 lines

Sorry, but I'm not seeing this warning on my local build with v6.19-rc1, nor at Rob's build[1].

Dinh

[1] https://gitlab.com/robherring/linux-dt/-/jobs?kind=BUILD

The warning observe if we build with DTC_FLAGS=-@.

Thanks.

Regards,
Khairul

maintainer
#4 lore raw
Quoted 10 lines · Khairul Anuar Romli
Quoted 9 lines · Dinh Nguyen
Quoted 5 lines · Khairul Anuar Romli

Add start address and ranges to eccmgr. This change corrects the warning:

socfpga_agilex.dtsi:612.10-669.5: Warning (simple_bus_reg): /soc@0/ eccmgr:
missing or empty reg/ranges property

Quoted 9 lines
Quoted 5 lines

Sorry, but I'm not seeing this warning on my local build with v6.19- rc1, nor at Rob's build[1].

Dinh

[1] https://gitlab.com/robherring/linux-dt/-/jobs?kind=BUILD

The warning observe if we build with DTC_FLAGS=-@.

Still do not see the warning.

Dinh

#5 lore raw
Quoted 20 lines · Dinh Nguyen
Quoted 17 lines · Khairul Anuar Romli
Quoted 14 lines · Dinh Nguyen
Quoted 5 lines · Khairul Anuar Romli

Add start address and ranges to eccmgr. This change corrects the warning:

socfpga_agilex.dtsi:612.10-669.5: Warning (simple_bus_reg): /soc@0/ eccmgr:
missing or empty reg/ranges property

Sorry, but I'm not seeing this warning on my local build with v6.19- rc1, nor at Rob's build[1].

Dinh

[1] https://gitlab.com/robherring/linux-dt/-/jobs?kind=BUILD

Quoted 6 lines
Quoted 2 lines

The warning observe if we build with DTC_FLAGS=-@.

Still do not see the warning.

Dinh

I can only see it if I remove existing arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb and then recompile with:
make -j24 DTC_FLAGS=-@ CHECK_DTBS=y intel/socfpga_agilex_socdk.dtb.

Toolchain:
aarch64-linux-gnu-gcc (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

Thanks.

Best Regards,
Khairul