ARM: dts: am574x-idk: add support for EMIF1 ECC
authorTero Kristo <t-kristo@ti.com>
Mon, 7 Dec 2020 14:33:37 +0000 (16:33 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Dec 2020 13:57:31 +0000 (15:57 +0200)
EMIF1 has ECC support, so add the DT node with address and interrupt
details to handle this.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am574x-idk.dts
arch/arm/boot/dts/dra76x.dtsi

index 3775876..1b8f3a2 100644 (file)
@@ -39,3 +39,7 @@
 &m_can0 {
        status = "disabled";
 };
+
+&emif1 {
+       status = "okay";
+};
index b69c7d4..4a2840c 100644 (file)
@@ -9,6 +9,13 @@
        compatible = "ti,dra762", "ti,dra7";
 
        ocp {
+               emif1: emif@4c000000 {
+                       compatible = "ti,emif-dra7xx";
+                       reg = <0x4c000000 0x200>;
+                       interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
                target-module@42c01900 {
                        compatible = "ti,sysc-dra7-mcan", "ti,sysc";
                        ranges = <0x0 0x42c00000 0x2000>;