Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <wan.ahmad.zainie.wan.mohamad@intel.com>
Link: https://lore.kernel.org/r/20200526062758.17642-2-wan.ahmad.zainie.wan.mohamad@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Wan Ahmad Zainie and committed by
Ulf Hansson
ce3fefac f6bc8186

+42
+42
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
··· 27 27 For this device it is strongly suggested to include arasan,soc-ctl-syscon. 28 28 - "intel,lgm-sdhci-5.1-sdxc", "arasan,sdhci-5.1": Intel LGM SDXC PHY 29 29 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. 30 36 31 37 [5] Documentation/devicetree/bindings/mmc/sdhci-am654.txt 32 38 ··· 153 147 phys = <&sdxc_phy>; 154 148 phy-names = "phy_arasan"; 155 149 arasan,soc-ctl-syscon = <&sysconf>; 150 + }; 151 + 152 + mmc: mmc@33000000 { 153 + compatible = "intel,keembay-sdhci-5.1-emmc", "arasan,sdhci-5.1"; 154 + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 155 + reg = <0x0 0x33000000 0x0 0x300>; 156 + clock-names = "clk_xin", "clk_ahb"; 157 + clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>, 158 + <&scmi_clk KEEM_BAY_PSS_EMMC>; 159 + phys = <&emmc_phy>; 160 + phy-names = "phy_arasan"; 161 + assigned-clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>; 162 + assigned-clock-rates = <200000000>; 163 + clock-output-names = "emmc_cardclock"; 164 + #clock-cells = <0>; 165 + arasan,soc-ctl-syscon = <&mmc_phy_syscon>; 166 + }; 167 + 168 + sd0: mmc@31000000 { 169 + compatible = "intel,keembay-sdhci-5.1-sd"; 170 + interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 171 + reg = <0x0 0x31000000 0x0 0x300>; 172 + clock-names = "clk_xin", "clk_ahb"; 173 + clocks = <&scmi_clk KEEM_BAY_PSS_AUX_SD0>, 174 + <&scmi_clk KEEM_BAY_PSS_SD0>; 175 + arasan,soc-ctl-syscon = <&sd0_phy_syscon>; 176 + }; 177 + 178 + sd1: mmc@32000000 { 179 + compatible = "intel,keembay-sdhci-5.1-sdio"; 180 + interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 181 + reg = <0x0 0x32000000 0x0 0x300>; 182 + clock-names = "clk_xin", "clk_ahb"; 183 + clocks = <&scmi_clk KEEM_BAY_PSS_AUX_SD1>, 184 + <&scmi_clk KEEM_BAY_PSS_SD1>; 185 + arasan,soc-ctl-syscon = <&sd1_phy_syscon>; 156 186 };