1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022, Linaro Limited
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
12 pm8280_1_thermal: pm8280-1-thermal {
13 polling-delay-passive = <100>;
15 thermal-sensors = <&pm8280_1_temp_alarm>;
19 temperature = <95000>;
25 temperature = <115000>;
32 pm8280_2_thermal: pm8280-2-thermal {
33 polling-delay-passive = <100>;
35 thermal-sensors = <&pm8280_2_temp_alarm>;
39 temperature = <95000>;
45 temperature = <115000>;
56 compatible = "qcom,pmk8350", "qcom,spmi-pmic";
57 reg = <0x0 SPMI_USID>;
61 pmk8280_pon: pon@1300 {
62 compatible = "qcom,pm8998-pon";
65 pmk8280_pon_pwrkey: pwrkey {
66 compatible = "qcom,pmk8350-pwrkey";
67 interrupts-extended = <&spmi_bus 0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>;
68 linux,code = <KEY_POWER>;
72 pmk8280_pon_resin: resin {
73 compatible = "qcom,pmk8350-resin";
74 interrupts-extended = <&spmi_bus 0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>;
79 pmk8280_vadc: adc@3100 {
80 compatible = "qcom,spmi-adc7";
82 interrupts-extended = <&spmi_bus 0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
85 #io-channel-cells = <1>;
89 pmk8280_adc_tm: adc-tm@3400 {
90 compatible = "qcom,spmi-adc-tm5-gen2";
92 interrupts-extended = <&spmi_bus 0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
95 #thermal-sensor-cells = <1>;
99 pmk8280_rtc: rtc@6100 {
100 compatible = "qcom,pmk8350-rtc";
101 reg = <0x6100>, <0x6200>;
102 reg-names = "rtc", "alarm";
103 interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
110 compatible = "qcom,pm8350", "qcom,spmi-pmic";
111 reg = <0x1 SPMI_USID>;
112 #address-cells = <1>;
115 pm8280_1_temp_alarm: temp-alarm@a00 {
116 compatible = "qcom,spmi-temp-alarm";
118 interrupts-extended = <&spmi_bus 0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
119 #thermal-sensor-cells = <0>;
122 pmc8280_1_gpios: gpio@8800 {
123 compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
126 gpio-ranges = <&pmc8280_1_gpios 0 0 10>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
134 compatible = "qcom,pm8350c", "qcom,spmi-pmic";
135 reg = <0x2 SPMI_USID>;
136 #address-cells = <1>;
139 pmc8280c_gpios: gpio@8800 {
140 compatible = "qcom,pm8350c-gpio", "qcom,spmi-gpio";
143 gpio-ranges = <&pmc8280c_gpios 0 0 9>;
145 interrupt-controller;
146 #interrupt-cells = <2>;
150 compatible = "qcom,pm8350c-pwm";
152 #address-cells = <1>;
162 compatible = "qcom,pm8350", "qcom,spmi-pmic";
163 reg = <0x3 SPMI_USID>;
164 #address-cells = <1>;
167 pm8280_2_temp_alarm: temp-alarm@a00 {
168 compatible = "qcom,spmi-temp-alarm";
170 interrupts-extended = <&spmi_bus 0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
171 #thermal-sensor-cells = <0>;
174 pmc8280_2_gpios: gpio@8800 {
175 compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
178 gpio-ranges = <&pmc8280_2_gpios 0 0 10>;
180 interrupt-controller;
181 #interrupt-cells = <2>;
186 compatible = "qcom,pmr735a", "qcom,spmi-pmic";
187 reg = <0x4 SPMI_USID>;
188 #address-cells = <1>;
191 pmr735a_gpios: gpio@8800 {
192 compatible = "qcom,pmr735a-gpio", "qcom,spmi-gpio";
195 gpio-ranges = <&pmr735a_gpios 0 0 4>;
197 interrupt-controller;
198 #interrupt-cells = <2>;