summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml
blob: 2cc38bb5038ed017590a1146f616c8516708304d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Socionext UniPhier media I/O block (MIO) controller

maintainers:
  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

description: |+
  Media I/O block implemented on Socionext UniPhier SoCs is a legacy
  integrated component of the stream type peripherals including USB2.0,
  SD/eMMC, and MIO-DMAC.
  Media I/O block has a common logic to control the component.

  Recent SoCs have SD interface logic specialized only for SD functions
  as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml.

properties:
  compatible:
    items:
      - enum:
          - socionext,uniphier-ld4-mioctrl
          - socionext,uniphier-pro4-mioctrl
          - socionext,uniphier-sld8-mioctrl
          - socionext,uniphier-ld11-mioctrl
      - const: simple-mfd
      - const: syscon

  reg:
    maxItems: 1

  clock-controller:
    $ref: /schemas/clock/socionext,uniphier-clock.yaml#

  reset-controller:
    $ref: /schemas/reset/socionext,uniphier-reset.yaml#

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    syscon@5b3e0000 {
        compatible = "socionext,uniphier-ld11-mioctrl",
                     "simple-mfd", "syscon";
        reg = <0x5b3e0000 0x800>;

        clock-controller {
            compatible = "socionext,uniphier-ld11-mio-clock";
            #clock-cells = <1>;
        };

        reset-controller {
            compatible = "socionext,uniphier-ld11-mio-reset";
            #reset-cells = <1>;
            resets = <&sys_rst 7>;
        };
    };