76 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mmc/starfive,jh7110-mmc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: StarFive Designware Mobile Storage Host Controller8 9description:10 StarFive uses the Synopsys designware mobile storage host controller11 to interface a SoC with storage medium such as eMMC or SD/MMC cards.12 13allOf:14 - $ref: synopsys-dw-mshc-common.yaml#15 16maintainers:17 - William Qiu <william.qiu@starfivetech.com>18 19properties:20 compatible:21 const: starfive,jh7110-mmc22 23 reg:24 maxItems: 125 26 clocks:27 items:28 - description: biu clock29 - description: ciu clock30 31 clock-names:32 items:33 - const: biu34 - const: ciu35 36 interrupts:37 maxItems: 138 39 starfive,sysreg:40 $ref: /schemas/types.yaml#/definitions/phandle-array41 items:42 - items:43 - description: phandle to System Register Controller syscon node44 - description: offset of SYS_SYSCONSAIF__SYSCFG register for MMC controller45 - description: shift of SYS_SYSCONSAIF__SYSCFG register for MMC controller46 - description: mask of SYS_SYSCONSAIF__SYSCFG register for MMC controller47 description:48 Should be four parameters, the phandle to System Register Controller49 syscon node and the offset/shift/mask of SYS_SYSCONSAIF__SYSCFG register50 for MMC controller.51 52required:53 - compatible54 - reg55 - clocks56 - clock-names57 - interrupts58 59unevaluatedProperties: false60 61examples:62 - |63 mmc@16010000 {64 compatible = "starfive,jh7110-mmc";65 reg = <0x16010000 0x10000>;66 clocks = <&syscrg 91>,67 <&syscrg 93>;68 clock-names = "biu","ciu";69 resets = <&syscrg 64>;70 reset-names = "reset";71 interrupts = <74>;72 fifo-depth = <32>;73 fifo-watermark-aligned;74 data-addr = <0>;75 };76