xref: /linux/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml (revision e7d759f31ca295d589f7420719c311870bb3166f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Socionext UniPhier SoC-glue logic debug part
8
9maintainers:
10  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
11
12description: |+
13  SoC-glue logic debug part implemented on Socionext UniPhier SoCs is
14  a collection of miscellaneous function registers handling signals outside
15  system components for debug and monitor use.
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - socionext,uniphier-ld4-soc-glue-debug
22          - socionext,uniphier-pro4-soc-glue-debug
23          - socionext,uniphier-pro5-soc-glue-debug
24          - socionext,uniphier-pxs2-soc-glue-debug
25          - socionext,uniphier-sld8-soc-glue-debug
26          - socionext,uniphier-ld11-soc-glue-debug
27          - socionext,uniphier-ld20-soc-glue-debug
28          - socionext,uniphier-pxs3-soc-glue-debug
29          - socionext,uniphier-nx1-soc-glue-debug
30      - const: simple-mfd
31      - const: syscon
32
33  reg:
34    maxItems: 1
35
36  "#address-cells":
37    const: 1
38
39  "#size-cells":
40    const: 1
41
42  ranges: true
43
44patternProperties:
45  "^efuse@[0-9a-f]+$":
46    $ref: /schemas/nvmem/socionext,uniphier-efuse.yaml#
47
48required:
49  - compatible
50  - reg
51
52additionalProperties: false
53
54examples:
55  - |
56    syscon@5f900000 {
57        compatible = "socionext,uniphier-pxs2-soc-glue-debug",
58                     "simple-mfd", "syscon";
59        reg = <0x5f900000 0x2000>;
60        #address-cells = <1>;
61        #size-cells = <1>;
62        ranges = <0 0x5f900000 0x2000>;
63
64        efuse@100 {
65            compatible = "socionext,uniphier-efuse";
66            reg = <0x100 0x28>;
67        };
68    };
69