0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom AVS ring oscillator thermal
0008
0009 maintainers:
0010 - Stefan Wahren <wahrenst@gmx.net>
0011
0012 description: |+
0013 The thermal node should be the child of a syscon node with the
0014 required property:
0015
0016 - compatible: Should be one of the following:
0017 "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
0018
0019 Refer to the bindings described in
0020 Documentation/devicetree/bindings/mfd/syscon.yaml
0021
0022 properties:
0023 compatible:
0024 const: brcm,bcm2711-thermal
0025
0026 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
0027 "#thermal-sensor-cells":
0028 const: 0
0029
0030 required:
0031 - compatible
0032 - '#thermal-sensor-cells'
0033
0034 additionalProperties: false
0035
0036 examples:
0037 - |
0038 avs-monitor@7d5d2000 {
0039 compatible = "brcm,bcm2711-avs-monitor",
0040 "syscon", "simple-mfd";
0041 reg = <0x7d5d2000 0xf00>;
0042
0043 thermal: thermal {
0044 compatible = "brcm,bcm2711-thermal";
0045 #thermal-sensor-cells = <0>;
0046 };
0047 };
0048 ...