blob: 58ec8635dce3d348bd72fafae916803b8551a3d2 (
plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/eswin,eic7700-pvt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: ESWIN EIC7700 PVT Sensor
maintainers:
- Yulin Lu <luyulin@eswincomputing.com>
- Huan He <hehuan1@eswincomputing.com>
description:
ESWIN EIC7700 SoC integrates embedded voltage and temperature sensors to
monitor the internal SoC environment. The system includes two PVT sensor
instances. The PVT0 monitors the main SoC power domain. The PVT1 sensor
monitors the DDR core power domain.
allOf:
- $ref: /schemas/hwmon/hwmon-common.yaml#
properties:
compatible:
const: eswin,eic7700-pvt
reg:
maxItems: 1
clocks:
items:
- description: PVT enable clock
- description: APB bus clock
clock-names:
items:
- const: enable
- const: apb
interrupts:
maxItems: 1
resets:
maxItems: 1
'#thermal-sensor-cells':
const: 0
required:
- compatible
- reg
- clocks
- clock-names
- interrupts
- resets
- '#thermal-sensor-cells'
unevaluatedProperties: false
examples:
- |
sensor@50b00000 {
compatible = "eswin,eic7700-pvt";
reg = <0x50b00000 0x10000>;
clocks = <&clocks 244>, <&clocks 234>;
clock-names = "enable", "apb";
interrupts = <349>;
interrupt-parent = <&plic>;
label = "pvt0";
resets = <&reset 111>;
#thermal-sensor-cells = <0>;
};
...
|