an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
Subsystems (2)
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
@@ -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
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
@@ -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
Dinh Nguyen
maintainerQuoted 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 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
Dinh Nguyen
maintainerQuoted 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
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 propertySorry, 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