1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2021, Linaro Limited 4 */ 5 6 #include <dt-bindings/interrupt-controller/irq 7 #include <dt-bindings/spmi/spmi.h> 8 9 &spmi_bus { 10 pm8350c: pmic@2 { 11 compatible = "qcom,pm8350c", " 12 reg = <0x2 SPMI_USID>; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 16 pm8350c_temp_alarm: temp-alarm 17 compatible = "qcom,spm 18 reg = <0xa00>; 19 interrupts = <0x2 0xa 20 #thermal-sensor-cells 21 }; 22 23 pm8350c_gpios: gpio@8800 { 24 compatible = "qcom,pm8 25 reg = <0x8800>; 26 gpio-controller; 27 gpio-ranges = <&pm8350 28 #gpio-cells = <2>; 29 interrupt-controller; 30 #interrupt-cells = <2> 31 }; 32 33 pm8350c_flash: led-controller@ 34 compatible = "qcom,pm8 35 reg = <0xee00>; 36 status = "disabled"; 37 }; 38 39 pm8350c_pwm: pwm { 40 compatible = "qcom,pm8 41 #pwm-cells = <2>; 42 status = "disabled"; 43 }; 44 }; 45 }; 46 47 / { 48 thermal-zones { 49 pm8350c_thermal: pm8350c-therm 50 polling-delay-passive 51 52 thermal-sensors = <&pm 53 54 trips { 55 pm8350c_trip0: 56 temper 57 hyster 58 type = 59 }; 60 61 pm8350c_crit: 62 temper 63 hyster 64 type = 65 }; 66 }; 67 }; 68 }; 69 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.