1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Amlogic Thermal 8 9maintainers: 10 - Guillaume La Roque <glaroque@baylibre.com> 11 12description: Binding for Amlogic Thermal 13 14$ref: thermal-sensor.yaml# 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - enum: 21 - amlogic,g12a-cpu-thermal 22 - amlogic,g12a-ddr-thermal 23 - const: amlogic,g12a-thermal 24 - const: amlogic,a1-cpu-thermal 25 26 reg: 27 maxItems: 1 28 29 interrupts: 30 maxItems: 1 31 32 clocks: 33 maxItems: 1 34 35 amlogic,ao-secure: 36 description: phandle to the ao-secure syscon 37 $ref: /schemas/types.yaml#/definitions/phandle 38 39 '#thermal-sensor-cells': 40 const: 0 41 42required: 43 - compatible 44 - reg 45 - interrupts 46 - clocks 47 - amlogic,ao-secure 48 49unevaluatedProperties: false 50 51examples: 52 - | 53 temperature-sensor@ff634800 { 54 compatible = "amlogic,g12a-cpu-thermal", 55 "amlogic,g12a-thermal"; 56 reg = <0xff634800 0x50>; 57 interrupts = <0x0 0x24 0x0>; 58 clocks = <&clk 164>; 59 #thermal-sensor-cells = <0>; 60 amlogic,ao-secure = <&sec_AO>; 61 }; 62... 63