xref: /linux/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*b3ad9754SKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b3ad9754SKunihiko Hayashi%YAML 1.2
3*b3ad9754SKunihiko Hayashi---
4*b3ad9754SKunihiko Hayashi$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml#
5*b3ad9754SKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b3ad9754SKunihiko Hayashi
7*b3ad9754SKunihiko Hayashititle: Socionext UniPhier media I/O block (MIO) controller
8*b3ad9754SKunihiko Hayashi
9*b3ad9754SKunihiko Hayashimaintainers:
10*b3ad9754SKunihiko Hayashi  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
11*b3ad9754SKunihiko Hayashi
12*b3ad9754SKunihiko Hayashidescription: |+
13*b3ad9754SKunihiko Hayashi  Media I/O block implemented on Socionext UniPhier SoCs is a legacy
14*b3ad9754SKunihiko Hayashi  integrated component of the stream type peripherals including USB2.0,
15*b3ad9754SKunihiko Hayashi  SD/eMMC, and MIO-DMAC.
16*b3ad9754SKunihiko Hayashi  Media I/O block has a common logic to control the component.
17*b3ad9754SKunihiko Hayashi
18*b3ad9754SKunihiko Hayashi  Recent SoCs have SD interface logic specialized only for SD functions
19*b3ad9754SKunihiko Hayashi  as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml.
20*b3ad9754SKunihiko Hayashi
21*b3ad9754SKunihiko Hayashiproperties:
22*b3ad9754SKunihiko Hayashi  compatible:
23*b3ad9754SKunihiko Hayashi    items:
24*b3ad9754SKunihiko Hayashi      - enum:
25*b3ad9754SKunihiko Hayashi          - socionext,uniphier-ld4-mioctrl
26*b3ad9754SKunihiko Hayashi          - socionext,uniphier-pro4-mioctrl
27*b3ad9754SKunihiko Hayashi          - socionext,uniphier-sld8-mioctrl
28*b3ad9754SKunihiko Hayashi          - socionext,uniphier-ld11-mioctrl
29*b3ad9754SKunihiko Hayashi      - const: simple-mfd
30*b3ad9754SKunihiko Hayashi      - const: syscon
31*b3ad9754SKunihiko Hayashi
32*b3ad9754SKunihiko Hayashi  reg:
33*b3ad9754SKunihiko Hayashi    maxItems: 1
34*b3ad9754SKunihiko Hayashi
35*b3ad9754SKunihiko Hayashi  clock-controller:
36*b3ad9754SKunihiko Hayashi    $ref: /schemas/clock/socionext,uniphier-clock.yaml#
37*b3ad9754SKunihiko Hayashi
38*b3ad9754SKunihiko Hayashi  reset-controller:
39*b3ad9754SKunihiko Hayashi    $ref: /schemas/reset/socionext,uniphier-reset.yaml#
40*b3ad9754SKunihiko Hayashi
41*b3ad9754SKunihiko Hayashirequired:
42*b3ad9754SKunihiko Hayashi  - compatible
43*b3ad9754SKunihiko Hayashi  - reg
44*b3ad9754SKunihiko Hayashi
45*b3ad9754SKunihiko HayashiadditionalProperties: false
46*b3ad9754SKunihiko Hayashi
47*b3ad9754SKunihiko Hayashiexamples:
48*b3ad9754SKunihiko Hayashi  - |
49*b3ad9754SKunihiko Hayashi    syscon@5b3e0000 {
50*b3ad9754SKunihiko Hayashi        compatible = "socionext,uniphier-ld11-mioctrl",
51*b3ad9754SKunihiko Hayashi                     "simple-mfd", "syscon";
52*b3ad9754SKunihiko Hayashi        reg = <0x5b3e0000 0x800>;
53*b3ad9754SKunihiko Hayashi
54*b3ad9754SKunihiko Hayashi        clock-controller {
55*b3ad9754SKunihiko Hayashi            compatible = "socionext,uniphier-ld11-mio-clock";
56*b3ad9754SKunihiko Hayashi            #clock-cells = <1>;
57*b3ad9754SKunihiko Hayashi        };
58*b3ad9754SKunihiko Hayashi
59*b3ad9754SKunihiko Hayashi        reset-controller {
60*b3ad9754SKunihiko Hayashi            compatible = "socionext,uniphier-ld11-mio-reset";
61*b3ad9754SKunihiko Hayashi            #reset-cells = <1>;
62*b3ad9754SKunihiko Hayashi            resets = <&sys_rst 7>;
63*b3ad9754SKunihiko Hayashi        };
64*b3ad9754SKunihiko Hayashi    };
65*b3ad9754SKunihiko Hayashi
66