1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/moortec,mr75203.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Moortec Semiconductor MR75203 PVT Controller bindings
8
9maintainers:
10  - Rahul Tanwar <rtanwar@maxlinear.com>
11
12properties:
13  compatible:
14    const: moortec,mr75203
15
16  reg:
17    items:
18      - description: PVT common registers
19      - description: PVT temprature sensor registers
20      - description: PVT process detector registers
21      - description: PVT voltage monitor registers
22
23  reg-names:
24    items:
25      - const: common
26      - const: ts
27      - const: pd
28      - const: vm
29
30  intel,vm-map:
31    description:
32      PVT controller has 5 VM (voltage monitor) sensors.
33      vm-map defines CPU core to VM instance mapping. A
34      value of 0xff means that VM sensor is unused.
35    $ref: /schemas/types.yaml#/definitions/uint8-array
36    maxItems: 5
37
38  clocks:
39    maxItems: 1
40
41  resets:
42    maxItems: 1
43
44  "#thermal-sensor-cells":
45    const: 1
46
47required:
48  - compatible
49  - reg
50  - reg-names
51  - intel,vm-map
52  - clocks
53  - resets
54  - "#thermal-sensor-cells"
55
56additionalProperties: false
57
58examples:
59  - |
60    pvt: pvt@e0680000 {
61        compatible = "moortec,mr75203";
62        reg = <0xe0680000 0x80>,
63              <0xe0680080 0x180>,
64              <0xe0680200 0x200>,
65              <0xe0680400 0xc00>;
66        reg-names = "common", "ts", "pd", "vm";
67        intel,vm-map = [03 01 04 ff ff];
68        clocks = <&osc0>;
69        resets = <&rcu0 0x40 7>;
70        #thermal-sensor-cells = <1>;
71    };
72