1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2024, Linaro Limited
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
14 polling-delay-passive = <100>;
16 thermal-sensors = <&pm8550_temp_alarm>;
20 temperature = <95000>;
26 temperature = <115000>;
34 polling-delay-passive = <100>;
36 thermal-sensors = <&pm8550ve_2_temp_alarm>;
40 temperature = <95000>;
46 temperature = <115000>;
54 polling-delay-passive = <100>;
56 thermal-sensors = <&pmc8380_3_temp_alarm>;
60 temperature = <95000>;
66 temperature = <115000>;
74 polling-delay-passive = <100>;
76 thermal-sensors = <&pmc8380_4_temp_alarm>;
80 temperature = <95000>;
86 temperature = <115000>;
94 polling-delay-passive = <100>;
96 thermal-sensors = <&pmc8380_5_temp_alarm>;
100 temperature = <95000>;
106 temperature = <115000>;
114 polling-delay-passive = <100>;
116 thermal-sensors = <&pmc8380_6_temp_alarm>;
120 temperature = <95000>;
126 temperature = <115000>;
134 polling-delay-passive = <100>;
136 thermal-sensors = <&pm8550ve_8_temp_alarm>;
140 temperature = <95000>;
146 temperature = <115000>;
154 polling-delay-passive = <100>;
156 thermal-sensors = <&pm8550ve_9_temp_alarm>;
160 temperature = <95000>;
166 temperature = <115000>;
174 polling-delay-passive = <100>;
176 thermal-sensors = <&pm8010_temp_alarm>;
180 temperature = <95000>;
186 temperature = <115000>;
198 compatible = "qcom,pm8550", "qcom,spmi-pmic";
199 reg = <0x0 SPMI_USID>;
200 #address-cells = <1>;
203 pmk8550_pon: pon@1300 {
204 compatible = "qcom,pmk8350-pon";
205 reg = <0x1300>, <0x800>;
206 reg-names = "hlos", "pbs";
209 compatible = "qcom,pmk8350-pwrkey";
210 interrupts = <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>;
211 linux,code = <KEY_POWER>;
215 compatible = "qcom,pmk8350-resin";
216 interrupts = <0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>;
221 pmk8550_rtc: rtc@6100 {
222 compatible = "qcom,pmk8350-rtc";
223 reg = <0x6100>, <0x6200>;
224 reg-names = "rtc", "alarm";
225 interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
226 /* Not yet sure what blocks access */
230 pmk8550_sdam_2: nvram@7100 {
231 compatible = "qcom,spmi-sdam";
233 #address-cells = <1>;
235 ranges = <0 0x7100 0x100>;
237 reboot_reason: reboot-reason@48 {
243 pmk8550_gpios: gpio@8800 {
244 compatible = "qcom,pmk8550-gpio", "qcom,spmi-gpio";
247 gpio-ranges = <&pmk8550_gpios 0 0 6>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
256 compatible = "qcom,pm8550", "qcom,spmi-pmic";
257 reg = <0x1 SPMI_USID>;
258 #address-cells = <1>;
261 pm8550_temp_alarm: temp-alarm@a00 {
262 compatible = "qcom,spmi-temp-alarm";
264 interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
265 #thermal-sensor-cells = <0>;
268 pm8550_gpios: gpio@8800 {
269 compatible = "qcom,pm8550-gpio", "qcom,spmi-gpio";
272 gpio-ranges = <&pm8550_gpios 0 0 12>;
274 interrupt-controller;
275 #interrupt-cells = <2>;
278 pm8550_flash: led-controller@ee00 {
279 compatible = "qcom,pm8550-flash-led", "qcom,spmi-flash-led";
285 compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm";
294 compatible = "qcom,pm8550", "qcom,spmi-pmic";
295 reg = <0x2 SPMI_USID>;
296 #address-cells = <1>;
299 pm8550ve_2_temp_alarm: temp-alarm@a00 {
300 compatible = "qcom,spmi-temp-alarm";
302 interrupts = <0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
303 #thermal-sensor-cells = <0>;
306 pm8550ve_2_gpios: gpio@8800 {
307 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio";
310 gpio-ranges = <&pm8550ve_2_gpios 0 0 8>;
312 interrupt-controller;
313 #interrupt-cells = <2>;
317 /* PMC8380 is actually not a PM8550 series rebrand */
319 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
320 reg = <0x3 SPMI_USID>;
321 #address-cells = <1>;
324 pmc8380_3_temp_alarm: temp-alarm@a00 {
325 compatible = "qcom,spmi-temp-alarm";
327 interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
328 #thermal-sensor-cells = <0>;
331 pmc8380_3_gpios: gpio@8800 {
332 compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio";
335 gpio-ranges = <&pmc8380_3_gpios 0 0 10>;
337 interrupt-controller;
338 #interrupt-cells = <2>;
343 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
344 reg = <0x4 SPMI_USID>;
345 #address-cells = <1>;
348 pmc8380_4_temp_alarm: temp-alarm@a00 {
349 compatible = "qcom,spmi-temp-alarm";
351 interrupts = <0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
352 #thermal-sensor-cells = <0>;
355 pmc8380_4_gpios: gpio@8800 {
356 compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio";
359 gpio-ranges = <&pmc8380_4_gpios 0 0 10>;
361 interrupt-controller;
362 #interrupt-cells = <2>;
367 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
368 reg = <0x5 SPMI_USID>;
369 #address-cells = <1>;
372 pmc8380_5_temp_alarm: temp-alarm@a00 {
373 compatible = "qcom,spmi-temp-alarm";
375 interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
376 #thermal-sensor-cells = <0>;
379 pmc8380_5_gpios: gpio@8800 {
380 compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio";
383 gpio-ranges = <&pmc8380_5_gpios 0 0 10>;
385 interrupt-controller;
386 #interrupt-cells = <2>;
391 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
392 reg = <0x6 SPMI_USID>;
393 #address-cells = <1>;
396 pmc8380_6_temp_alarm: temp-alarm@a00 {
397 compatible = "qcom,spmi-temp-alarm";
399 interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
400 #thermal-sensor-cells = <0>;
403 pmc8380_6_gpios: gpio@8800 {
404 compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio";
407 gpio-ranges = <&pmc8380_6_gpios 0 0 10>;
409 interrupt-controller;
410 #interrupt-cells = <2>;
416 compatible = "qcom,pm8550", "qcom,spmi-pmic";
417 reg = <0x8 SPMI_USID>;
418 #address-cells = <1>;
421 pm8550ve_8_temp_alarm: temp-alarm@a00 {
422 compatible = "qcom,spmi-temp-alarm";
424 interrupts = <0x8 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
425 #thermal-sensor-cells = <0>;
428 pm8550ve_8_gpios: gpio@8800 {
429 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio";
432 gpio-ranges = <&pm8550ve_8_gpios 0 0 8>;
434 interrupt-controller;
435 #interrupt-cells = <2>;
441 compatible = "qcom,pm8550", "qcom,spmi-pmic";
442 reg = <0x9 SPMI_USID>;
443 #address-cells = <1>;
446 pm8550ve_9_temp_alarm: temp-alarm@a00 {
447 compatible = "qcom,spmi-temp-alarm";
449 interrupts = <0x9 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
450 #thermal-sensor-cells = <0>;
453 pm8550ve_9_gpios: gpio@8800 {
454 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio";
457 gpio-ranges = <&pm8550ve_9_gpios 0 0 8>;
459 interrupt-controller;
460 #interrupt-cells = <2>;
465 compatible = "qcom,pm8010", "qcom,spmi-pmic";
466 reg = <0xc SPMI_USID>;
467 #address-cells = <1>;
470 pm8010_temp_alarm: temp-alarm@2400 {
471 compatible = "qcom,spmi-temp-alarm";
473 interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
474 #thermal-sensor-cells = <0>;
481 compatible = "qcom,smb2360", "qcom,spmi-pmic";
482 reg = <0x7 SPMI_USID>;
483 #address-cells = <1>;
486 smb2360_0_eusb2_repeater: phy@fd00 {
487 compatible = "qcom,smb2360-eusb2-repeater";
494 compatible = "qcom,smb2360", "qcom,spmi-pmic";
495 reg = <0xa SPMI_USID>;
496 #address-cells = <1>;
499 smb2360_1_eusb2_repeater: phy@fd00 {
500 compatible = "qcom,smb2360-eusb2-repeater";
507 compatible = "qcom,smb2360", "qcom,spmi-pmic";
508 reg = <0xb SPMI_USID>;
509 #address-cells = <1>;
512 smb2360_2_eusb2_repeater: phy@fd00 {
513 compatible = "qcom,smb2360-eusb2-repeater";
520 compatible = "qcom,smb2360", "qcom,spmi-pmic";
521 reg = <0xc SPMI_USID>;
522 #address-cells = <1>;
527 smb2360_3_eusb2_repeater: phy@fd00 {
528 compatible = "qcom,smb2360-eusb2-repeater";