]>
Commit | Line | Data |
---|---|---|
748022ef RT |
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 | ||
7 | title: Moortec Semiconductor MR75203 PVT Controller bindings | |
8 | ||
9 | maintainers: | |
10 | - Rahul Tanwar <rtanwar@maxlinear.com> | |
11 | ||
12 | properties: | |
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. | |
d69c6ddd | 35 | $ref: /schemas/types.yaml#/definitions/uint8-array |
748022ef RT |
36 | maxItems: 5 |
37 | ||
38 | clocks: | |
39 | maxItems: 1 | |
40 | ||
41 | resets: | |
42 | maxItems: 1 | |
43 | ||
44 | "#thermal-sensor-cells": | |
45 | const: 1 | |
46 | ||
47 | required: | |
48 | - compatible | |
49 | - reg | |
50 | - reg-names | |
748022ef RT |
51 | - clocks |
52 | - resets | |
53 | - "#thermal-sensor-cells" | |
54 | ||
55 | additionalProperties: false | |
56 | ||
57 | examples: | |
58 | - | | |
59 | pvt: pvt@e0680000 { | |
60 | compatible = "moortec,mr75203"; | |
61 | reg = <0xe0680000 0x80>, | |
62 | <0xe0680080 0x180>, | |
63 | <0xe0680200 0x200>, | |
64 | <0xe0680400 0xc00>; | |
65 | reg-names = "common", "ts", "pd", "vm"; | |
66 | intel,vm-map = [03 01 04 ff ff]; | |
67 | clocks = <&osc0>; | |
68 | resets = <&rcu0 0x40 7>; | |
69 | #thermal-sensor-cells = <1>; | |
70 | }; |