1*9a916636SHuan He# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*9a916636SHuan He%YAML 1.2 3*9a916636SHuan He--- 4*9a916636SHuan He$id: http://devicetree.org/schemas/hwmon/eswin,eic7700-pvt.yaml# 5*9a916636SHuan He$schema: http://devicetree.org/meta-schemas/core.yaml# 6*9a916636SHuan He 7*9a916636SHuan Hetitle: ESWIN EIC7700 PVT Sensor 8*9a916636SHuan He 9*9a916636SHuan Hemaintainers: 10*9a916636SHuan He - Yulin Lu <luyulin@eswincomputing.com> 11*9a916636SHuan He - Huan He <hehuan1@eswincomputing.com> 12*9a916636SHuan He 13*9a916636SHuan Hedescription: 14*9a916636SHuan He ESWIN EIC7700 SoC integrates embedded voltage and temperature sensors to 15*9a916636SHuan He monitor the internal SoC environment. The system includes two PVT sensor 16*9a916636SHuan He instances. The PVT0 monitors the main SoC power domain. The PVT1 sensor 17*9a916636SHuan He monitors the DDR core power domain. 18*9a916636SHuan He 19*9a916636SHuan HeallOf: 20*9a916636SHuan He - $ref: /schemas/hwmon/hwmon-common.yaml# 21*9a916636SHuan He 22*9a916636SHuan Heproperties: 23*9a916636SHuan He compatible: 24*9a916636SHuan He const: eswin,eic7700-pvt 25*9a916636SHuan He 26*9a916636SHuan He reg: 27*9a916636SHuan He maxItems: 1 28*9a916636SHuan He 29*9a916636SHuan He clocks: 30*9a916636SHuan He items: 31*9a916636SHuan He - description: PVT enable clock 32*9a916636SHuan He - description: APB bus clock 33*9a916636SHuan He 34*9a916636SHuan He clock-names: 35*9a916636SHuan He items: 36*9a916636SHuan He - const: enable 37*9a916636SHuan He - const: apb 38*9a916636SHuan He 39*9a916636SHuan He interrupts: 40*9a916636SHuan He maxItems: 1 41*9a916636SHuan He 42*9a916636SHuan He resets: 43*9a916636SHuan He maxItems: 1 44*9a916636SHuan He 45*9a916636SHuan He '#thermal-sensor-cells': 46*9a916636SHuan He const: 0 47*9a916636SHuan He 48*9a916636SHuan Herequired: 49*9a916636SHuan He - compatible 50*9a916636SHuan He - reg 51*9a916636SHuan He - clocks 52*9a916636SHuan He - clock-names 53*9a916636SHuan He - interrupts 54*9a916636SHuan He - resets 55*9a916636SHuan He - '#thermal-sensor-cells' 56*9a916636SHuan He 57*9a916636SHuan HeunevaluatedProperties: false 58*9a916636SHuan He 59*9a916636SHuan Heexamples: 60*9a916636SHuan He - | 61*9a916636SHuan He sensor@50b00000 { 62*9a916636SHuan He compatible = "eswin,eic7700-pvt"; 63*9a916636SHuan He reg = <0x50b00000 0x10000>; 64*9a916636SHuan He clocks = <&clocks 244>, <&clocks 234>; 65*9a916636SHuan He clock-names = "enable", "apb"; 66*9a916636SHuan He interrupts = <349>; 67*9a916636SHuan He interrupt-parent = <&plic>; 68*9a916636SHuan He label = "pvt0"; 69*9a916636SHuan He resets = <&reset 111>; 70*9a916636SHuan He #thermal-sensor-cells = <0>; 71*9a916636SHuan He }; 72*9a916636SHuan He... 73