xref: /linux/Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml (revision fbfb6bd927c9ac6ea155471cc7ced8e16b37c2cb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/st,thermal-spear1340.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SPEAr Thermal Sensor
8
9maintainers:
10  - Viresh Kumar <vireshk@kernel.org>
11
12properties:
13  compatible:
14    const: st,thermal-spear1340
15
16  reg:
17    maxItems: 1
18
19  st,thermal-flags:
20    description: flags used to enable thermal sensor
21    $ref: /schemas/types.yaml#/definitions/uint32
22
23required:
24  - compatible
25  - reg
26  - st,thermal-flags
27
28additionalProperties: false
29
30examples:
31  - |
32    thermal@fc000000 {
33      compatible = "st,thermal-spear1340";
34      reg = <0xfc000000 0x1000>;
35      st,thermal-flags = <0x7000>;
36    };
37