arm64: dts: n5x: add sdr edac support
authorDinh Nguyen <dinguyen@kernel.org>
Thu, 24 Feb 2022 16:29:56 +0000 (10:29 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 1 Mar 2022 15:43:15 +0000 (09:43 -0600)
The N5X platform has the Synopsys DDR controller the includes an EDAC
controller. Add the entry for the controller in the DTS file instead of
the base Agilex DTSI because the base Agilex does not have the
controller.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts

index 5609d8df672911c1f15af08c2da0b91ca6e688e8..50b29fa7ee01a6732d95de7615bc84daf8ef6cde 100644 (file)
                /* We expect the bootloader to fill in the reg */
                reg = <0 0 0 0>;
        };
+
+       soc {
+               sdram_edac: sdr_edac@f87f8000 {
+                       compatible = "snps,ddrc-3.80a";
+                       reg = <0xf87f8000 0x400>;
+                       interrupts = <0 175 4>;
+                       intel,sysmgr-syscon = <&sysmgr 0xb8>;
+                       status = "okay";
+               };
+       };
 };
 
 &clkmgr {