]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: nuvoton: Add EDAC node
authorWilliam A. Kennington III <william@wkennington.com>
Tue, 1 Apr 2025 23:10:01 +0000 (16:10 -0700)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Tue, 8 Apr 2025 01:59:37 +0000 (11:29 +0930)
We have the driver support code, now we just need to expose the device
node which can export the EDAC properties for the system memory
controller. Tested on real hardware to verify that error counters show
up.

Signed-off-by: William A. Kennington III <william@wkennington.com>
Link: https://patch.msgid.link/20250401231001.3202669-1-william@wkennington.com
[arj: Add another colon to patch subject]
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi

index 868454ae6bde728d4529534aaf1f184716e83c82..c7880126cc78a3441d869af42c047164023382ec 100644 (file)
                        clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
                };
 
+               mc: memory-controller@f0824000 {
+                       compatible = "nuvoton,npcm750-memory-controller";
+                       reg = <0xf0824000 0x1000>;
+                       interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
                gmac0: eth@f0802000 {
                        device_type = "network";
                        compatible = "snps,dwmac";