1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*ae5de77eSEmmanuel Vadot%YAML 1.2 3*ae5de77eSEmmanuel Vadot--- 4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/wm,wm8505-sdhc.yaml# 5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*ae5de77eSEmmanuel Vadot 7*ae5de77eSEmmanuel Vadottitle: WonderMedia SoC SDHCI Controller 8*ae5de77eSEmmanuel Vadot 9*ae5de77eSEmmanuel Vadotmaintainers: 10*ae5de77eSEmmanuel Vadot - Alexey Charkov <alchark@gmail.com> 11*ae5de77eSEmmanuel Vadot 12*ae5de77eSEmmanuel VadotallOf: 13*ae5de77eSEmmanuel Vadot - $ref: mmc-controller.yaml# 14*ae5de77eSEmmanuel Vadot 15*ae5de77eSEmmanuel Vadotproperties: 16*ae5de77eSEmmanuel Vadot compatible: 17*ae5de77eSEmmanuel Vadot oneOf: 18*ae5de77eSEmmanuel Vadot - const: wm,wm8505-sdhc 19*ae5de77eSEmmanuel Vadot - items: 20*ae5de77eSEmmanuel Vadot - const: wm,wm8650-sdhc 21*ae5de77eSEmmanuel Vadot - const: wm,wm8505-sdhc 22*ae5de77eSEmmanuel Vadot - items: 23*ae5de77eSEmmanuel Vadot - const: wm,wm8750-sdhc 24*ae5de77eSEmmanuel Vadot - const: wm,wm8505-sdhc 25*ae5de77eSEmmanuel Vadot - items: 26*ae5de77eSEmmanuel Vadot - const: wm,wm8850-sdhc 27*ae5de77eSEmmanuel Vadot - const: wm,wm8505-sdhc 28*ae5de77eSEmmanuel Vadot 29*ae5de77eSEmmanuel Vadot reg: 30*ae5de77eSEmmanuel Vadot maxItems: 1 31*ae5de77eSEmmanuel Vadot 32*ae5de77eSEmmanuel Vadot clocks: 33*ae5de77eSEmmanuel Vadot maxItems: 1 34*ae5de77eSEmmanuel Vadot 35*ae5de77eSEmmanuel Vadot interrupts: 36*ae5de77eSEmmanuel Vadot items: 37*ae5de77eSEmmanuel Vadot - description: SDMMC controller interrupt 38*ae5de77eSEmmanuel Vadot - description: SDMMC controller DMA interrupt 39*ae5de77eSEmmanuel Vadot 40*ae5de77eSEmmanuel Vadot sdon-inverted: 41*ae5de77eSEmmanuel Vadot type: boolean 42*ae5de77eSEmmanuel Vadot description: All chips before (not including) WM8505 rev. A2 treated their 43*ae5de77eSEmmanuel Vadot "clock stop" bit (register offset 0x08 a.k.a. SDMMC_BUSMODE, bit 0x10) 44*ae5de77eSEmmanuel Vadot as "set 1 to disable SD clock", while all the later versions treated it 45*ae5de77eSEmmanuel Vadot as "set 0 to disable SD clock". Set this property for later versions of 46*ae5de77eSEmmanuel Vadot wm,wm8505-sdhc. On wm,wm8650-sdhc and later this property is implied and 47*ae5de77eSEmmanuel Vadot does not need to be set explicitly 48*ae5de77eSEmmanuel Vadot 49*ae5de77eSEmmanuel Vadotrequired: 50*ae5de77eSEmmanuel Vadot - compatible 51*ae5de77eSEmmanuel Vadot - reg 52*ae5de77eSEmmanuel Vadot - interrupts 53*ae5de77eSEmmanuel Vadot - clocks 54*ae5de77eSEmmanuel Vadot 55*ae5de77eSEmmanuel VadotunevaluatedProperties: false 56*ae5de77eSEmmanuel Vadot 57*ae5de77eSEmmanuel Vadotexamples: 58*ae5de77eSEmmanuel Vadot - | 59*ae5de77eSEmmanuel Vadot mmc@d800a000 { 60*ae5de77eSEmmanuel Vadot compatible = "wm,wm8505-sdhc"; 61*ae5de77eSEmmanuel Vadot reg = <0xd800a000 0x1000>; 62*ae5de77eSEmmanuel Vadot interrupts = <20>, <21>; 63*ae5de77eSEmmanuel Vadot clocks = <&sdhc>; 64*ae5de77eSEmmanuel Vadot bus-width = <4>; 65*ae5de77eSEmmanuel Vadot sdon-inverted; 66*ae5de77eSEmmanuel Vadot }; 67