116ecd8f3SWan Ahmad Zainie# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 216ecd8f3SWan Ahmad Zainie%YAML 1.2 316ecd8f3SWan Ahmad Zainie--- 41e52a7e6SKrzysztof Kozlowski$id: http://devicetree.org/schemas/mmc/arasan,sdhci.yaml# 51e52a7e6SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 616ecd8f3SWan Ahmad Zainie 79d69d47fSKrzysztof Kozlowskititle: Arasan SDHCI Controller 816ecd8f3SWan Ahmad Zainie 916ecd8f3SWan Ahmad Zainiemaintainers: 1016ecd8f3SWan Ahmad Zainie - Adrian Hunter <adrian.hunter@intel.com> 1116ecd8f3SWan Ahmad Zainie 1216ecd8f3SWan Ahmad ZainieallOf: 131e52a7e6SKrzysztof Kozlowski - $ref: mmc-controller.yaml# 1416ecd8f3SWan Ahmad Zainie - if: 1516ecd8f3SWan Ahmad Zainie properties: 1616ecd8f3SWan Ahmad Zainie compatible: 1716ecd8f3SWan Ahmad Zainie contains: 1816ecd8f3SWan Ahmad Zainie const: arasan,sdhci-5.1 1916ecd8f3SWan Ahmad Zainie then: 2016ecd8f3SWan Ahmad Zainie required: 2116ecd8f3SWan Ahmad Zainie - phys 2216ecd8f3SWan Ahmad Zainie - phy-names 2316ecd8f3SWan Ahmad Zainie - if: 2416ecd8f3SWan Ahmad Zainie properties: 2516ecd8f3SWan Ahmad Zainie compatible: 2616ecd8f3SWan Ahmad Zainie contains: 2716ecd8f3SWan Ahmad Zainie enum: 2816ecd8f3SWan Ahmad Zainie - xlnx,zynqmp-8.9a 2916ecd8f3SWan Ahmad Zainie - xlnx,versal-8.9a 308aa72064SSai Krishna Potthuri - xlnx,versal-net-emmc 3116ecd8f3SWan Ahmad Zainie then: 3216ecd8f3SWan Ahmad Zainie properties: 3316ecd8f3SWan Ahmad Zainie clock-output-names: 34710d4d91SMichal Simek oneOf: 35710d4d91SMichal Simek - items: 3616ecd8f3SWan Ahmad Zainie - const: clk_out_sd0 3716ecd8f3SWan Ahmad Zainie - const: clk_in_sd0 38710d4d91SMichal Simek - items: 39710d4d91SMichal Simek - const: clk_out_sd1 40710d4d91SMichal Simek - const: clk_in_sd1 41*a06f633eSWolfram Sang - if: 42*a06f633eSWolfram Sang properties: 43*a06f633eSWolfram Sang compatible: 44*a06f633eSWolfram Sang contains: 45*a06f633eSWolfram Sang const: renesas,rzn1-sdhci 46*a06f633eSWolfram Sang then: 47*a06f633eSWolfram Sang properties: 48*a06f633eSWolfram Sang interrupts: 49*a06f633eSWolfram Sang minItems: 2 5016ecd8f3SWan Ahmad Zainie 5116ecd8f3SWan Ahmad Zainieproperties: 5216ecd8f3SWan Ahmad Zainie compatible: 5316ecd8f3SWan Ahmad Zainie oneOf: 5416ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-8.9a # generic Arasan SDHCI 8.9a PHY 5516ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-4.9a # generic Arasan SDHCI 4.9a PHY 5616ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-5.1 # generic Arasan SDHCI 5.1 PHY 5716ecd8f3SWan Ahmad Zainie - items: 58*a06f633eSWolfram Sang - const: renesas,r9a06g032-sdhci # Renesas RZ/N1D SoC 59*a06f633eSWolfram Sang - const: renesas,rzn1-sdhci # Renesas RZ/N1 family 60*a06f633eSWolfram Sang - const: arasan,sdhci-8.9a 61*a06f633eSWolfram Sang - items: 6216ecd8f3SWan Ahmad Zainie - const: rockchip,rk3399-sdhci-5.1 # rk3399 eMMC PHY 6316ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-5.1 6416ecd8f3SWan Ahmad Zainie description: 6516ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 6616ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 6716ecd8f3SWan Ahmad Zainie - items: 6816ecd8f3SWan Ahmad Zainie - const: xlnx,zynqmp-8.9a # ZynqMP SDHCI 8.9a PHY 6916ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-8.9a 7016ecd8f3SWan Ahmad Zainie description: 7116ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 7216ecd8f3SWan Ahmad Zainie clock-output-names and '#clock-cells'. 7316ecd8f3SWan Ahmad Zainie - items: 7416ecd8f3SWan Ahmad Zainie - const: xlnx,versal-8.9a # Versal SDHCI 8.9a PHY 7516ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-8.9a 7616ecd8f3SWan Ahmad Zainie description: 7716ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 7816ecd8f3SWan Ahmad Zainie clock-output-names and '#clock-cells'. 798aa72064SSai Krishna Potthuri - const: xlnx,versal-net-emmc # Versal Net eMMC PHY 808aa72064SSai Krishna Potthuri description: 818aa72064SSai Krishna Potthuri For this device it is strongly suggested to include 828aa72064SSai Krishna Potthuri clock-output-names and '#clock-cells'. 8316ecd8f3SWan Ahmad Zainie - items: 8416ecd8f3SWan Ahmad Zainie - const: intel,lgm-sdhci-5.1-emmc # Intel LGM eMMC PHY 8516ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-5.1 8616ecd8f3SWan Ahmad Zainie description: 8716ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 8816ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 8916ecd8f3SWan Ahmad Zainie - items: 9016ecd8f3SWan Ahmad Zainie - const: intel,lgm-sdhci-5.1-sdxc # Intel LGM SDXC PHY 9116ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-5.1 9216ecd8f3SWan Ahmad Zainie description: 9316ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 9416ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 9516ecd8f3SWan Ahmad Zainie - items: 9616ecd8f3SWan Ahmad Zainie - const: intel,keembay-sdhci-5.1-emmc # Intel Keem Bay eMMC PHY 9716ecd8f3SWan Ahmad Zainie - const: arasan,sdhci-5.1 9816ecd8f3SWan Ahmad Zainie description: 9916ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 10016ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 10116ecd8f3SWan Ahmad Zainie - const: intel,keembay-sdhci-5.1-sd # Intel Keem Bay SD controller 10216ecd8f3SWan Ahmad Zainie description: 10316ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 10416ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 10516ecd8f3SWan Ahmad Zainie - const: intel,keembay-sdhci-5.1-sdio # Intel Keem Bay SDIO controller 10616ecd8f3SWan Ahmad Zainie description: 10716ecd8f3SWan Ahmad Zainie For this device it is strongly suggested to include 10816ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon. 10916ecd8f3SWan Ahmad Zainie 11016ecd8f3SWan Ahmad Zainie reg: 11116ecd8f3SWan Ahmad Zainie maxItems: 1 11216ecd8f3SWan Ahmad Zainie 11316ecd8f3SWan Ahmad Zainie clocks: 11416ecd8f3SWan Ahmad Zainie minItems: 2 11516ecd8f3SWan Ahmad Zainie maxItems: 3 11616ecd8f3SWan Ahmad Zainie 11716ecd8f3SWan Ahmad Zainie clock-names: 11816ecd8f3SWan Ahmad Zainie minItems: 2 11916ecd8f3SWan Ahmad Zainie items: 12016ecd8f3SWan Ahmad Zainie - const: clk_xin 12116ecd8f3SWan Ahmad Zainie - const: clk_ahb 12216ecd8f3SWan Ahmad Zainie - const: gate 12316ecd8f3SWan Ahmad Zainie 12416ecd8f3SWan Ahmad Zainie interrupts: 125*a06f633eSWolfram Sang minItems: 1 126*a06f633eSWolfram Sang maxItems: 2 127*a06f633eSWolfram Sang 128*a06f633eSWolfram Sang interrupt-names: 129*a06f633eSWolfram Sang minItems: 1 130*a06f633eSWolfram Sang items: 131*a06f633eSWolfram Sang - const: int 132*a06f633eSWolfram Sang - const: wakeup 13316ecd8f3SWan Ahmad Zainie 13416ecd8f3SWan Ahmad Zainie phys: 13516ecd8f3SWan Ahmad Zainie maxItems: 1 13616ecd8f3SWan Ahmad Zainie 13716ecd8f3SWan Ahmad Zainie phy-names: 13816ecd8f3SWan Ahmad Zainie const: phy_arasan 13916ecd8f3SWan Ahmad Zainie 1404df297aaSRob Herring resets: 1414df297aaSRob Herring maxItems: 1 1424df297aaSRob Herring 14316ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon: 14416ecd8f3SWan Ahmad Zainie $ref: /schemas/types.yaml#/definitions/phandle 14516ecd8f3SWan Ahmad Zainie description: 14616ecd8f3SWan Ahmad Zainie A phandle to a syscon device (see ../mfd/syscon.txt) used to access 14716ecd8f3SWan Ahmad Zainie core corecfg registers. Offsets of registers in this syscon are 14816ecd8f3SWan Ahmad Zainie determined based on the main compatible string for the device. 14916ecd8f3SWan Ahmad Zainie 15016ecd8f3SWan Ahmad Zainie clock-output-names: 15116ecd8f3SWan Ahmad Zainie minItems: 1 15216ecd8f3SWan Ahmad Zainie maxItems: 2 15316ecd8f3SWan Ahmad Zainie description: 15416ecd8f3SWan Ahmad Zainie Name of the card clock which will be exposed by this device. 15516ecd8f3SWan Ahmad Zainie 15616ecd8f3SWan Ahmad Zainie '#clock-cells': 15716ecd8f3SWan Ahmad Zainie enum: [0, 1] 15816ecd8f3SWan Ahmad Zainie description: 15916ecd8f3SWan Ahmad Zainie With this property in place we will export one or two clocks 16016ecd8f3SWan Ahmad Zainie representing the Card Clock. These clocks are expected to be 16116ecd8f3SWan Ahmad Zainie consumed by our PHY. 16216ecd8f3SWan Ahmad Zainie 16316ecd8f3SWan Ahmad Zainie xlnx,fails-without-test-cd: 16416ecd8f3SWan Ahmad Zainie $ref: /schemas/types.yaml#/definitions/flag 16516ecd8f3SWan Ahmad Zainie description: 16616ecd8f3SWan Ahmad Zainie When present, the controller doesn't work when the CD line is not 16716ecd8f3SWan Ahmad Zainie connected properly, and the line is not connected properly. 16816ecd8f3SWan Ahmad Zainie Test mode can be used to force the controller to function. 16916ecd8f3SWan Ahmad Zainie 17016ecd8f3SWan Ahmad Zainie xlnx,int-clock-stable-broken: 17116ecd8f3SWan Ahmad Zainie $ref: /schemas/types.yaml#/definitions/flag 17216ecd8f3SWan Ahmad Zainie description: 17316ecd8f3SWan Ahmad Zainie When present, the controller always reports that the internal clock 17416ecd8f3SWan Ahmad Zainie is stable even when it is not. 17516ecd8f3SWan Ahmad Zainie 17616ecd8f3SWan Ahmad Zainie xlnx,mio-bank: 17716ecd8f3SWan Ahmad Zainie $ref: /schemas/types.yaml#/definitions/uint32 1782a394808SMichal Simek enum: [0, 1, 2] 17916ecd8f3SWan Ahmad Zainie default: 0 18016ecd8f3SWan Ahmad Zainie description: 18116ecd8f3SWan Ahmad Zainie The MIO bank number in which the command and data lines are configured. 18216ecd8f3SWan Ahmad Zainie 18392b5b533SMichal Simek iommus: 18492b5b533SMichal Simek maxItems: 1 18592b5b533SMichal Simek 18692b5b533SMichal Simek power-domains: 18792b5b533SMichal Simek maxItems: 1 18892b5b533SMichal Simek 18916ecd8f3SWan Ahmad Zainiedependencies: 19016ecd8f3SWan Ahmad Zainie '#clock-cells': [ clock-output-names ] 19116ecd8f3SWan Ahmad Zainie 19216ecd8f3SWan Ahmad Zainierequired: 19316ecd8f3SWan Ahmad Zainie - compatible 19416ecd8f3SWan Ahmad Zainie - reg 19516ecd8f3SWan Ahmad Zainie - interrupts 19616ecd8f3SWan Ahmad Zainie - clocks 19716ecd8f3SWan Ahmad Zainie - clock-names 19816ecd8f3SWan Ahmad Zainie 19916ecd8f3SWan Ahmad ZainieunevaluatedProperties: false 20016ecd8f3SWan Ahmad Zainie 20116ecd8f3SWan Ahmad Zainieexamples: 20216ecd8f3SWan Ahmad Zainie - | 20316ecd8f3SWan Ahmad Zainie mmc@e0100000 { 20416ecd8f3SWan Ahmad Zainie compatible = "arasan,sdhci-8.9a"; 20516ecd8f3SWan Ahmad Zainie reg = <0xe0100000 0x1000>; 20616ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb"; 20716ecd8f3SWan Ahmad Zainie clocks = <&clkc 21>, <&clkc 32>; 20816ecd8f3SWan Ahmad Zainie interrupt-parent = <&gic>; 20916ecd8f3SWan Ahmad Zainie interrupts = <0 24 4>; 21016ecd8f3SWan Ahmad Zainie }; 21116ecd8f3SWan Ahmad Zainie 21216ecd8f3SWan Ahmad Zainie - | 21316ecd8f3SWan Ahmad Zainie mmc@e2800000 { 21416ecd8f3SWan Ahmad Zainie compatible = "arasan,sdhci-5.1"; 21516ecd8f3SWan Ahmad Zainie reg = <0xe2800000 0x1000>; 21616ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb"; 21716ecd8f3SWan Ahmad Zainie clocks = <&cru 8>, <&cru 18>; 21816ecd8f3SWan Ahmad Zainie interrupt-parent = <&gic>; 21916ecd8f3SWan Ahmad Zainie interrupts = <0 24 4>; 22016ecd8f3SWan Ahmad Zainie phys = <&emmc_phy>; 22116ecd8f3SWan Ahmad Zainie phy-names = "phy_arasan"; 22216ecd8f3SWan Ahmad Zainie }; 22316ecd8f3SWan Ahmad Zainie 22416ecd8f3SWan Ahmad Zainie - | 22516ecd8f3SWan Ahmad Zainie #include <dt-bindings/clock/rk3399-cru.h> 22616ecd8f3SWan Ahmad Zainie #include <dt-bindings/interrupt-controller/arm-gic.h> 22716ecd8f3SWan Ahmad Zainie #include <dt-bindings/interrupt-controller/irq.h> 22816ecd8f3SWan Ahmad Zainie mmc@fe330000 { 22916ecd8f3SWan Ahmad Zainie compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1"; 23016ecd8f3SWan Ahmad Zainie reg = <0xfe330000 0x10000>; 23116ecd8f3SWan Ahmad Zainie interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 23216ecd8f3SWan Ahmad Zainie clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>; 23316ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb"; 23416ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon = <&grf>; 23516ecd8f3SWan Ahmad Zainie assigned-clocks = <&cru SCLK_EMMC>; 23616ecd8f3SWan Ahmad Zainie assigned-clock-rates = <200000000>; 23716ecd8f3SWan Ahmad Zainie clock-output-names = "emmc_cardclock"; 23816ecd8f3SWan Ahmad Zainie phys = <&emmc_phy>; 23916ecd8f3SWan Ahmad Zainie phy-names = "phy_arasan"; 24016ecd8f3SWan Ahmad Zainie #clock-cells = <0>; 24116ecd8f3SWan Ahmad Zainie }; 24216ecd8f3SWan Ahmad Zainie 24316ecd8f3SWan Ahmad Zainie - | 24416ecd8f3SWan Ahmad Zainie mmc@ff160000 { 24516ecd8f3SWan Ahmad Zainie compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; 24616ecd8f3SWan Ahmad Zainie interrupt-parent = <&gic>; 24716ecd8f3SWan Ahmad Zainie interrupts = <0 48 4>; 24816ecd8f3SWan Ahmad Zainie reg = <0xff160000 0x1000>; 249dd69bd87SSwati Agarwal clocks = <&clk200>, <&clk200>, <&clk1200>; 250dd69bd87SSwati Agarwal clock-names = "clk_xin", "clk_ahb", "gate"; 25116ecd8f3SWan Ahmad Zainie clock-output-names = "clk_out_sd0", "clk_in_sd0"; 25216ecd8f3SWan Ahmad Zainie #clock-cells = <1>; 25316ecd8f3SWan Ahmad Zainie clk-phase-sd-hs = <63>, <72>; 25416ecd8f3SWan Ahmad Zainie }; 25516ecd8f3SWan Ahmad Zainie 25616ecd8f3SWan Ahmad Zainie - | 25716ecd8f3SWan Ahmad Zainie mmc@f1040000 { 25816ecd8f3SWan Ahmad Zainie compatible = "xlnx,versal-8.9a", "arasan,sdhci-8.9a"; 25916ecd8f3SWan Ahmad Zainie interrupt-parent = <&gic>; 26016ecd8f3SWan Ahmad Zainie interrupts = <0 126 4>; 26116ecd8f3SWan Ahmad Zainie reg = <0xf1040000 0x10000>; 262dd69bd87SSwati Agarwal clocks = <&clk200>, <&clk200>, <&clk1200>; 263dd69bd87SSwati Agarwal clock-names = "clk_xin", "clk_ahb", "gate"; 26416ecd8f3SWan Ahmad Zainie clock-output-names = "clk_out_sd0", "clk_in_sd0"; 26516ecd8f3SWan Ahmad Zainie #clock-cells = <1>; 26616ecd8f3SWan Ahmad Zainie clk-phase-sd-hs = <132>, <60>; 26716ecd8f3SWan Ahmad Zainie }; 26816ecd8f3SWan Ahmad Zainie 26916ecd8f3SWan Ahmad Zainie - | 27016ecd8f3SWan Ahmad Zainie #define LGM_CLK_EMMC5 27116ecd8f3SWan Ahmad Zainie #define LGM_CLK_NGI 27216ecd8f3SWan Ahmad Zainie #define LGM_GCLK_EMMC 27316ecd8f3SWan Ahmad Zainie mmc@ec700000 { 27416ecd8f3SWan Ahmad Zainie compatible = "intel,lgm-sdhci-5.1-emmc", "arasan,sdhci-5.1"; 27516ecd8f3SWan Ahmad Zainie reg = <0xec700000 0x300>; 27616ecd8f3SWan Ahmad Zainie interrupt-parent = <&ioapic1>; 27716ecd8f3SWan Ahmad Zainie interrupts = <44 1>; 27816ecd8f3SWan Ahmad Zainie clocks = <&cgu0 LGM_CLK_EMMC5>, <&cgu0 LGM_CLK_NGI>, 27916ecd8f3SWan Ahmad Zainie <&cgu0 LGM_GCLK_EMMC>; 28016ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb", "gate"; 28116ecd8f3SWan Ahmad Zainie clock-output-names = "emmc_cardclock"; 28216ecd8f3SWan Ahmad Zainie #clock-cells = <0>; 28316ecd8f3SWan Ahmad Zainie phys = <&emmc_phy>; 28416ecd8f3SWan Ahmad Zainie phy-names = "phy_arasan"; 28516ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon = <&sysconf>; 28616ecd8f3SWan Ahmad Zainie }; 28716ecd8f3SWan Ahmad Zainie 28816ecd8f3SWan Ahmad Zainie - | 28916ecd8f3SWan Ahmad Zainie #define LGM_CLK_SDIO 29016ecd8f3SWan Ahmad Zainie #define LGM_GCLK_SDXC 29116ecd8f3SWan Ahmad Zainie mmc@ec600000 { 29216ecd8f3SWan Ahmad Zainie compatible = "intel,lgm-sdhci-5.1-sdxc", "arasan,sdhci-5.1"; 29316ecd8f3SWan Ahmad Zainie reg = <0xec600000 0x300>; 29416ecd8f3SWan Ahmad Zainie interrupt-parent = <&ioapic1>; 29516ecd8f3SWan Ahmad Zainie interrupts = <43 1>; 29616ecd8f3SWan Ahmad Zainie clocks = <&cgu0 LGM_CLK_SDIO>, <&cgu0 LGM_CLK_NGI>, 29716ecd8f3SWan Ahmad Zainie <&cgu0 LGM_GCLK_SDXC>; 29816ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb", "gate"; 29916ecd8f3SWan Ahmad Zainie clock-output-names = "sdxc_cardclock"; 30016ecd8f3SWan Ahmad Zainie #clock-cells = <0>; 30116ecd8f3SWan Ahmad Zainie phys = <&sdxc_phy>; 30216ecd8f3SWan Ahmad Zainie phy-names = "phy_arasan"; 30316ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon = <&sysconf>; 30416ecd8f3SWan Ahmad Zainie }; 30516ecd8f3SWan Ahmad Zainie 30616ecd8f3SWan Ahmad Zainie - | 30716ecd8f3SWan Ahmad Zainie #define KEEM_BAY_PSS_AUX_EMMC 30816ecd8f3SWan Ahmad Zainie #define KEEM_BAY_PSS_EMMC 30916ecd8f3SWan Ahmad Zainie mmc@33000000 { 31016ecd8f3SWan Ahmad Zainie compatible = "intel,keembay-sdhci-5.1-emmc", "arasan,sdhci-5.1"; 31116ecd8f3SWan Ahmad Zainie interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 31216ecd8f3SWan Ahmad Zainie reg = <0x33000000 0x300>; 31316ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb"; 31416ecd8f3SWan Ahmad Zainie clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>, 31516ecd8f3SWan Ahmad Zainie <&scmi_clk KEEM_BAY_PSS_EMMC>; 31616ecd8f3SWan Ahmad Zainie phys = <&emmc_phy>; 31716ecd8f3SWan Ahmad Zainie phy-names = "phy_arasan"; 31816ecd8f3SWan Ahmad Zainie assigned-clocks = <&scmi_clk KEEM_BAY_PSS_AUX_EMMC>; 31916ecd8f3SWan Ahmad Zainie assigned-clock-rates = <200000000>; 32016ecd8f3SWan Ahmad Zainie clock-output-names = "emmc_cardclock"; 32116ecd8f3SWan Ahmad Zainie #clock-cells = <0>; 32216ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon = <&mmc_phy_syscon>; 32316ecd8f3SWan Ahmad Zainie }; 32416ecd8f3SWan Ahmad Zainie 32516ecd8f3SWan Ahmad Zainie - | 32616ecd8f3SWan Ahmad Zainie #define KEEM_BAY_PSS_AUX_SD0 32716ecd8f3SWan Ahmad Zainie #define KEEM_BAY_PSS_SD0 32816ecd8f3SWan Ahmad Zainie mmc@31000000 { 32916ecd8f3SWan Ahmad Zainie compatible = "intel,keembay-sdhci-5.1-sd"; 33016ecd8f3SWan Ahmad Zainie interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 33116ecd8f3SWan Ahmad Zainie reg = <0x31000000 0x300>; 33216ecd8f3SWan Ahmad Zainie clock-names = "clk_xin", "clk_ahb"; 33316ecd8f3SWan Ahmad Zainie clocks = <&scmi_clk KEEM_BAY_PSS_AUX_SD0>, 33416ecd8f3SWan Ahmad Zainie <&scmi_clk KEEM_BAY_PSS_SD0>; 33516ecd8f3SWan Ahmad Zainie arasan,soc-ctl-syscon = <&sd0_phy_syscon>; 33616ecd8f3SWan Ahmad Zainie }; 337