1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*cb7aa33aSEmmanuel Vadot%YAML 1.2 3*cb7aa33aSEmmanuel Vadot--- 4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml# 5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*cb7aa33aSEmmanuel Vadot 7*cb7aa33aSEmmanuel Vadottitle: Socionext UniPhier SD interface logic 8*cb7aa33aSEmmanuel Vadot 9*cb7aa33aSEmmanuel Vadotmaintainers: 10*cb7aa33aSEmmanuel Vadot - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 11*cb7aa33aSEmmanuel Vadot 12*cb7aa33aSEmmanuel Vadotdescription: |+ 13*cb7aa33aSEmmanuel Vadot SD interface logic implemented on Socionext UniPhier SoCs is 14*cb7aa33aSEmmanuel Vadot attached outside SDHC, and has some SD related functions such as 15*cb7aa33aSEmmanuel Vadot clock control, reset control, mode switch, and so on. 16*cb7aa33aSEmmanuel Vadot 17*cb7aa33aSEmmanuel Vadotproperties: 18*cb7aa33aSEmmanuel Vadot compatible: 19*cb7aa33aSEmmanuel Vadot items: 20*cb7aa33aSEmmanuel Vadot - enum: 21*cb7aa33aSEmmanuel Vadot - socionext,uniphier-pro5-sdctrl 22*cb7aa33aSEmmanuel Vadot - socionext,uniphier-pxs2-sdctrl 23*cb7aa33aSEmmanuel Vadot - socionext,uniphier-ld11-sdctrl 24*cb7aa33aSEmmanuel Vadot - socionext,uniphier-ld20-sdctrl 25*cb7aa33aSEmmanuel Vadot - socionext,uniphier-pxs3-sdctrl 26*cb7aa33aSEmmanuel Vadot - socionext,uniphier-nx1-sdctrl 27*cb7aa33aSEmmanuel Vadot - const: simple-mfd 28*cb7aa33aSEmmanuel Vadot - const: syscon 29*cb7aa33aSEmmanuel Vadot 30*cb7aa33aSEmmanuel Vadot reg: 31*cb7aa33aSEmmanuel Vadot maxItems: 1 32*cb7aa33aSEmmanuel Vadot 33*cb7aa33aSEmmanuel Vadot clock-controller: 34*cb7aa33aSEmmanuel Vadot $ref: /schemas/clock/socionext,uniphier-clock.yaml# 35*cb7aa33aSEmmanuel Vadot 36*cb7aa33aSEmmanuel Vadot reset-controller: 37*cb7aa33aSEmmanuel Vadot $ref: /schemas/reset/socionext,uniphier-reset.yaml# 38*cb7aa33aSEmmanuel Vadot 39*cb7aa33aSEmmanuel Vadotrequired: 40*cb7aa33aSEmmanuel Vadot - compatible 41*cb7aa33aSEmmanuel Vadot - reg 42*cb7aa33aSEmmanuel Vadot 43*cb7aa33aSEmmanuel VadotadditionalProperties: false 44*cb7aa33aSEmmanuel Vadot 45*cb7aa33aSEmmanuel Vadotexamples: 46*cb7aa33aSEmmanuel Vadot - | 47*cb7aa33aSEmmanuel Vadot syscon@59810000 { 48*cb7aa33aSEmmanuel Vadot compatible = "socionext,uniphier-ld20-sdctrl", 49*cb7aa33aSEmmanuel Vadot "simple-mfd", "syscon"; 50*cb7aa33aSEmmanuel Vadot reg = <0x59810000 0x400>; 51*cb7aa33aSEmmanuel Vadot 52*cb7aa33aSEmmanuel Vadot clock-controller { 53*cb7aa33aSEmmanuel Vadot compatible = "socionext,uniphier-ld20-sd-clock"; 54*cb7aa33aSEmmanuel Vadot #clock-cells = <1>; 55*cb7aa33aSEmmanuel Vadot }; 56*cb7aa33aSEmmanuel Vadot 57*cb7aa33aSEmmanuel Vadot reset-controller { 58*cb7aa33aSEmmanuel Vadot compatible = "socionext,uniphier-ld20-sd-reset"; 59*cb7aa33aSEmmanuel Vadot #reset-cells = <1>; 60*cb7aa33aSEmmanuel Vadot }; 61*cb7aa33aSEmmanuel Vadot }; 62