1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mmc/starfiv 4 $id: http://devicetree.org/schemas/mmc/starfive,jh7110-mmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: StarFive Designware Mobile Storage Host 7 title: StarFive Designware Mobile Storage Host Controller 8 8 9 description: 9 description: 10 StarFive uses the Synopsys designware mobile 10 StarFive uses the Synopsys designware mobile storage host controller 11 to interface a SoC with storage medium such 11 to interface a SoC with storage medium such as eMMC or SD/MMC cards. 12 12 13 allOf: 13 allOf: 14 - $ref: synopsys-dw-mshc-common.yaml# 14 - $ref: synopsys-dw-mshc-common.yaml# 15 15 16 maintainers: 16 maintainers: 17 - William Qiu <william.qiu@starfivetech.com> 17 - William Qiu <william.qiu@starfivetech.com> 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 const: starfive,jh7110-mmc 21 const: starfive,jh7110-mmc 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 clocks: 26 clocks: 27 items: 27 items: 28 - description: biu clock 28 - description: biu clock 29 - description: ciu clock 29 - description: ciu clock 30 30 31 clock-names: 31 clock-names: 32 items: 32 items: 33 - const: biu 33 - const: biu 34 - const: ciu 34 - const: ciu 35 35 36 interrupts: 36 interrupts: 37 maxItems: 1 37 maxItems: 1 38 38 39 starfive,sysreg: 39 starfive,sysreg: 40 $ref: /schemas/types.yaml#/definitions/pha 40 $ref: /schemas/types.yaml#/definitions/phandle-array 41 items: 41 items: 42 - items: 42 - items: 43 - description: phandle to System Reg 43 - description: phandle to System Register Controller syscon node 44 - description: offset of SYS_SYSCONS 44 - description: offset of SYS_SYSCONSAIF__SYSCFG register for MMC controller 45 - description: shift of SYS_SYSCONSA 45 - description: shift of SYS_SYSCONSAIF__SYSCFG register for MMC controller 46 - description: mask of SYS_SYSCONSAI 46 - description: mask of SYS_SYSCONSAIF__SYSCFG register for MMC controller 47 description: 47 description: 48 Should be four parameters, the phandle t 48 Should be four parameters, the phandle to System Register Controller 49 syscon node and the offset/shift/mask of 49 syscon node and the offset/shift/mask of SYS_SYSCONSAIF__SYSCFG register 50 for MMC controller. 50 for MMC controller. 51 51 52 required: 52 required: 53 - compatible 53 - compatible 54 - reg 54 - reg 55 - clocks 55 - clocks 56 - clock-names 56 - clock-names 57 - interrupts 57 - interrupts >> 58 - starfive,sysreg 58 59 59 unevaluatedProperties: false 60 unevaluatedProperties: false 60 61 61 examples: 62 examples: 62 - | 63 - | 63 mmc@16010000 { 64 mmc@16010000 { 64 compatible = "starfive,jh7110-mmc"; 65 compatible = "starfive,jh7110-mmc"; 65 reg = <0x16010000 0x10000>; 66 reg = <0x16010000 0x10000>; 66 clocks = <&syscrg 91>, 67 clocks = <&syscrg 91>, 67 <&syscrg 93>; 68 <&syscrg 93>; 68 clock-names = "biu","ciu"; 69 clock-names = "biu","ciu"; 69 resets = <&syscrg 64>; 70 resets = <&syscrg 64>; 70 reset-names = "reset"; 71 reset-names = "reset"; 71 interrupts = <74>; 72 interrupts = <74>; 72 fifo-depth = <32>; 73 fifo-depth = <32>; 73 fifo-watermark-aligned; 74 fifo-watermark-aligned; 74 data-addr = <0>; 75 data-addr = <0>; >> 76 starfive,sysreg = <&sys_syscon 0x14 0x1a 0x7c000000>; 75 }; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.