1d16718fcSEmil Renner Berthing# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2d16718fcSEmil Renner Berthing%YAML 1.2 3d16718fcSEmil Renner Berthing--- 4d16718fcSEmil Renner Berthing$id: http://devicetree.org/schemas/hwmon/starfive,jh71x0-temp.yaml# 5d16718fcSEmil Renner Berthing$schema: http://devicetree.org/meta-schemas/core.yaml# 6d16718fcSEmil Renner Berthing 7d16718fcSEmil Renner Berthingtitle: StarFive JH71x0 Temperature Sensor 8d16718fcSEmil Renner Berthing 9d16718fcSEmil Renner Berthingmaintainers: 10d16718fcSEmil Renner Berthing - Emil Renner Berthing <kernel@esmil.dk> 11d16718fcSEmil Renner Berthing 12d16718fcSEmil Renner Berthingdescription: | 13d16718fcSEmil Renner Berthing StarFive Technology Co. JH71x0 embedded temperature sensor 14d16718fcSEmil Renner Berthing 15d16718fcSEmil Renner Berthingproperties: 16d16718fcSEmil Renner Berthing compatible: 17d16718fcSEmil Renner Berthing enum: 18d16718fcSEmil Renner Berthing - starfive,jh7100-temp 19d16718fcSEmil Renner Berthing - starfive,jh7110-temp 20d16718fcSEmil Renner Berthing 21d16718fcSEmil Renner Berthing reg: 22d16718fcSEmil Renner Berthing maxItems: 1 23d16718fcSEmil Renner Berthing 24d16718fcSEmil Renner Berthing clocks: 25d16718fcSEmil Renner Berthing minItems: 2 26d16718fcSEmil Renner Berthing maxItems: 2 27d16718fcSEmil Renner Berthing 28d16718fcSEmil Renner Berthing clock-names: 29d16718fcSEmil Renner Berthing items: 30*45698208SRob Herring - const: sense 31*45698208SRob Herring - const: bus 32d16718fcSEmil Renner Berthing 33d16718fcSEmil Renner Berthing '#thermal-sensor-cells': 34d16718fcSEmil Renner Berthing const: 0 35d16718fcSEmil Renner Berthing 36d16718fcSEmil Renner Berthing resets: 37d16718fcSEmil Renner Berthing minItems: 2 38d16718fcSEmil Renner Berthing maxItems: 2 39d16718fcSEmil Renner Berthing 40d16718fcSEmil Renner Berthing reset-names: 41d16718fcSEmil Renner Berthing items: 42*45698208SRob Herring - const: sense 43*45698208SRob Herring - const: bus 44d16718fcSEmil Renner Berthing 45d16718fcSEmil Renner Berthingrequired: 46d16718fcSEmil Renner Berthing - compatible 47d16718fcSEmil Renner Berthing - reg 48d16718fcSEmil Renner Berthing - clocks 49d16718fcSEmil Renner Berthing - clock-names 50d16718fcSEmil Renner Berthing - resets 51d16718fcSEmil Renner Berthing - reset-names 52d16718fcSEmil Renner Berthing 53d16718fcSEmil Renner BerthingadditionalProperties: false 54d16718fcSEmil Renner Berthing 55d16718fcSEmil Renner Berthingexamples: 56d16718fcSEmil Renner Berthing - | 57d16718fcSEmil Renner Berthing #include <dt-bindings/clock/starfive-jh7100.h> 58d16718fcSEmil Renner Berthing #include <dt-bindings/reset/starfive-jh7100.h> 59d16718fcSEmil Renner Berthing 60d16718fcSEmil Renner Berthing temperature-sensor@124a0000 { 61d16718fcSEmil Renner Berthing compatible = "starfive,jh7100-temp"; 62d16718fcSEmil Renner Berthing reg = <0x124a0000 0x10000>; 63d16718fcSEmil Renner Berthing clocks = <&clkgen JH7100_CLK_TEMP_SENSE>, 64d16718fcSEmil Renner Berthing <&clkgen JH7100_CLK_TEMP_APB>; 65d16718fcSEmil Renner Berthing clock-names = "sense", "bus"; 66d16718fcSEmil Renner Berthing #thermal-sensor-cells = <0>; 67d16718fcSEmil Renner Berthing resets = <&rstgen JH7100_RSTN_TEMP_SENSE>, 68d16718fcSEmil Renner Berthing <&rstgen JH7100_RSTN_TEMP_APB>; 69d16718fcSEmil Renner Berthing reset-names = "sense", "bus"; 70d16718fcSEmil Renner Berthing }; 71