xref: /linux/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.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/samsung/samsung,exynos-sysreg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos SoC series System Registers (SYSREG)
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12properties:
13  compatible:
14    oneOf:
15      - items:
16          - enum:
17              - google,gs101-apm-sysreg
18              - google,gs101-hsi2-sysreg
19              - google,gs101-peric0-sysreg
20              - google,gs101-peric1-sysreg
21              - samsung,exynos3-sysreg
22              - samsung,exynos4-sysreg
23              - samsung,exynos5-sysreg
24              - samsung,exynosautov920-peric0-sysreg
25              - samsung,exynosautov920-peric1-sysreg
26              - tesla,fsd-cam-sysreg
27              - tesla,fsd-fsys0-sysreg
28              - tesla,fsd-fsys1-sysreg
29              - tesla,fsd-peric-sysreg
30          - const: syscon
31      - items:
32          - enum:
33              - samsung,exynos5433-cam0-sysreg
34              - samsung,exynos5433-cam1-sysreg
35              - samsung,exynos5433-disp-sysreg
36              - samsung,exynos5433-fsys-sysreg
37          - const: samsung,exynos5433-sysreg
38          - const: syscon
39      - items:
40          - enum:
41              - samsung,exynos5433-sysreg
42              - samsung,exynos850-sysreg
43              - samsung,exynosautov9-sysreg
44          - const: syscon
45        deprecated: true
46      - items:
47          - enum:
48              - samsung,exynos850-cmgp-sysreg
49              - samsung,exynos850-peri-sysreg
50          - const: samsung,exynos850-sysreg
51          - const: syscon
52      - items:
53          - enum:
54              - samsung,exynosautov9-fsys2-sysreg
55              - samsung,exynosautov9-peric0-sysreg
56              - samsung,exynosautov9-peric1-sysreg
57          - const: samsung,exynosautov9-sysreg
58          - const: syscon
59
60  reg:
61    maxItems: 1
62
63  clocks:
64    maxItems: 1
65
66required:
67  - compatible
68  - reg
69
70allOf:
71  - if:
72      properties:
73        compatible:
74          contains:
75            enum:
76              - google,gs101-hsi2-sysreg
77              - google,gs101-peric0-sysreg
78              - google,gs101-peric1-sysreg
79              - samsung,exynos850-cmgp-sysreg
80              - samsung,exynos850-peri-sysreg
81              - samsung,exynos850-sysreg
82    then:
83      required:
84        - clocks
85    else:
86      properties:
87        clocks: false
88
89additionalProperties: false
90
91examples:
92  - |
93    system-controller@10010000 {
94        compatible = "samsung,exynos4-sysreg", "syscon";
95        reg = <0x10010000 0x400>;
96    };
97