1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2023, Linaro Limited
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/spmi/spmi.h>
11 pmm8654au_0_thermal: pm8775-0-thermal {
12 polling-delay-passive = <100>;
14 thermal-sensors = <&pmm8654au_0_temp_alarm>;
18 temperature = <105000>;
24 temperature = <125000>;
31 pmm8654au_1_thermal: pm8775-1-thermal {
32 polling-delay-passive = <100>;
34 thermal-sensors = <&pmm8654au_1_temp_alarm>;
38 temperature = <105000>;
44 temperature = <125000>;
51 pmm8654au_2_thermal: pm8775-2-thermal {
52 polling-delay-passive = <100>;
54 thermal-sensors = <&pmm8654au_2_temp_alarm>;
58 temperature = <105000>;
64 temperature = <125000>;
71 pmm8654au_3_thermal: pm8775-3-thermal {
72 polling-delay-passive = <100>;
74 thermal-sensors = <&pmm8654au_3_temp_alarm>;
78 temperature = <105000>;
84 temperature = <125000>;
95 compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
96 reg = <0x0 SPMI_USID>;
100 pmm8654au_0_temp_alarm: temp-alarm@a00 {
101 compatible = "qcom,spmi-temp-alarm";
103 interrupts-extended = <&spmi_bus 0x0 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
104 #thermal-sensor-cells = <0>;
107 pmm8654au_0_pon: pon@1200 {
108 compatible = "qcom,pmk8350-pon";
109 reg = <0x1200>, <0x800>;
110 reg-names = "hlos", "pbs";
111 mode-recovery = <0x1>;
112 mode-bootloader = <0x2>;
114 pmm8654au_0_pon_pwrkey: pwrkey {
115 compatible = "qcom,pmk8350-pwrkey";
116 interrupts-extended = <&spmi_bus 0x0 0x12 0x7 IRQ_TYPE_EDGE_BOTH>;
117 linux,code = <KEY_POWER>;
121 pmm8654au_0_pon_resin: resin {
122 compatible = "qcom,pmk8350-resin";
123 interrupts-extended = <&spmi_bus 0x0 0x12 0x6 IRQ_TYPE_EDGE_BOTH>;
129 pmm8654au_0_gpios: gpio@8800 {
130 compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
133 gpio-ranges = <&pmm8654au_0_gpios 0 0 12>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
140 pmm8654au_1: pmic@2 {
141 compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
142 reg = <0x2 SPMI_USID>;
143 #address-cells = <1>;
146 pmm8654au_1_temp_alarm: temp-alarm@a00 {
147 compatible = "qcom,spmi-temp-alarm";
149 interrupts-extended = <&spmi_bus 0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
150 #thermal-sensor-cells = <0>;
153 pmm8654au_1_gpios: gpio@8800 {
154 compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
157 gpio-ranges = <&pmm8654au_2_gpios 0 0 12>;
159 interrupt-controller;
160 #interrupt-cells = <2>;
164 pmm8654au_2: pmic@4 {
165 compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
166 reg = <0x4 SPMI_USID>;
167 #address-cells = <1>;
170 pmm8654au_2_temp_alarm: temp-alarm@a00 {
171 compatible = "qcom,spmi-temp-alarm";
173 interrupts-extended = <&spmi_bus 0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
174 #thermal-sensor-cells = <0>;
177 pmm8654au_2_gpios: gpio@8800 {
178 compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
181 gpio-ranges = <&pmm8654au_2_gpios 0 0 12>;
183 interrupt-controller;
184 #interrupt-cells = <2>;
188 pmm8654au_3: pmic@6 {
189 compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
190 reg = <0x6 SPMI_USID>;
191 #address-cells = <1>;
194 pmm8654au_3_temp_alarm: temp-alarm@a00 {
195 compatible = "qcom,spmi-temp-alarm";
197 interrupts-extended = <&spmi_bus 0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
198 #thermal-sensor-cells = <0>;
201 pmm8654au_3_gpios: gpio@8800 {
202 compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
205 gpio-ranges = <&pmm8654au_3_gpios 0 0 12>;
207 interrupt-controller;
208 #interrupt-cells = <2>;