summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2025-04-04 22:11:44 +0300
committerAndrew Jeffery <andrew@codeconstruct.com.au>2025-04-08 04:59:38 +0300
commit7efb8b92165fea427a03df87e14d519b8acf57f8 (patch)
treeb1c0e3afd3cdaeaf967a6cb2a1e1a119a70538eb
parent41a6d0e4c60933b7f98ebbe6e8d5debf92ad231f (diff)
downloadlinux-7efb8b92165fea427a03df87e14d519b8acf57f8.tar.xz
ARM: dts: nuvoton: Add MMC Nodes
We have the driver support code, now we just need to expose the device node which can export the SDHCI and SDMMC properties for the 2 MMC controllers in the npcm7xx. Tested on real hardware to verify that the MMC controller is functional with filesystem access. Signed-off-by: William A. Kennington III <william@wkennington.com> Link: https://patch.msgid.link/20250404191144.4111788-1-william@wkennington.com Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
-rw-r--r--arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
index e337f40ae0f2..791090f54d8b 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
@@ -149,6 +149,29 @@
status = "disabled";
};
+ sdmmc: mmc@f0842000 {
+ compatible = "nuvoton,npcm750-sdhci";
+ status = "disabled";
+ reg = <0xf0842000 0x200>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk NPCM7XX_CLK_AHB>;
+ clock-names = "clk_mmc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc8_pins
+ &mmc_pins>;
+ };
+
+ sdhci: mmc@f0840000 {
+ compatible = "nuvoton,npcm750-sdhci";
+ status = "disabled";
+ reg = <0xf0840000 0x200>;
+ interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk NPCM7XX_CLK_AHB>;
+ clock-names = "clk_sdhc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sd1_pins>;
+ };
+
ehci1: usb@f0806000 {
compatible = "nuvoton,npcm750-ehci";
reg = <0xf0806000 0x1000>;