1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier SoCs pin controller
8
9maintainers:
10  - Masahiro Yamada <yamada.masahiro@socionext.com>
11
12properties:
13  $nodename:
14    pattern: "pinctrl"
15
16  compatible:
17    enum:
18      - socionext,uniphier-ld4-pinctrl
19      - socionext,uniphier-pro4-pinctrl
20      - socionext,uniphier-sld8-pinctrl
21      - socionext,uniphier-pro5-pinctrl
22      - socionext,uniphier-pxs2-pinctrl
23      - socionext,uniphier-ld6b-pinctrl
24      - socionext,uniphier-ld11-pinctrl
25      - socionext,uniphier-ld20-pinctrl
26      - socionext,uniphier-pxs3-pinctrl
27
28required:
29  - compatible
30
31examples:
32  - |
33    // The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
34
35    soc-glue@5f800000 {
36        compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon";
37        reg = <0x5f800000 0x2000>;
38
39        pinctrl: pinctrl {
40            compatible = "socionext,uniphier-pro4-pinctrl";
41        };
42    };
43