[PATCH linux dev-5.15 v1 1/2] dt-bindings: mmc: npcm: NPCM binding documentation
Tomer Maimon
tmaimon77 at gmail.com
Wed Aug 3 00:16:24 AEST 2022
This patch adds the device tree binding documentation for the NPCM BMC
SoC SDHCI driver.
Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
.../devicetree/bindings/mmc/sdhci-npcm.txt | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt b/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
new file mode 100644
index 000000000000..c7c2ba6b537a
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
@@ -0,0 +1,22 @@
+* NPCM SDHCI Controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci-npcm driver.
+
+Required properties:
+- compatible : "nuvoton,npcm750-sdhci" for the NPCM7XX BMC.
+ "nuvoton,npcm845-sdhci" for the NPCM8XX BMC.
+
+Example:
+
+ sdhci0: sdhci at f0842000 {
+ compatible = "nuvoton,npcm750-sdhci";
+ status = "disabled";
+ reg = <0xf0842000 0x200>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk NPCM7XX_CLK_MMC>;
+ clock-names = "clk_mmc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc8_pins
+ &mmc_pins>;
+ };
--
2.33.0
More information about the openbmc
mailing list