Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/hwinfo/samsung,exynos-chipid.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Samsung Exynos SoC series Chipid driver |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzk@kernel.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 14 | oneOf: |
| 15 | - enum: |
| 16 | - samsung,exynos4210-chipid |
| 17 | - samsung,exynos850-chipid |
| 18 | - items: |
| 19 | - enum: |
| 20 | - samsung,exynos5433-chipid |
| 21 | - samsung,exynos7-chipid |
| 22 | - const: samsung,exynos4210-chipid |
| 23 | - items: |
| 24 | - enum: |
| 25 | - samsung,exynos7885-chipid |
| 26 | - samsung,exynosautov9-chipid |
| 27 | - samsung,exynosautov920-chipid |
| 28 | - const: samsung,exynos850-chipid |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 29 | |
| 30 | reg: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | samsung,asv-bin: |
| 34 | description: |
| 35 | Adaptive Supply Voltage bin selection. This can be used |
| 36 | to determine the ASV bin of an SoC if respective information |
| 37 | is missing in the CHIPID registers or in the OTP memory. |
| 38 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 39 | enum: [0, 1, 2, 3] |
| 40 | |
| 41 | required: |
| 42 | - compatible |
| 43 | - reg |
| 44 | |
| 45 | additionalProperties: false |
| 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | chipid@10000000 { |
| 50 | compatible = "samsung,exynos4210-chipid"; |
| 51 | reg = <0x10000000 0x100>; |
| 52 | samsung,asv-bin = <2>; |
| 53 | }; |