Skip to contentSkip to conversation

ARM: dts: nuvoton: Add MMC Nodes

PATCH In review William A. Kennington III 3 participants 3 messages Apr 4, 2025 – Apr 16, 2025 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../dts/nuvoton/nuvoton-common-npcm7xx.dtsi   | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +23 -0
index e337f40ae0f2..791090f54d8b 100644
@@ -149,6 +149,29 @@ gmac0: eth@f0802000 {
 			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>;
Signature · 1 line
2.49.0.504.g3bcea36a83-goog
#1 lore raw
Quoted 6 lines · William A. Kennington III

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.

Thanks, I've applied this to be picked up through the BMC tree.

Signature · 1 line
Andrew Jeffery <[email protected]>
Reviewed-by
#2 lore raw

William, thanks for the patch.

Quoted 14 lines · Andrew Jeffery
Quoted 6 lines · William A. Kennington III

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.

Thanks, I've applied this to be picked up through the BMC tree.

--
Andrew Jeffery <[email protected]>