brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 70b2732 Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Amlogic Thermal8 9maintainers:10  - Guillaume La Roque <glaroque@baylibre.com>11 12description: Binding for Amlogic Thermal13 14$ref: thermal-sensor.yaml#15 16properties:17  compatible:18    oneOf:19      - items:20          - enum:21              - amlogic,g12a-cpu-thermal22              - amlogic,g12a-ddr-thermal23          - const: amlogic,g12a-thermal24      - const: amlogic,a1-cpu-thermal25 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  clocks:33    maxItems: 134 35  power-domains:36    maxItems: 137 38  amlogic,ao-secure:39    description: phandle to the ao-secure syscon40    $ref: /schemas/types.yaml#/definitions/phandle41 42  '#thermal-sensor-cells':43    const: 044 45required:46  - compatible47  - reg48  - interrupts49  - clocks50  - amlogic,ao-secure51 52unevaluatedProperties: false53 54examples:55  - |56    temperature-sensor@ff634800 {57        compatible = "amlogic,g12a-cpu-thermal",58                     "amlogic,g12a-thermal";59        reg = <0xff634800 0x50>;60        interrupts = <0x0 0x24 0x0>;61        clocks = <&clk 164>;62        #thermal-sensor-cells = <0>;63        amlogic,ao-secure = <&sec_AO>;64    };65...66