Skip to content

Commit 7efb8b9

Browse files
wkenningtonamboar
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Andrew Jeffery <[email protected]>
1 parent 41a6d0e commit 7efb8b9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,29 @@
149149
status = "disabled";
150150
};
151151

152+
sdmmc: mmc@f0842000 {
153+
compatible = "nuvoton,npcm750-sdhci";
154+
status = "disabled";
155+
reg = <0xf0842000 0x200>;
156+
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
157+
clocks = <&clk NPCM7XX_CLK_AHB>;
158+
clock-names = "clk_mmc";
159+
pinctrl-names = "default";
160+
pinctrl-0 = <&mmc8_pins
161+
&mmc_pins>;
162+
};
163+
164+
sdhci: mmc@f0840000 {
165+
compatible = "nuvoton,npcm750-sdhci";
166+
status = "disabled";
167+
reg = <0xf0840000 0x200>;
168+
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
169+
clocks = <&clk NPCM7XX_CLK_AHB>;
170+
clock-names = "clk_sdhc";
171+
pinctrl-names = "default";
172+
pinctrl-0 = <&sd1_pins>;
173+
};
174+
152175
ehci1: usb@f0806000 {
153176
compatible = "nuvoton,npcm750-ehci";
154177
reg = <0xf0806000 0x1000>;

0 commit comments

Comments
 (0)