* [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
@ 2025-12-19 23:48 Khairul Anuar Romli
2025-12-19 23:48 ` [PATCH v2 2/2] arm64: dts: socfpga: stratix10: " Khairul Anuar Romli
2025-12-22 12:16 ` [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: " Dinh Nguyen
0 siblings, 2 replies; 6+ messages in thread
From: Khairul Anuar Romli @ 2025-12-19 23:48 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel, 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
Refs:
Intel® Agilex™ Hard Processor System Address Map and Register
Definitions
https://www.intel.com/content/www/us/en/programmable/hps/agilex/hps.html
Signed-off-by: Khairul Anuar Romli <karom.9560@gmail.com>
---
Changes in v2:
- No changes.
---
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index 0dfbafde8822..a977402cfd10 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -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";
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v2 2/2] arm64: dts: socfpga: stratix10: fix CHECK_DTBS DTC_FLAGS warning
2025-12-19 23:48 [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning Khairul Anuar Romli
@ 2025-12-19 23:48 ` Khairul Anuar Romli
2025-12-22 12:16 ` [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: " Dinh Nguyen
1 sibling, 0 replies; 6+ messages in thread
From: Khairul Anuar Romli @ 2025-12-19 23:48 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel, 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
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
Signed-off-by: Khairul Anuar Romli <karom.9560@gmail.com>
---
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(-)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 657e986e5dba..491cf35cfe8b 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -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";
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
2025-12-19 23:48 [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning Khairul Anuar Romli
2025-12-19 23:48 ` [PATCH v2 2/2] arm64: dts: socfpga: stratix10: " Khairul Anuar Romli
@ 2025-12-22 12:16 ` Dinh Nguyen
2025-12-23 1:15 ` Khairul Anuar Romli
1 sibling, 1 reply; 6+ messages in thread
From: Dinh Nguyen @ 2025-12-22 12:16 UTC (permalink / raw)
To: Khairul Anuar Romli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-kernel
On 12/19/25 17:48, Khairul Anuar Romli wrote:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
2025-12-22 12:16 ` [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: " Dinh Nguyen
@ 2025-12-23 1:15 ` Khairul Anuar Romli
2025-12-23 3:34 ` Dinh Nguyen
0 siblings, 1 reply; 6+ messages in thread
From: Khairul Anuar Romli @ 2025-12-23 1:15 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
On 22/12/2025 8:16 pm, Dinh Nguyen wrote:
>
>
> On 12/19/25 17:48, Khairul Anuar Romli wrote:
>> 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
The warning observe if we build with DTC_FLAGS=-@.
Thanks.
Regards,
Khairul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
2025-12-23 1:15 ` Khairul Anuar Romli
@ 2025-12-23 3:34 ` Dinh Nguyen
2025-12-24 2:11 ` Khairul Anuar Romli
0 siblings, 1 reply; 6+ messages in thread
From: Dinh Nguyen @ 2025-12-23 3:34 UTC (permalink / raw)
To: Khairul Anuar Romli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-kernel
On 12/22/25 19:15, Khairul Anuar Romli wrote:
> On 22/12/2025 8:16 pm, Dinh Nguyen wrote:
>>
>>
>> On 12/19/25 17:48, Khairul Anuar Romli wrote:
>>> 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
>
>
> The warning observe if we build with DTC_FLAGS=-@.
>
Still do not see the warning.
Dinh
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning
2025-12-23 3:34 ` Dinh Nguyen
@ 2025-12-24 2:11 ` Khairul Anuar Romli
0 siblings, 0 replies; 6+ messages in thread
From: Khairul Anuar Romli @ 2025-12-24 2:11 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
devicetree, linux-kernel
On 23/12/2025 11:34 am, Dinh Nguyen wrote:
>
>
> On 12/22/25 19:15, Khairul Anuar Romli wrote:
>> On 22/12/2025 8:16 pm, Dinh Nguyen wrote:
>>>
>>>
>>> On 12/19/25 17:48, Khairul Anuar Romli wrote:
>>>> 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
>>
>>
>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-12-24 2:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 23:48 [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: fix CHECK_DTBS DTC_FLAGS warning Khairul Anuar Romli
2025-12-19 23:48 ` [PATCH v2 2/2] arm64: dts: socfpga: stratix10: " Khairul Anuar Romli
2025-12-22 12:16 ` [PATCH v2 1/2] an/rm64: dts: socfpga: agilex: " Dinh Nguyen
2025-12-23 1:15 ` Khairul Anuar Romli
2025-12-23 3:34 ` Dinh Nguyen
2025-12-24 2:11 ` Khairul Anuar Romli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox