xref: /linux/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml (revision 79d2e1919a2728ef49d938eb20ebd5903c14dfb0)
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,exynos8895-chipid
27              - samsung,exynos9810-chipid
28              - samsung,exynos990-chipid
29              - samsung,exynosautov9-chipid
30              - samsung,exynosautov920-chipid
31          - const: samsung,exynos850-chipid
32
33  reg:
34    maxItems: 1
35
36  samsung,asv-bin:
37    description:
38      Adaptive Supply Voltage bin selection. This can be used
39      to determine the ASV bin of an SoC if respective information
40      is missing in the CHIPID registers or in the OTP memory.
41    $ref: /schemas/types.yaml#/definitions/uint32
42    enum: [0, 1, 2, 3]
43
44required:
45  - compatible
46  - reg
47
48additionalProperties: false
49
50examples:
51  - |
52    chipid@10000000 {
53        compatible = "samsung,exynos4210-chipid";
54        reg = <0x10000000 0x100>;
55        samsung,asv-bin = <2>;
56    };
57