xref: /linux/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml (revision 03c11eb3b16dc0058589751dfd91f254be2be613)
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
7title: Samsung Exynos SoC series Chipid driver
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12properties:
13  compatible:
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
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
41required:
42  - compatible
43  - reg
44
45additionalProperties: false
46
47examples:
48  - |
49    chipid@10000000 {
50        compatible = "samsung,exynos4210-chipid";
51        reg = <0x10000000 0x100>;
52        samsung,asv-bin = <2>;
53    };
54