blob: 725303e1a364c48fe2f2ff6be1d020d3f670e4e7 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
Tom Rini6b642ac2024-10-01 12:20:28 -060014$ref: thermal-sensor.yaml#
15
Tom Rini53633a82024-02-29 12:33:36 -050016properties:
17 compatible:
Tom Rini762f85b2024-07-20 11:15:10 -060018 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
Tom Rini53633a82024-02-29 12:33:36 -050025
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
Tom Rini6b642ac2024-10-01 12:20:28 -060049unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050050
51examples:
52 - |
Tom Rini6b642ac2024-10-01 12:20:28 -060053 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 };
Tom Rini53633a82024-02-29 12:33:36 -050062...