xref: /freebsd/sys/contrib/device-tree/Bindings/hwinfo/samsung,exynos-chipid.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/hwinfo/samsung,exynos-chipid.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadottitle: Samsung Exynos SoC series Chipid driver
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadotproperties:
13b97ee269SEmmanuel Vadot  compatible:
14*8d13bc63SEmmanuel Vadot    oneOf:
15*8d13bc63SEmmanuel Vadot      - enum:
16b97ee269SEmmanuel Vadot          - samsung,exynos4210-chipid
17b97ee269SEmmanuel Vadot          - samsung,exynos850-chipid
18*8d13bc63SEmmanuel Vadot      - items:
19*8d13bc63SEmmanuel Vadot          - enum:
20*8d13bc63SEmmanuel Vadot              - samsung,exynos5433-chipid
21*8d13bc63SEmmanuel Vadot              - samsung,exynos7-chipid
22*8d13bc63SEmmanuel Vadot          - const: samsung,exynos4210-chipid
23*8d13bc63SEmmanuel Vadot      - items:
24*8d13bc63SEmmanuel Vadot          - enum:
25*8d13bc63SEmmanuel Vadot              - samsung,exynos7885-chipid
26*8d13bc63SEmmanuel Vadot              - samsung,exynosautov9-chipid
27*8d13bc63SEmmanuel Vadot              - samsung,exynosautov920-chipid
28*8d13bc63SEmmanuel Vadot          - const: samsung,exynos850-chipid
29b97ee269SEmmanuel Vadot
30b97ee269SEmmanuel Vadot  reg:
31b97ee269SEmmanuel Vadot    maxItems: 1
32b97ee269SEmmanuel Vadot
33b97ee269SEmmanuel Vadot  samsung,asv-bin:
34b97ee269SEmmanuel Vadot    description:
35b97ee269SEmmanuel Vadot      Adaptive Supply Voltage bin selection. This can be used
36b97ee269SEmmanuel Vadot      to determine the ASV bin of an SoC if respective information
37b97ee269SEmmanuel Vadot      is missing in the CHIPID registers or in the OTP memory.
38b97ee269SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
39b97ee269SEmmanuel Vadot    enum: [0, 1, 2, 3]
40b97ee269SEmmanuel Vadot
41b97ee269SEmmanuel Vadotrequired:
42b97ee269SEmmanuel Vadot  - compatible
43b97ee269SEmmanuel Vadot  - reg
44b97ee269SEmmanuel Vadot
45b97ee269SEmmanuel VadotadditionalProperties: false
46b97ee269SEmmanuel Vadot
47b97ee269SEmmanuel Vadotexamples:
48b97ee269SEmmanuel Vadot  - |
49b97ee269SEmmanuel Vadot    chipid@10000000 {
50b97ee269SEmmanuel Vadot        compatible = "samsung,exynos4210-chipid";
51b97ee269SEmmanuel Vadot        reg = <0x10000000 0x100>;
52b97ee269SEmmanuel Vadot        samsung,asv-bin = <2>;
53b97ee269SEmmanuel Vadot    };
54