1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwinfo/samsung,exynos-chipid.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC series Chipid driver

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

properties:
  compatible:
    oneOf:
      - enum:
          - samsung,exynos4210-chipid
          - samsung,exynos850-chipid
      - items:
          - enum:
              - samsung,exynos5433-chipid
              - samsung,exynos7-chipid
              - samsung,exynos7870-chipid
          - const: samsung,exynos4210-chipid
      - items:
          - enum:
              - samsung,exynos2200-chipid
              - samsung,exynos7885-chipid
              - samsung,exynos8895-chipid
              - samsung,exynos9810-chipid
              - samsung,exynos990-chipid
              - samsung,exynosautov9-chipid
              - samsung,exynosautov920-chipid
          - const: samsung,exynos850-chipid

  reg:
    maxItems: 1

  samsung,asv-bin:
    description:
      Adaptive Supply Voltage bin selection. This can be used
      to determine the ASV bin of an SoC if respective information
      is missing in the CHIPID registers or in the OTP memory.
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1, 2, 3]

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    chipid@10000000 {
        compatible = "samsung,exynos4210-chipid";
        reg = <0x10000000 0x100>;
        samsung,asv-bin = <2>;
    };
原諒我這一生不羈放縱愛自由