xref: /linux/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1c2e322aeSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2c2e322aeSKrzysztof Kozlowski%YAML 1.2
3c2e322aeSKrzysztof Kozlowski---
4c2e322aeSKrzysztof Kozlowski$id: http://devicetree.org/schemas/soc/samsung/samsung,exynos-sysreg.yaml#
5c2e322aeSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6c2e322aeSKrzysztof Kozlowski
7c2e322aeSKrzysztof Kozlowskititle: Samsung Exynos SoC series System Registers (SYSREG)
8c2e322aeSKrzysztof Kozlowski
9c2e322aeSKrzysztof Kozlowskimaintainers:
10c2e322aeSKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
11c2e322aeSKrzysztof Kozlowski
12c2e322aeSKrzysztof Kozlowskiproperties:
13c2e322aeSKrzysztof Kozlowski  compatible:
14c2e322aeSKrzysztof Kozlowski    oneOf:
15c2e322aeSKrzysztof Kozlowski      - items:
16c2e322aeSKrzysztof Kozlowski          - enum:
17d9232785SPeter Griffin              - google,gs101-apm-sysreg
18*6d1434a7SPeter Griffin              - google,gs101-hsi2-sysreg
19d9232785SPeter Griffin              - google,gs101-peric0-sysreg
20d9232785SPeter Griffin              - google,gs101-peric1-sysreg
21c2e322aeSKrzysztof Kozlowski              - samsung,exynos3-sysreg
22c2e322aeSKrzysztof Kozlowski              - samsung,exynos4-sysreg
23c2e322aeSKrzysztof Kozlowski              - samsung,exynos5-sysreg
24e4f02775SKrzysztof Kozlowski              - samsung,exynosautov920-peric0-sysreg
25e4f02775SKrzysztof Kozlowski              - samsung,exynosautov920-peric1-sysreg
267e03ca74SSriranjani P              - tesla,fsd-cam-sysreg
277e03ca74SSriranjani P              - tesla,fsd-fsys0-sysreg
287e03ca74SSriranjani P              - tesla,fsd-fsys1-sysreg
297e03ca74SSriranjani P              - tesla,fsd-peric-sysreg
30c2e322aeSKrzysztof Kozlowski          - const: syscon
317b35b6b8SKrzysztof Kozlowski      - items:
327b35b6b8SKrzysztof Kozlowski          - enum:
337b35b6b8SKrzysztof Kozlowski              - samsung,exynos5433-cam0-sysreg
347b35b6b8SKrzysztof Kozlowski              - samsung,exynos5433-cam1-sysreg
357b35b6b8SKrzysztof Kozlowski              - samsung,exynos5433-disp-sysreg
367b35b6b8SKrzysztof Kozlowski              - samsung,exynos5433-fsys-sysreg
377b35b6b8SKrzysztof Kozlowski          - const: samsung,exynos5433-sysreg
387b35b6b8SKrzysztof Kozlowski          - const: syscon
397b35b6b8SKrzysztof Kozlowski      - items:
400a2af7bdSSriranjani P          - enum:
410a2af7bdSSriranjani P              - samsung,exynos5433-sysreg
420a2af7bdSSriranjani P              - samsung,exynos850-sysreg
43dd5cc807SSriranjani P              - samsung,exynosautov9-sysreg
447b35b6b8SKrzysztof Kozlowski          - const: syscon
457b35b6b8SKrzysztof Kozlowski        deprecated: true
460a2af7bdSSriranjani P      - items:
470a2af7bdSSriranjani P          - enum:
480a2af7bdSSriranjani P              - samsung,exynos850-cmgp-sysreg
490a2af7bdSSriranjani P              - samsung,exynos850-peri-sysreg
500a2af7bdSSriranjani P          - const: samsung,exynos850-sysreg
510a2af7bdSSriranjani P          - const: syscon
52dd5cc807SSriranjani P      - items:
53dd5cc807SSriranjani P          - enum:
54dd5cc807SSriranjani P              - samsung,exynosautov9-fsys2-sysreg
55dd5cc807SSriranjani P              - samsung,exynosautov9-peric0-sysreg
56dd5cc807SSriranjani P              - samsung,exynosautov9-peric1-sysreg
57dd5cc807SSriranjani P          - const: samsung,exynosautov9-sysreg
58dd5cc807SSriranjani P          - const: syscon
59c2e322aeSKrzysztof Kozlowski
60c2e322aeSKrzysztof Kozlowski  reg:
61c2e322aeSKrzysztof Kozlowski    maxItems: 1
62c2e322aeSKrzysztof Kozlowski
63af7354c7SKrzysztof Kozlowski  clocks:
64af7354c7SKrzysztof Kozlowski    maxItems: 1
65af7354c7SKrzysztof Kozlowski
66c2e322aeSKrzysztof Kozlowskirequired:
67c2e322aeSKrzysztof Kozlowski  - compatible
68c2e322aeSKrzysztof Kozlowski  - reg
69c2e322aeSKrzysztof Kozlowski
70af7354c7SKrzysztof KozlowskiallOf:
71af7354c7SKrzysztof Kozlowski  - if:
72af7354c7SKrzysztof Kozlowski      properties:
73af7354c7SKrzysztof Kozlowski        compatible:
74af7354c7SKrzysztof Kozlowski          contains:
75af7354c7SKrzysztof Kozlowski            enum:
76*6d1434a7SPeter Griffin              - google,gs101-hsi2-sysreg
7745443616SAndré Draszik              - google,gs101-peric0-sysreg
7845443616SAndré Draszik              - google,gs101-peric1-sysreg
790a2af7bdSSriranjani P              - samsung,exynos850-cmgp-sysreg
800a2af7bdSSriranjani P              - samsung,exynos850-peri-sysreg
81af7354c7SKrzysztof Kozlowski              - samsung,exynos850-sysreg
82af7354c7SKrzysztof Kozlowski    then:
83af7354c7SKrzysztof Kozlowski      required:
84af7354c7SKrzysztof Kozlowski        - clocks
85af7354c7SKrzysztof Kozlowski    else:
86af7354c7SKrzysztof Kozlowski      properties:
87af7354c7SKrzysztof Kozlowski        clocks: false
88af7354c7SKrzysztof Kozlowski
89c2e322aeSKrzysztof KozlowskiadditionalProperties: false
90c2e322aeSKrzysztof Kozlowski
91c2e322aeSKrzysztof Kozlowskiexamples:
92c2e322aeSKrzysztof Kozlowski  - |
93c2e322aeSKrzysztof Kozlowski    system-controller@10010000 {
94c2e322aeSKrzysztof Kozlowski        compatible = "samsung,exynos4-sysreg", "syscon";
95c2e322aeSKrzysztof Kozlowski        reg = <0x10010000 0x400>;
96c2e322aeSKrzysztof Kozlowski    };
97