148 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/mmc/snps,dwcmshc-sdhci.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Synopsys Designware Mobile Storage Host Controller8 9maintainers:10 - Ulf Hansson <ulf.hansson@linaro.org>11 - Jisheng Zhang <Jisheng.Zhang@synaptics.com>12 13properties:14 compatible:15 oneOf:16 - items:17 - const: rockchip,rk3576-dwcmshc18 - const: rockchip,rk3588-dwcmshc19 - enum:20 - rockchip,rk3568-dwcmshc21 - rockchip,rk3588-dwcmshc22 - snps,dwcmshc-sdhci23 - sophgo,cv1800b-dwcmshc24 - sophgo,sg2002-dwcmshc25 - sophgo,sg2042-dwcmshc26 - thead,th1520-dwcmshc27 28 reg:29 maxItems: 130 31 interrupts:32 maxItems: 133 34 clocks:35 minItems: 136 maxItems: 537 38 clock-names:39 minItems: 140 maxItems: 541 42 power-domains:43 maxItems: 144 45 resets:46 maxItems: 547 48 reset-names:49 items:50 - const: core51 - const: bus52 - const: axi53 - const: block54 - const: timer55 56 rockchip,txclk-tapnum:57 description: Specify the number of delay for tx sampling.58 $ref: /schemas/types.yaml#/definitions/uint859 60required:61 - compatible62 - reg63 - interrupts64 - clocks65 - clock-names66 67allOf:68 - $ref: mmc-controller.yaml#69 70 - if:71 properties:72 compatible:73 contains:74 const: sophgo,sg2042-dwcmshc75 76 then:77 properties:78 clocks:79 items:80 - description: core clock81 - description: bus clock82 - description: timer clock83 clock-names:84 items:85 - const: core86 - const: bus87 - const: timer88 else:89 properties:90 clocks:91 minItems: 192 items:93 - description: core clock94 - description: bus clock for optional95 - description: axi clock for rockchip specified96 - description: block clock for rockchip specified97 - description: timer clock for rockchip specified98 clock-names:99 minItems: 1100 items:101 - const: core102 - const: bus103 - const: axi104 - const: block105 - const: timer106 107 - if:108 properties:109 compatible:110 contains:111 const: rockchip,rk3576-dwcmshc112 113 then:114 required:115 - power-domains116 117 else:118 properties:119 power-domains: false120 121unevaluatedProperties: false122 123examples:124 - |125 mmc@fe310000 {126 compatible = "rockchip,rk3568-dwcmshc";127 reg = <0xfe310000 0x10000>;128 interrupts = <0 25 0x4>;129 clocks = <&cru 17>, <&cru 18>, <&cru 19>, <&cru 20>, <&cru 21>;130 clock-names = "core", "bus", "axi", "block", "timer";131 bus-width = <8>;132 #address-cells = <1>;133 #size-cells = <0>;134 };135 - |136 mmc@aa0000 {137 compatible = "snps,dwcmshc-sdhci";138 reg = <0xaa000 0x1000>;139 interrupts = <0 25 0x4>;140 clocks = <&cru 17>, <&cru 18>;141 clock-names = "core", "bus";142 bus-width = <8>;143 #address-cells = <1>;144 #size-cells = <0>;145 };146 147...148