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