1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2021, The Linux Foundation. A 4 */ 5 6 #include <dt-bindings/interrupt-controller/irq 7 #include <dt-bindings/spmi/spmi.h> 8 9 &spmi_bus { 10 pm7325: pmic@1 { 11 compatible = "qcom,pm7325", "q 12 reg = <0x1 SPMI_USID>; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 16 pm7325_temp_alarm: temp-alarm@ 17 compatible = "qcom,spm 18 reg = <0xa00>; 19 interrupts = <0x1 0xa 20 #thermal-sensor-cells 21 }; 22 23 pm7325_gpios: gpio@8800 { 24 compatible = "qcom,pm7 25 reg = <0x8800>; 26 gpio-controller; 27 gpio-ranges = <&pm7325 28 #gpio-cells = <2>; 29 interrupt-controller; 30 #interrupt-cells = <2> 31 }; 32 }; 33 }; 34 35 &thermal_zones { 36 pm7325_thermal: pm7325-thermal { 37 polling-delay-passive = <100>; 38 39 thermal-sensors = <&pm7325_tem 40 41 trips { 42 pm7325_trip0: trip0 { 43 temperature = 44 hysteresis = < 45 type = "passiv 46 }; 47 48 pm7325_crit: pm7325-cr 49 temperature = 50 hysteresis = < 51 type = "critic 52 }; 53 }; 54 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.