Debian Codegraph @

Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml

raw
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
7 title: SC9863A Syscon
8
9 maintainers:
10 - Orson Zhai <[email protected]>
11 - Baolin Wang <[email protected]>
12 - Chunyan Zhang <[email protected]>
13
14 properties:
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
32 patternProperties:
33 "@[0-9a-f]+$":
34 $ref: /schemas/clock/sprd,sc9863a-clk.yaml
35 description: Clock controllers
36
37 additionalProperties: false
38
39 examples:
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 ...