1*9fb31379SKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*9fb31379SKunihiko Hayashi%YAML 1.2
3*9fb31379SKunihiko Hayashi---
4*9fb31379SKunihiko Hayashi$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml#
5*9fb31379SKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml#
6*9fb31379SKunihiko Hayashi
7*9fb31379SKunihiko Hayashititle: Socionext UniPhier peripheral block controller
8*9fb31379SKunihiko Hayashi
9*9fb31379SKunihiko Hayashimaintainers:
10*9fb31379SKunihiko Hayashi  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
11*9fb31379SKunihiko Hayashi
12*9fb31379SKunihiko Hayashidescription: |+
13*9fb31379SKunihiko Hayashi  Peripheral block implemented on Socionext UniPhier SoCs is an integrated
14*9fb31379SKunihiko Hayashi  component of the peripherals including UART, I2C/FI2C, and SCSSI.
15*9fb31379SKunihiko Hayashi  Peripheral block controller is a logic to control the component.
16*9fb31379SKunihiko Hayashi
17*9fb31379SKunihiko Hayashiproperties:
18*9fb31379SKunihiko Hayashi  compatible:
19*9fb31379SKunihiko Hayashi    items:
20*9fb31379SKunihiko Hayashi      - enum:
21*9fb31379SKunihiko Hayashi          - socionext,uniphier-ld4-perictrl
22*9fb31379SKunihiko Hayashi          - socionext,uniphier-pro4-perictrl
23*9fb31379SKunihiko Hayashi          - socionext,uniphier-pro5-perictrl
24*9fb31379SKunihiko Hayashi          - socionext,uniphier-pxs2-perictrl
25*9fb31379SKunihiko Hayashi          - socionext,uniphier-sld8-perictrl
26*9fb31379SKunihiko Hayashi          - socionext,uniphier-ld11-perictrl
27*9fb31379SKunihiko Hayashi          - socionext,uniphier-ld20-perictrl
28*9fb31379SKunihiko Hayashi          - socionext,uniphier-pxs3-perictrl
29*9fb31379SKunihiko Hayashi          - socionext,uniphier-nx1-perictrl
30*9fb31379SKunihiko Hayashi      - const: simple-mfd
31*9fb31379SKunihiko Hayashi      - const: syscon
32*9fb31379SKunihiko Hayashi
33*9fb31379SKunihiko Hayashi  reg:
34*9fb31379SKunihiko Hayashi    maxItems: 1
35*9fb31379SKunihiko Hayashi
36*9fb31379SKunihiko Hayashi  clock-controller:
37*9fb31379SKunihiko Hayashi    $ref: /schemas/clock/socionext,uniphier-clock.yaml#
38*9fb31379SKunihiko Hayashi
39*9fb31379SKunihiko Hayashi  reset-controller:
40*9fb31379SKunihiko Hayashi    $ref: /schemas/reset/socionext,uniphier-reset.yaml#
41*9fb31379SKunihiko Hayashi
42*9fb31379SKunihiko Hayashirequired:
43*9fb31379SKunihiko Hayashi  - compatible
44*9fb31379SKunihiko Hayashi  - reg
45*9fb31379SKunihiko Hayashi
46*9fb31379SKunihiko HayashiadditionalProperties: false
47*9fb31379SKunihiko Hayashi
48*9fb31379SKunihiko Hayashiexamples:
49*9fb31379SKunihiko Hayashi  - |
50*9fb31379SKunihiko Hayashi    syscon@59820000 {
51*9fb31379SKunihiko Hayashi        compatible = "socionext,uniphier-ld20-perictrl",
52*9fb31379SKunihiko Hayashi                     "simple-mfd", "syscon";
53*9fb31379SKunihiko Hayashi        reg = <0x59820000 0x200>;
54*9fb31379SKunihiko Hayashi
55*9fb31379SKunihiko Hayashi        clock-controller {
56*9fb31379SKunihiko Hayashi            compatible = "socionext,uniphier-ld20-peri-clock";
57*9fb31379SKunihiko Hayashi            #clock-cells = <1>;
58*9fb31379SKunihiko Hayashi        };
59*9fb31379SKunihiko Hayashi
60*9fb31379SKunihiko Hayashi        reset-controller {
61*9fb31379SKunihiko Hayashi            compatible = "socionext,uniphier-ld20-peri-reset";
62*9fb31379SKunihiko Hayashi            #reset-cells = <1>;
63*9fb31379SKunihiko Hayashi        };
64*9fb31379SKunihiko Hayashi    };
65