ARM: dts: npcm7xx: Move memory controller node into common devicetree
PATCH 1/1 ARM: dts: npcm7xx: Move memory controller node into common devicetree
Include the EDAC node in the common devicetree piece so that downstream boards don't have to repeat the definitions to enable EDAC.
Signed-off-by Kun Yi <[email protected]>
--- arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 7 +++++++ arch/arm/boot/dts/nuvoton-npcm730-gsj.dts | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi +7 -0
@@ -137,6 +137,13 @@ status = "disabled"; }; + mc: memory-controller@f0824000 { + compatible = "nuvoton,npcm7xx-sdram-edac"; + reg = <0xf0824000 0x1000>; + interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + emc0: eth@f0825000 { device_type = "network"; compatible = "nuvoton,npcm750-emc";
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +1 -3
@@ -41,9 +41,7 @@ }; mc: memory-controller@f0824000 { - compatible = "nuvoton,npcm7xx-sdram-edac"; - reg = <0xf0824000 0x1000>; - interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + status = "okay"; }; emc0: eth@f0825000 {
Signature · 1 line
2.25.1.481.gfbce0eb801-goog