xref: /linux/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2044-top-syscon.yaml (revision 9f32a03e3e0d372c520d829dd4da6022fe88832a)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/sophgo/sophgo,sg2044-top-syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sophgo SG2044 SoC TOP system controller
8
9maintainers:
10  - Inochi Amaoto <inochiama@gmail.com>
11
12description:
13  The Sophgo SG2044 TOP system controller is a hardware block grouping
14  multiple small functions, such as clocks and some other internal
15  function.
16
17properties:
18  compatible:
19    items:
20      - const: sophgo,sg2044-top-syscon
21      - const: syscon
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  '#clock-cells':
30    const: 1
31    description:
32      See <dt-bindings/clock/sophgo,sg2044-pll.h> for valid clock.
33
34required:
35  - compatible
36  - reg
37  - clocks
38  - '#clock-cells'
39
40additionalProperties: false
41
42examples:
43  - |
44    syscon@50000000 {
45      compatible = "sophgo,sg2044-top-syscon", "syscon";
46      reg = <0x50000000 0x1000>;
47      #clock-cells = <1>;
48      clocks = <&osc>;
49    };
50