xref: /linux/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SC9863A Syscon
8
9maintainers:
10  - Orson Zhai <orsonzhai@gmail.com>
11  - Baolin Wang <baolin.wang7@gmail.com>
12  - Chunyan Zhang <zhang.lyra@gmail.com>
13
14properties:
15  compatible:
16    items:
17      - const: sprd,sc9863a-glbregs
18      - const: syscon
19      - const: simple-mfd
20
21  reg:
22    maxItems: 1
23
24  ranges: true
25
26  "#address-cells":
27    const: 1
28
29  "#size-cells":
30    const: 1
31
32patternProperties:
33  "@[0-9a-f]+$":
34    $ref: /schemas/clock/sprd,sc9863a-clk.yaml
35    description: Clock controllers
36
37additionalProperties: false
38
39examples:
40  - |
41    syscon@20e00000 {
42      compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
43      reg = <0x20e00000 0x4000>;
44      ranges = <0 0x20e00000 0x4000>;
45      #address-cells = <1>;
46      #size-cells = <1>;
47
48      apahb_gate: apahb-gate@0 {
49        compatible = "sprd,sc9863a-apahb-gate";
50        reg = <0x0 0x1020>;
51        #clock-cells = <1>;
52      };
53    };
54
55...
56