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