mtk-sd.yaml (0b36b7cd3f1f3df707c98de65b764294c02cc8cc) mtk-sd.yaml (1b845c5af4728085eeea9582e2fcbe4c8104fa5e)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/mtk-sd.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MTK MSDC Storage Host Controller Binding
8

--- 6 unchanged lines hidden (view full) ---

15 oneOf:
16 - enum:
17 - mediatek,mt2701-mmc
18 - mediatek,mt2712-mmc
19 - mediatek,mt6779-mmc
20 - mediatek,mt6795-mmc
21 - mediatek,mt7620-mmc
22 - mediatek,mt7622-mmc
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/mtk-sd.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MTK MSDC Storage Host Controller Binding
8

--- 6 unchanged lines hidden (view full) ---

15 oneOf:
16 - enum:
17 - mediatek,mt2701-mmc
18 - mediatek,mt2712-mmc
19 - mediatek,mt6779-mmc
20 - mediatek,mt6795-mmc
21 - mediatek,mt7620-mmc
22 - mediatek,mt7622-mmc
23 - mediatek,mt7986-mmc
23 - mediatek,mt8135-mmc
24 - mediatek,mt8173-mmc
25 - mediatek,mt8183-mmc
26 - mediatek,mt8516-mmc
27 - items:
28 - const: mediatek,mt7623-mmc
29 - const: mediatek,mt2701-mmc
30 - items:

--- 205 unchanged lines hidden (view full) ---

236 properties:
237 reg:
238 minItems: 2
239
240 - if:
241 properties:
242 compatible:
243 contains:
24 - mediatek,mt8135-mmc
25 - mediatek,mt8173-mmc
26 - mediatek,mt8183-mmc
27 - mediatek,mt8516-mmc
28 - items:
29 - const: mediatek,mt7623-mmc
30 - const: mediatek,mt2701-mmc
31 - items:

--- 205 unchanged lines hidden (view full) ---

237 properties:
238 reg:
239 minItems: 2
240
241 - if:
242 properties:
243 compatible:
244 contains:
245 enum:
246 - mediatek,mt7986-mmc
247 then:
248 properties:
249 clocks:
250 minItems: 3
251 items:
252 - description: source clock
253 - description: HCLK which used for host
254 - description: independent source clock gate
255 - description: bus clock used for internal register access (required for MSDC0/3).
256 - description: msdc subsys clock gate
257 clock-names:
258 minItems: 3
259 items:
260 - const: source
261 - const: hclk
262 - const: source_cg
263 - const: bus_clk
264 - const: sys_cg
265
266 - if:
267 properties:
268 compatible:
269 contains:
244 const: mediatek,mt8192-mmc
245 then:
246 properties:
247 clocks:
248 items:
249 - description: source clock
250 - description: HCLK which used for host
251 - description: independent source clock gate

--- 70 unchanged lines hidden ---
270 const: mediatek,mt8192-mmc
271 then:
272 properties:
273 clocks:
274 items:
275 - description: source clock
276 - description: HCLK which used for host
277 - description: independent source clock gate

--- 70 unchanged lines hidden ---