162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Socionext UniPhier peripheral block controller
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cidescription: |+
1362306a36Sopenharmony_ci  Peripheral block implemented on Socionext UniPhier SoCs is an integrated
1462306a36Sopenharmony_ci  component of the peripherals including UART, I2C/FI2C, and SCSSI.
1562306a36Sopenharmony_ci  Peripheral block controller is a logic to control the component.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciproperties:
1862306a36Sopenharmony_ci  compatible:
1962306a36Sopenharmony_ci    items:
2062306a36Sopenharmony_ci      - enum:
2162306a36Sopenharmony_ci          - socionext,uniphier-ld4-perictrl
2262306a36Sopenharmony_ci          - socionext,uniphier-pro4-perictrl
2362306a36Sopenharmony_ci          - socionext,uniphier-pro5-perictrl
2462306a36Sopenharmony_ci          - socionext,uniphier-pxs2-perictrl
2562306a36Sopenharmony_ci          - socionext,uniphier-sld8-perictrl
2662306a36Sopenharmony_ci          - socionext,uniphier-ld11-perictrl
2762306a36Sopenharmony_ci          - socionext,uniphier-ld20-perictrl
2862306a36Sopenharmony_ci          - socionext,uniphier-pxs3-perictrl
2962306a36Sopenharmony_ci          - socionext,uniphier-nx1-perictrl
3062306a36Sopenharmony_ci      - const: simple-mfd
3162306a36Sopenharmony_ci      - const: syscon
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci  reg:
3462306a36Sopenharmony_ci    maxItems: 1
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci  clock-controller:
3762306a36Sopenharmony_ci    $ref: /schemas/clock/socionext,uniphier-clock.yaml#
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci  reset-controller:
4062306a36Sopenharmony_ci    $ref: /schemas/reset/socionext,uniphier-reset.yaml#
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_cirequired:
4362306a36Sopenharmony_ci  - compatible
4462306a36Sopenharmony_ci  - reg
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciadditionalProperties: false
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciexamples:
4962306a36Sopenharmony_ci  - |
5062306a36Sopenharmony_ci    syscon@59820000 {
5162306a36Sopenharmony_ci        compatible = "socionext,uniphier-ld20-perictrl",
5262306a36Sopenharmony_ci                     "simple-mfd", "syscon";
5362306a36Sopenharmony_ci        reg = <0x59820000 0x200>;
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci        clock-controller {
5662306a36Sopenharmony_ci            compatible = "socionext,uniphier-ld20-peri-clock";
5762306a36Sopenharmony_ci            #clock-cells = <1>;
5862306a36Sopenharmony_ci        };
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci        reset-controller {
6162306a36Sopenharmony_ci            compatible = "socionext,uniphier-ld20-peri-reset";
6262306a36Sopenharmony_ci            #reset-cells = <1>;
6362306a36Sopenharmony_ci        };
6462306a36Sopenharmony_ci    };
65