mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: nuvoton: Add MMC Nodes
@ 2025-04-04 19:11 William A. Kennington III
  2025-04-08  1:14 ` Andrew Jeffery
  0 siblings, 1 reply; 3+ messages in thread
From: William A. Kennington III @ 2025-04-04 19:11 UTC (permalink / raw)
  To: Tomer Maimon, Rob Herring
  Cc: devicetree, linux-kernel, openbmc, 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.

Signed-off-by: William A. Kennington III <william@wkennington.com>
---
 .../dts/nuvoton/nuvoton-common-npcm7xx.dtsi   | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)

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 @@ 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>;
-- 
2.49.0.504.g3bcea36a83-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: nuvoton: Add MMC Nodes
  2025-04-04 19:11 [PATCH] ARM: dts: nuvoton: Add MMC Nodes William A. Kennington III
@ 2025-04-08  1:14 ` Andrew Jeffery
  2025-04-16 18:02   ` Tomer Maimon
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Jeffery @ 2025-04-08  1:14 UTC (permalink / raw)
  To: Tomer Maimon, Rob Herring, William A. Kennington III
  Cc: devicetree, linux-kernel, openbmc

On Fri, 04 Apr 2025 12:11:44 -0700, William A. Kennington III wrote:
> 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 <andrew@codeconstruct.com.au>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: nuvoton: Add MMC Nodes
  2025-04-08  1:14 ` Andrew Jeffery
@ 2025-04-16 18:02   ` Tomer Maimon
  0 siblings, 0 replies; 3+ messages in thread
From: Tomer Maimon @ 2025-04-16 18:02 UTC (permalink / raw)
  To: Andrew Jeffery
  Cc: Rob Herring, William A. Kennington III, devicetree, linux-kernel,
	openbmc

William, thanks for the patch.

Reviewed-by: Tomer Maimon <tmaimon77@gmail.com>

On Tue, 8 Apr 2025 at 04:15, Andrew Jeffery <andrew@codeconstruct.com.au> wrote:
>
> On Fri, 04 Apr 2025 12:11:44 -0700, William A. Kennington III wrote:
> > 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 <andrew@codeconstruct.com.au>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-16 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-04 19:11 [PATCH] ARM: dts: nuvoton: Add MMC Nodes William A. Kennington III
2025-04-08  1:14 ` Andrew Jeffery
2025-04-16 18:02   ` Tomer Maimon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®