Re: [PATCH 4/4] arm64: dts: socfpga: agilex5: add support for the ECC manager
Krzysztof Kozlowski <[email protected]> Fri, 24 Jul 2026 11:43:09 +0200
| Newsgroups | org.kernel.vger.linux-edac,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260724-fragrant-baboon-of-temperance-c5cdc0@quoll> |
On Mon, Jul 20, 2026 at 03:14:25PM -0500, Dinh Nguyen wrote: > Add the EDAC device to the base Agilex5 platform. Add OCRAM and Ethernet ECC > device support to the Agilex5 platform. > > Signed-off-by: Dinh Nguyen <[email protected]> > --- > .../arm64/boot/dts/intel/socfpga_agilex5.dtsi | 68 +++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi > index b06c6d5d60eed..f30d476683b4a 100644 > --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi > @@ -370,6 +370,74 @@ dmac1: dma-controller@10000 { > }; > }; > > + eccmgr { Nope, this is just mis-represented. Non MMIO nodes DO NOT go to soc. > + compatible = "altr,socfpga-agilex5-ecc-manager", > + "altr,socfpga-a10-ecc-manager"; > + altr,sysmgr-syscon = <&sysmgr>; > + #address-cells = <1>; > + #size-cells = <1>; > + interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 95 IRQ_TYPE_EDGE_RISING>, > + <GIC_SPI 120 IRQ_TYPE_EDGE_RISING>, > + <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "global_sbe", "global_dbe", "io96b0" , "io96b1", > + "sdm_qspi_sbe", "sdm_qspi_dbe", "sdm_seu"; > + interrupt-controller; > + #interrupt-cells = <2>; > + ranges; > + > + ocram-ecc@108cc000 { But this is MMIO node? This is just mess and wrong. If ecc mgr DOES NOT have addressable range, then neither its children have. Also for all nodes here: Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation If you cannot find a name matching your device, please check in kernel sources for similar cases or you can grow the spec (via pull request to DT spec repo). Best regards, Krzysztof