34 lines · plain
1Amazon's Annapurna Labs Thermal Sensor2 3Simple thermal device that allows temperature reading by a single MMIO4transaction.5 6Required properties:7- compatible: "amazon,al-thermal".8- reg: The physical base address and length of the sensor's registers.9- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.10 11Example:12 thermal: thermal {13 compatible = "amazon,al-thermal";14 reg = <0x0 0x05002860 0x0 0x1>;15 #thermal-sensor-cells = <0x1>;16 };17 18 thermal-zones {19 thermal-z0 {20 polling-delay-passive = <250>;21 polling-delay = <1000>;22 thermal-sensors = <&thermal 0>;23 trips {24 critical {25 temperature = <105000>;26 hysteresis = <2000>;27 type = "critical";28 };29 };30 31 };32 };33 34