[PATCH linux dev-5.15 v1 1/3] arm: dts: nuvoton: Add node for NPCM memory controller
Marvin Lin
milkfafa at gmail.com
Thu Aug 18 18:43:58 AEST 2022
Add node for memory controller present on Nuvoton NPCM SoCs. The memory
controller supports single bit error correction and double bit error
detection.
Signed-off-by: Marvin Lin <milkfafa at gmail.com>
---
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts | 4 ++++
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts
index 76137513e567..913c9cbdebee 100644
--- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts
+++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts
@@ -438,6 +438,10 @@
status = "okay";
};
+&mc {
+ status = "okay";
+};
+
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <
diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
index 6a1f75c93f59..100565118a59 100644
--- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
+++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
@@ -82,6 +82,13 @@
};
ahb {
+ mc: memory-controller at f0824000 {
+ compatible = "nuvoton,npcm845-memory-controller";
+ reg = <0x0 0xf0824000 0x0 0x1000>;
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
udc0:udc at f0830000 {
compatible = "nuvoton,npcm845-udc";
reg = <0x0 0xf0830000 0x0 0x1000
--
2.17.1
More information about the openbmc
mailing list