48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom BCM2835 thermal sensor8 9maintainers:10 - Stefan Wahren <stefan.wahren@i2se.com>11 12allOf:13 - $ref: thermal-sensor.yaml#14 15properties:16 compatible:17 enum:18 - brcm,bcm2835-thermal19 - brcm,bcm2836-thermal20 - brcm,bcm2837-thermal21 22 reg:23 maxItems: 124 25 clocks:26 maxItems: 127 28 "#thermal-sensor-cells":29 const: 030 31unevaluatedProperties: false32 33required:34 - compatible35 - reg36 - clocks37 38examples:39 - |40 #include <dt-bindings/clock/bcm2835.h>41 42 thermal@7e212000 {43 compatible = "brcm,bcm2835-thermal";44 reg = <0x7e212000 0x8>;45 clocks = <&clocks BCM2835_CLOCK_TSENS>;46 #thermal-sensor-cells = <0>;47 };48