Skip to content

Commit ce3fefa

Browse files
wanahmadzainiestorulf
authored andcommitted
dt-bindings: mmc: arasan: Add compatible strings for Intel Keem Bay
Add new compatible strings in sdhci-of-arasan.c to support Intel Keem Bay eMMC/SD/SDIO controller, based on Arasan SDHCI 5.1. Signed-off-by: Wan Ahmad Zainie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent f6bc818 commit ce3fefa

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

Documentation/devicetree/bindings/mmc/arasan,sdhci.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Required Properties:
2727
For this device it is strongly suggested to include arasan,soc-ctl-syscon.
2828
- "intel,lgm-sdhci-5.1-sdxc", "arasan,sdhci-5.1": Intel LGM SDXC PHY
2929
For this device it is strongly suggested to include arasan,soc-ctl-syscon.
30+
- "intel,keembay-sdhci-5.1-emmc", "arasan,sdhci-5.1": Intel Keem Bay eMMC
31+
For this device it is strongly suggested to include arasan,soc-ctl-syscon.
32+
- "intel,keembay-sdhci-5.1-sd": Intel Keem Bay SD controller
33+
For this device it is strongly suggested to include arasan,soc-ctl-syscon.
34+
- "intel,keembay-sdhci-5.1-sdio": Intel Keem Bay SDIO controller
35+
For this device it is strongly suggested to include arasan,soc-ctl-syscon.
3036

3137
[5] Documentation/devicetree/bindings/mmc/sdhci-am654.txt
3238

@@ -148,3 +154,39 @@ Example:
148154
phy-names = "phy_arasan";
149155
arasan,soc-ctl-syscon = <&sysconf>;
150156
};
157+
158+
mmc: mmc@33000000 {
159+
compatible = "intel,keembay-sdhci-5.1-emmc", "arasan,sdhci-5.1";
160+
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
161+
reg = <0x0 0x33000000 0x0 0x300>;
162+
clock-names = "clk_xin", "clk_ahb";
163+
clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>,
164+
<&scmi_clk KEEM_BAY_PSS_EMMC>;
165+
phys = <&emmc_phy>;
166+
phy-names = "phy_arasan";
167+
assigned-clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>;
168+
assigned-clock-rates = <200000000>;
169+
clock-output-names = "emmc_cardclock";
170+
#clock-cells = <0>;
171+
arasan,soc-ctl-syscon = <&mmc_phy_syscon>;
172+
};
173+
174+
sd0: mmc@31000000 {
175+
compatible = "intel,keembay-sdhci-5.1-sd";
176+
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
177+
reg = <0x0 0x31000000 0x0 0x300>;
178+
clock-names = "clk_xin", "clk_ahb";
179+
clocks = <&scmi_clk KEEM_BAY_PSS_AUX_SD0>,
180+
<&scmi_clk KEEM_BAY_PSS_SD0>;
181+
arasan,soc-ctl-syscon = <&sd0_phy_syscon>;
182+
};
183+
184+
sd1: mmc@32000000 {
185+
compatible = "intel,keembay-sdhci-5.1-sdio";
186+
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
187+
reg = <0x0 0x32000000 0x0 0x300>;
188+
clock-names = "clk_xin", "clk_ahb";
189+
clocks = <&scmi_clk KEEM_BAY_PSS_AUX_SD1>,
190+
<&scmi_clk KEEM_BAY_PSS_SD1>;
191+
arasan,soc-ctl-syscon = <&sd1_phy_syscon>;
192+
};

0 commit comments

Comments
 (0)