17d0873ebSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 27d0873ebSEmmanuel Vadot/* 37d0873ebSEmmanuel Vadot * Copyright (c) 2024, Linaro Limited 47d0873ebSEmmanuel Vadot */ 57d0873ebSEmmanuel Vadot 60e8011faSEmmanuel Vadot#include <dt-bindings/input/input.h> 70e8011faSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h> 87d0873ebSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 97d0873ebSEmmanuel Vadot#include <dt-bindings/spmi/spmi.h> 107d0873ebSEmmanuel Vadot 117d0873ebSEmmanuel Vadot/ { 120e8011faSEmmanuel Vadot thermal-zones { 130e8011faSEmmanuel Vadot pm8550-thermal { 140e8011faSEmmanuel Vadot polling-delay-passive = <100>; 150e8011faSEmmanuel Vadot 160e8011faSEmmanuel Vadot thermal-sensors = <&pm8550_temp_alarm>; 170e8011faSEmmanuel Vadot 180e8011faSEmmanuel Vadot trips { 190e8011faSEmmanuel Vadot trip0 { 200e8011faSEmmanuel Vadot temperature = <95000>; 210e8011faSEmmanuel Vadot hysteresis = <0>; 220e8011faSEmmanuel Vadot type = "passive"; 230e8011faSEmmanuel Vadot }; 240e8011faSEmmanuel Vadot 250e8011faSEmmanuel Vadot trip1 { 260e8011faSEmmanuel Vadot temperature = <115000>; 270e8011faSEmmanuel Vadot hysteresis = <0>; 280e8011faSEmmanuel Vadot type = "hot"; 290e8011faSEmmanuel Vadot }; 300e8011faSEmmanuel Vadot }; 310e8011faSEmmanuel Vadot }; 320e8011faSEmmanuel Vadot 330e8011faSEmmanuel Vadot pm8550ve-2-thermal { 340e8011faSEmmanuel Vadot polling-delay-passive = <100>; 350e8011faSEmmanuel Vadot 360e8011faSEmmanuel Vadot thermal-sensors = <&pm8550ve_2_temp_alarm>; 370e8011faSEmmanuel Vadot 380e8011faSEmmanuel Vadot trips { 390e8011faSEmmanuel Vadot trip0 { 400e8011faSEmmanuel Vadot temperature = <95000>; 410e8011faSEmmanuel Vadot hysteresis = <0>; 420e8011faSEmmanuel Vadot type = "passive"; 430e8011faSEmmanuel Vadot }; 440e8011faSEmmanuel Vadot 450e8011faSEmmanuel Vadot trip1 { 460e8011faSEmmanuel Vadot temperature = <115000>; 470e8011faSEmmanuel Vadot hysteresis = <0>; 480e8011faSEmmanuel Vadot type = "hot"; 490e8011faSEmmanuel Vadot }; 500e8011faSEmmanuel Vadot }; 510e8011faSEmmanuel Vadot }; 520e8011faSEmmanuel Vadot 530e8011faSEmmanuel Vadot pmc8380-3-thermal { 540e8011faSEmmanuel Vadot polling-delay-passive = <100>; 550e8011faSEmmanuel Vadot 560e8011faSEmmanuel Vadot thermal-sensors = <&pmc8380_3_temp_alarm>; 570e8011faSEmmanuel Vadot 580e8011faSEmmanuel Vadot trips { 590e8011faSEmmanuel Vadot trip0 { 600e8011faSEmmanuel Vadot temperature = <95000>; 610e8011faSEmmanuel Vadot hysteresis = <0>; 620e8011faSEmmanuel Vadot type = "passive"; 630e8011faSEmmanuel Vadot }; 640e8011faSEmmanuel Vadot 650e8011faSEmmanuel Vadot trip1 { 660e8011faSEmmanuel Vadot temperature = <115000>; 670e8011faSEmmanuel Vadot hysteresis = <0>; 680e8011faSEmmanuel Vadot type = "hot"; 690e8011faSEmmanuel Vadot }; 700e8011faSEmmanuel Vadot }; 710e8011faSEmmanuel Vadot }; 720e8011faSEmmanuel Vadot 730e8011faSEmmanuel Vadot pmc8380-4-thermal { 740e8011faSEmmanuel Vadot polling-delay-passive = <100>; 750e8011faSEmmanuel Vadot 760e8011faSEmmanuel Vadot thermal-sensors = <&pmc8380_4_temp_alarm>; 770e8011faSEmmanuel Vadot 780e8011faSEmmanuel Vadot trips { 790e8011faSEmmanuel Vadot trip0 { 800e8011faSEmmanuel Vadot temperature = <95000>; 810e8011faSEmmanuel Vadot hysteresis = <0>; 820e8011faSEmmanuel Vadot type = "passive"; 830e8011faSEmmanuel Vadot }; 840e8011faSEmmanuel Vadot 850e8011faSEmmanuel Vadot trip1 { 860e8011faSEmmanuel Vadot temperature = <115000>; 870e8011faSEmmanuel Vadot hysteresis = <0>; 880e8011faSEmmanuel Vadot type = "hot"; 890e8011faSEmmanuel Vadot }; 900e8011faSEmmanuel Vadot }; 910e8011faSEmmanuel Vadot }; 920e8011faSEmmanuel Vadot 930e8011faSEmmanuel Vadot pmc8380-5-thermal { 940e8011faSEmmanuel Vadot polling-delay-passive = <100>; 950e8011faSEmmanuel Vadot 960e8011faSEmmanuel Vadot thermal-sensors = <&pmc8380_5_temp_alarm>; 970e8011faSEmmanuel Vadot 980e8011faSEmmanuel Vadot trips { 990e8011faSEmmanuel Vadot trip0 { 1000e8011faSEmmanuel Vadot temperature = <95000>; 1010e8011faSEmmanuel Vadot hysteresis = <0>; 1020e8011faSEmmanuel Vadot type = "passive"; 1030e8011faSEmmanuel Vadot }; 1040e8011faSEmmanuel Vadot 1050e8011faSEmmanuel Vadot trip1 { 1060e8011faSEmmanuel Vadot temperature = <115000>; 1070e8011faSEmmanuel Vadot hysteresis = <0>; 1080e8011faSEmmanuel Vadot type = "hot"; 1090e8011faSEmmanuel Vadot }; 1100e8011faSEmmanuel Vadot }; 1110e8011faSEmmanuel Vadot }; 1120e8011faSEmmanuel Vadot 1130e8011faSEmmanuel Vadot pmc8380-6-thermal { 1140e8011faSEmmanuel Vadot polling-delay-passive = <100>; 1150e8011faSEmmanuel Vadot 1160e8011faSEmmanuel Vadot thermal-sensors = <&pmc8380_6_temp_alarm>; 1170e8011faSEmmanuel Vadot 1180e8011faSEmmanuel Vadot trips { 1190e8011faSEmmanuel Vadot trip0 { 1200e8011faSEmmanuel Vadot temperature = <95000>; 1210e8011faSEmmanuel Vadot hysteresis = <0>; 1220e8011faSEmmanuel Vadot type = "passive"; 1230e8011faSEmmanuel Vadot }; 1240e8011faSEmmanuel Vadot 1250e8011faSEmmanuel Vadot trip1 { 1260e8011faSEmmanuel Vadot temperature = <115000>; 1270e8011faSEmmanuel Vadot hysteresis = <0>; 1280e8011faSEmmanuel Vadot type = "hot"; 1290e8011faSEmmanuel Vadot }; 1300e8011faSEmmanuel Vadot }; 1310e8011faSEmmanuel Vadot }; 1320e8011faSEmmanuel Vadot 1330e8011faSEmmanuel Vadot pm8550ve-8-thermal { 1340e8011faSEmmanuel Vadot polling-delay-passive = <100>; 1350e8011faSEmmanuel Vadot 1360e8011faSEmmanuel Vadot thermal-sensors = <&pm8550ve_8_temp_alarm>; 1370e8011faSEmmanuel Vadot 1380e8011faSEmmanuel Vadot trips { 1390e8011faSEmmanuel Vadot trip0 { 1400e8011faSEmmanuel Vadot temperature = <95000>; 1410e8011faSEmmanuel Vadot hysteresis = <0>; 1420e8011faSEmmanuel Vadot type = "passive"; 1430e8011faSEmmanuel Vadot }; 1440e8011faSEmmanuel Vadot 1450e8011faSEmmanuel Vadot trip1 { 1460e8011faSEmmanuel Vadot temperature = <115000>; 1470e8011faSEmmanuel Vadot hysteresis = <0>; 1480e8011faSEmmanuel Vadot type = "hot"; 1490e8011faSEmmanuel Vadot }; 1500e8011faSEmmanuel Vadot }; 1510e8011faSEmmanuel Vadot }; 1520e8011faSEmmanuel Vadot 1530e8011faSEmmanuel Vadot pm8550ve-9-thermal { 1540e8011faSEmmanuel Vadot polling-delay-passive = <100>; 1550e8011faSEmmanuel Vadot 1560e8011faSEmmanuel Vadot thermal-sensors = <&pm8550ve_9_temp_alarm>; 1570e8011faSEmmanuel Vadot 1580e8011faSEmmanuel Vadot trips { 1590e8011faSEmmanuel Vadot trip0 { 1600e8011faSEmmanuel Vadot temperature = <95000>; 1610e8011faSEmmanuel Vadot hysteresis = <0>; 1620e8011faSEmmanuel Vadot type = "passive"; 1630e8011faSEmmanuel Vadot }; 1640e8011faSEmmanuel Vadot 1650e8011faSEmmanuel Vadot trip1 { 1660e8011faSEmmanuel Vadot temperature = <115000>; 1670e8011faSEmmanuel Vadot hysteresis = <0>; 1680e8011faSEmmanuel Vadot type = "hot"; 1690e8011faSEmmanuel Vadot }; 1700e8011faSEmmanuel Vadot }; 1710e8011faSEmmanuel Vadot }; 1720e8011faSEmmanuel Vadot 1730e8011faSEmmanuel Vadot pm8010-thermal { 1740e8011faSEmmanuel Vadot polling-delay-passive = <100>; 1750e8011faSEmmanuel Vadot 1760e8011faSEmmanuel Vadot thermal-sensors = <&pm8010_temp_alarm>; 1770e8011faSEmmanuel Vadot 1780e8011faSEmmanuel Vadot trips { 1790e8011faSEmmanuel Vadot trip0 { 1800e8011faSEmmanuel Vadot temperature = <95000>; 1810e8011faSEmmanuel Vadot hysteresis = <0>; 1820e8011faSEmmanuel Vadot type = "passive"; 1830e8011faSEmmanuel Vadot }; 1840e8011faSEmmanuel Vadot 1850e8011faSEmmanuel Vadot trip1 { 1860e8011faSEmmanuel Vadot temperature = <115000>; 1870e8011faSEmmanuel Vadot hysteresis = <0>; 1880e8011faSEmmanuel Vadot type = "hot"; 1890e8011faSEmmanuel Vadot }; 1900e8011faSEmmanuel Vadot }; 1910e8011faSEmmanuel Vadot }; 1920e8011faSEmmanuel Vadot }; 1930e8011faSEmmanuel Vadot}; 1940e8011faSEmmanuel Vadot 1950e8011faSEmmanuel Vadot&spmi_bus0 { 1960e8011faSEmmanuel Vadot /* PMK8380 */ 1970e8011faSEmmanuel Vadot pmk8550: pmic@0 { 1980e8011faSEmmanuel Vadot compatible = "qcom,pm8550", "qcom,spmi-pmic"; 1990e8011faSEmmanuel Vadot reg = <0x0 SPMI_USID>; 2000e8011faSEmmanuel Vadot #address-cells = <1>; 2010e8011faSEmmanuel Vadot #size-cells = <0>; 2020e8011faSEmmanuel Vadot 2030e8011faSEmmanuel Vadot pmk8550_pon: pon@1300 { 2040e8011faSEmmanuel Vadot compatible = "qcom,pmk8350-pon"; 2050e8011faSEmmanuel Vadot reg = <0x1300>, <0x800>; 2060e8011faSEmmanuel Vadot reg-names = "hlos", "pbs"; 2070e8011faSEmmanuel Vadot 2080e8011faSEmmanuel Vadot pon_pwrkey: pwrkey { 2090e8011faSEmmanuel Vadot compatible = "qcom,pmk8350-pwrkey"; 2100e8011faSEmmanuel Vadot interrupts = <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>; 2110e8011faSEmmanuel Vadot linux,code = <KEY_POWER>; 2120e8011faSEmmanuel Vadot }; 2130e8011faSEmmanuel Vadot 2140e8011faSEmmanuel Vadot pon_resin: resin { 2150e8011faSEmmanuel Vadot compatible = "qcom,pmk8350-resin"; 2160e8011faSEmmanuel Vadot interrupts = <0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>; 2170e8011faSEmmanuel Vadot status = "disabled"; 2180e8011faSEmmanuel Vadot }; 2190e8011faSEmmanuel Vadot }; 2200e8011faSEmmanuel Vadot 2210e8011faSEmmanuel Vadot pmk8550_rtc: rtc@6100 { 2220e8011faSEmmanuel Vadot compatible = "qcom,pmk8350-rtc"; 2230e8011faSEmmanuel Vadot reg = <0x6100>, <0x6200>; 2240e8011faSEmmanuel Vadot reg-names = "rtc", "alarm"; 2250e8011faSEmmanuel Vadot interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; 2260e8011faSEmmanuel Vadot /* Not yet sure what blocks access */ 2270e8011faSEmmanuel Vadot status = "reserved"; 2280e8011faSEmmanuel Vadot }; 2290e8011faSEmmanuel Vadot 2300e8011faSEmmanuel Vadot pmk8550_sdam_2: nvram@7100 { 2310e8011faSEmmanuel Vadot compatible = "qcom,spmi-sdam"; 2320e8011faSEmmanuel Vadot reg = <0x7100>; 2330e8011faSEmmanuel Vadot #address-cells = <1>; 2340e8011faSEmmanuel Vadot #size-cells = <1>; 2350e8011faSEmmanuel Vadot ranges = <0 0x7100 0x100>; 2360e8011faSEmmanuel Vadot 2370e8011faSEmmanuel Vadot reboot_reason: reboot-reason@48 { 2380e8011faSEmmanuel Vadot reg = <0x48 0x1>; 2390e8011faSEmmanuel Vadot bits = <1 7>; 2400e8011faSEmmanuel Vadot }; 2410e8011faSEmmanuel Vadot }; 2420e8011faSEmmanuel Vadot 2430e8011faSEmmanuel Vadot pmk8550_gpios: gpio@8800 { 2440e8011faSEmmanuel Vadot compatible = "qcom,pmk8550-gpio", "qcom,spmi-gpio"; 2450e8011faSEmmanuel Vadot reg = <0xb800>; 2460e8011faSEmmanuel Vadot gpio-controller; 2470e8011faSEmmanuel Vadot gpio-ranges = <&pmk8550_gpios 0 0 6>; 2480e8011faSEmmanuel Vadot #gpio-cells = <2>; 2490e8011faSEmmanuel Vadot interrupt-controller; 2500e8011faSEmmanuel Vadot #interrupt-cells = <2>; 2510e8011faSEmmanuel Vadot }; 252*b2d2a78aSEmmanuel Vadot 253*b2d2a78aSEmmanuel Vadot pmk8550_pwm: pwm { 254*b2d2a78aSEmmanuel Vadot compatible = "qcom,pmk8550-pwm"; 255*b2d2a78aSEmmanuel Vadot 256*b2d2a78aSEmmanuel Vadot #pwm-cells = <2>; 257*b2d2a78aSEmmanuel Vadot 258*b2d2a78aSEmmanuel Vadot status = "disabled"; 259*b2d2a78aSEmmanuel Vadot }; 2600e8011faSEmmanuel Vadot }; 2610e8011faSEmmanuel Vadot 2620e8011faSEmmanuel Vadot /* PMC8380C */ 2630e8011faSEmmanuel Vadot pm8550: pmic@1 { 2640e8011faSEmmanuel Vadot compatible = "qcom,pm8550", "qcom,spmi-pmic"; 2650e8011faSEmmanuel Vadot reg = <0x1 SPMI_USID>; 2660e8011faSEmmanuel Vadot #address-cells = <1>; 2670e8011faSEmmanuel Vadot #size-cells = <0>; 2680e8011faSEmmanuel Vadot 2690e8011faSEmmanuel Vadot pm8550_temp_alarm: temp-alarm@a00 { 2700e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 2710e8011faSEmmanuel Vadot reg = <0xa00>; 2720e8011faSEmmanuel Vadot interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 2730e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 2740e8011faSEmmanuel Vadot }; 2750e8011faSEmmanuel Vadot 2760e8011faSEmmanuel Vadot pm8550_gpios: gpio@8800 { 2770e8011faSEmmanuel Vadot compatible = "qcom,pm8550-gpio", "qcom,spmi-gpio"; 2780e8011faSEmmanuel Vadot reg = <0x8800>; 2790e8011faSEmmanuel Vadot gpio-controller; 2800e8011faSEmmanuel Vadot gpio-ranges = <&pm8550_gpios 0 0 12>; 2810e8011faSEmmanuel Vadot #gpio-cells = <2>; 2820e8011faSEmmanuel Vadot interrupt-controller; 2830e8011faSEmmanuel Vadot #interrupt-cells = <2>; 2840e8011faSEmmanuel Vadot }; 2850e8011faSEmmanuel Vadot 2860e8011faSEmmanuel Vadot pm8550_flash: led-controller@ee00 { 2870e8011faSEmmanuel Vadot compatible = "qcom,pm8550-flash-led", "qcom,spmi-flash-led"; 2880e8011faSEmmanuel Vadot reg = <0xee00>; 2890e8011faSEmmanuel Vadot status = "disabled"; 2900e8011faSEmmanuel Vadot }; 2910e8011faSEmmanuel Vadot 2920e8011faSEmmanuel Vadot pm8550_pwm: pwm { 2930e8011faSEmmanuel Vadot compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm"; 2940e8011faSEmmanuel Vadot #pwm-cells = <2>; 2950e8011faSEmmanuel Vadot 2960e8011faSEmmanuel Vadot status = "disabled"; 2970e8011faSEmmanuel Vadot }; 2980e8011faSEmmanuel Vadot }; 2990e8011faSEmmanuel Vadot 3000e8011faSEmmanuel Vadot /* PMC8380VE */ 3010e8011faSEmmanuel Vadot pm8550ve_2: pmic@2 { 3020e8011faSEmmanuel Vadot compatible = "qcom,pm8550", "qcom,spmi-pmic"; 3030e8011faSEmmanuel Vadot reg = <0x2 SPMI_USID>; 3040e8011faSEmmanuel Vadot #address-cells = <1>; 3050e8011faSEmmanuel Vadot #size-cells = <0>; 3060e8011faSEmmanuel Vadot 3070e8011faSEmmanuel Vadot pm8550ve_2_temp_alarm: temp-alarm@a00 { 3080e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 3090e8011faSEmmanuel Vadot reg = <0xa00>; 3100e8011faSEmmanuel Vadot interrupts = <0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 3110e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 3120e8011faSEmmanuel Vadot }; 3130e8011faSEmmanuel Vadot 3140e8011faSEmmanuel Vadot pm8550ve_2_gpios: gpio@8800 { 3150e8011faSEmmanuel Vadot compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 3160e8011faSEmmanuel Vadot reg = <0x8800>; 3170e8011faSEmmanuel Vadot gpio-controller; 3180e8011faSEmmanuel Vadot gpio-ranges = <&pm8550ve_2_gpios 0 0 8>; 3190e8011faSEmmanuel Vadot #gpio-cells = <2>; 3200e8011faSEmmanuel Vadot interrupt-controller; 3210e8011faSEmmanuel Vadot #interrupt-cells = <2>; 3220e8011faSEmmanuel Vadot }; 3230e8011faSEmmanuel Vadot }; 3240e8011faSEmmanuel Vadot 3250e8011faSEmmanuel Vadot /* PMC8380 is actually not a PM8550 series rebrand */ 3260e8011faSEmmanuel Vadot pmc8380_3: pmic@3 { 3270e8011faSEmmanuel Vadot compatible = "qcom,pmc8380", "qcom,spmi-pmic"; 3280e8011faSEmmanuel Vadot reg = <0x3 SPMI_USID>; 3290e8011faSEmmanuel Vadot #address-cells = <1>; 3300e8011faSEmmanuel Vadot #size-cells = <0>; 3310e8011faSEmmanuel Vadot 3320e8011faSEmmanuel Vadot pmc8380_3_temp_alarm: temp-alarm@a00 { 3330e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 3340e8011faSEmmanuel Vadot reg = <0xa00>; 3350e8011faSEmmanuel Vadot interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 3360e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 3370e8011faSEmmanuel Vadot }; 3380e8011faSEmmanuel Vadot 3390e8011faSEmmanuel Vadot pmc8380_3_gpios: gpio@8800 { 3400e8011faSEmmanuel Vadot compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio"; 3410e8011faSEmmanuel Vadot reg = <0x8800>; 3420e8011faSEmmanuel Vadot gpio-controller; 3430e8011faSEmmanuel Vadot gpio-ranges = <&pmc8380_3_gpios 0 0 10>; 3440e8011faSEmmanuel Vadot #gpio-cells = <2>; 3450e8011faSEmmanuel Vadot interrupt-controller; 3460e8011faSEmmanuel Vadot #interrupt-cells = <2>; 3470e8011faSEmmanuel Vadot }; 3480e8011faSEmmanuel Vadot }; 3490e8011faSEmmanuel Vadot 3500e8011faSEmmanuel Vadot pmc8380_4: pmic@4 { 3510e8011faSEmmanuel Vadot compatible = "qcom,pmc8380", "qcom,spmi-pmic"; 3520e8011faSEmmanuel Vadot reg = <0x4 SPMI_USID>; 3530e8011faSEmmanuel Vadot #address-cells = <1>; 3540e8011faSEmmanuel Vadot #size-cells = <0>; 3550e8011faSEmmanuel Vadot 3560e8011faSEmmanuel Vadot pmc8380_4_temp_alarm: temp-alarm@a00 { 3570e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 3580e8011faSEmmanuel Vadot reg = <0xa00>; 3590e8011faSEmmanuel Vadot interrupts = <0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 3600e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 3610e8011faSEmmanuel Vadot }; 3620e8011faSEmmanuel Vadot 3630e8011faSEmmanuel Vadot pmc8380_4_gpios: gpio@8800 { 3640e8011faSEmmanuel Vadot compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio"; 3650e8011faSEmmanuel Vadot reg = <0x8800>; 3660e8011faSEmmanuel Vadot gpio-controller; 3670e8011faSEmmanuel Vadot gpio-ranges = <&pmc8380_4_gpios 0 0 10>; 3680e8011faSEmmanuel Vadot #gpio-cells = <2>; 3690e8011faSEmmanuel Vadot interrupt-controller; 3700e8011faSEmmanuel Vadot #interrupt-cells = <2>; 3710e8011faSEmmanuel Vadot }; 3720e8011faSEmmanuel Vadot }; 3730e8011faSEmmanuel Vadot 3740e8011faSEmmanuel Vadot pmc8380_5: pmic@5 { 3750e8011faSEmmanuel Vadot compatible = "qcom,pmc8380", "qcom,spmi-pmic"; 3760e8011faSEmmanuel Vadot reg = <0x5 SPMI_USID>; 3770e8011faSEmmanuel Vadot #address-cells = <1>; 3780e8011faSEmmanuel Vadot #size-cells = <0>; 3790e8011faSEmmanuel Vadot 3800e8011faSEmmanuel Vadot pmc8380_5_temp_alarm: temp-alarm@a00 { 3810e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 3820e8011faSEmmanuel Vadot reg = <0xa00>; 3830e8011faSEmmanuel Vadot interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 3840e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 3850e8011faSEmmanuel Vadot }; 3860e8011faSEmmanuel Vadot 3870e8011faSEmmanuel Vadot pmc8380_5_gpios: gpio@8800 { 3880e8011faSEmmanuel Vadot compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio"; 3890e8011faSEmmanuel Vadot reg = <0x8800>; 3900e8011faSEmmanuel Vadot gpio-controller; 3910e8011faSEmmanuel Vadot gpio-ranges = <&pmc8380_5_gpios 0 0 10>; 3920e8011faSEmmanuel Vadot #gpio-cells = <2>; 3930e8011faSEmmanuel Vadot interrupt-controller; 3940e8011faSEmmanuel Vadot #interrupt-cells = <2>; 3950e8011faSEmmanuel Vadot }; 3960e8011faSEmmanuel Vadot }; 3970e8011faSEmmanuel Vadot 3980e8011faSEmmanuel Vadot pmc8380_6: pmic@6 { 3990e8011faSEmmanuel Vadot compatible = "qcom,pmc8380", "qcom,spmi-pmic"; 4000e8011faSEmmanuel Vadot reg = <0x6 SPMI_USID>; 4010e8011faSEmmanuel Vadot #address-cells = <1>; 4020e8011faSEmmanuel Vadot #size-cells = <0>; 4030e8011faSEmmanuel Vadot 4040e8011faSEmmanuel Vadot pmc8380_6_temp_alarm: temp-alarm@a00 { 4050e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 4060e8011faSEmmanuel Vadot reg = <0xa00>; 4070e8011faSEmmanuel Vadot interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 4080e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 4090e8011faSEmmanuel Vadot }; 4100e8011faSEmmanuel Vadot 4110e8011faSEmmanuel Vadot pmc8380_6_gpios: gpio@8800 { 4120e8011faSEmmanuel Vadot compatible = "qcom,pmc8380-gpio", "qcom,spmi-gpio"; 4130e8011faSEmmanuel Vadot reg = <0x8800>; 4140e8011faSEmmanuel Vadot gpio-controller; 4150e8011faSEmmanuel Vadot gpio-ranges = <&pmc8380_6_gpios 0 0 10>; 4160e8011faSEmmanuel Vadot #gpio-cells = <2>; 4170e8011faSEmmanuel Vadot interrupt-controller; 4180e8011faSEmmanuel Vadot #interrupt-cells = <2>; 4190e8011faSEmmanuel Vadot }; 4200e8011faSEmmanuel Vadot }; 4210e8011faSEmmanuel Vadot 4220e8011faSEmmanuel Vadot /* PMC8380VE */ 4230e8011faSEmmanuel Vadot pm8550ve_8: pmic@8 { 4240e8011faSEmmanuel Vadot compatible = "qcom,pm8550", "qcom,spmi-pmic"; 4250e8011faSEmmanuel Vadot reg = <0x8 SPMI_USID>; 4260e8011faSEmmanuel Vadot #address-cells = <1>; 4270e8011faSEmmanuel Vadot #size-cells = <0>; 4280e8011faSEmmanuel Vadot 4290e8011faSEmmanuel Vadot pm8550ve_8_temp_alarm: temp-alarm@a00 { 4300e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 4310e8011faSEmmanuel Vadot reg = <0xa00>; 4320e8011faSEmmanuel Vadot interrupts = <0x8 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 4330e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 4340e8011faSEmmanuel Vadot }; 4350e8011faSEmmanuel Vadot 4360e8011faSEmmanuel Vadot pm8550ve_8_gpios: gpio@8800 { 4370e8011faSEmmanuel Vadot compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 4380e8011faSEmmanuel Vadot reg = <0x8800>; 4390e8011faSEmmanuel Vadot gpio-controller; 4400e8011faSEmmanuel Vadot gpio-ranges = <&pm8550ve_8_gpios 0 0 8>; 4410e8011faSEmmanuel Vadot #gpio-cells = <2>; 4420e8011faSEmmanuel Vadot interrupt-controller; 4430e8011faSEmmanuel Vadot #interrupt-cells = <2>; 4440e8011faSEmmanuel Vadot }; 4450e8011faSEmmanuel Vadot }; 4460e8011faSEmmanuel Vadot 4470e8011faSEmmanuel Vadot /* PMC8380VE */ 4480e8011faSEmmanuel Vadot pm8550ve_9: pmic@9 { 4490e8011faSEmmanuel Vadot compatible = "qcom,pm8550", "qcom,spmi-pmic"; 4500e8011faSEmmanuel Vadot reg = <0x9 SPMI_USID>; 4510e8011faSEmmanuel Vadot #address-cells = <1>; 4520e8011faSEmmanuel Vadot #size-cells = <0>; 4530e8011faSEmmanuel Vadot 4540e8011faSEmmanuel Vadot pm8550ve_9_temp_alarm: temp-alarm@a00 { 4550e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 4560e8011faSEmmanuel Vadot reg = <0xa00>; 4570e8011faSEmmanuel Vadot interrupts = <0x9 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 4580e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 4590e8011faSEmmanuel Vadot }; 4600e8011faSEmmanuel Vadot 4610e8011faSEmmanuel Vadot pm8550ve_9_gpios: gpio@8800 { 4620e8011faSEmmanuel Vadot compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 4630e8011faSEmmanuel Vadot reg = <0x8800>; 4640e8011faSEmmanuel Vadot gpio-controller; 4650e8011faSEmmanuel Vadot gpio-ranges = <&pm8550ve_9_gpios 0 0 8>; 4660e8011faSEmmanuel Vadot #gpio-cells = <2>; 4670e8011faSEmmanuel Vadot interrupt-controller; 4680e8011faSEmmanuel Vadot #interrupt-cells = <2>; 4690e8011faSEmmanuel Vadot }; 4700e8011faSEmmanuel Vadot }; 4710e8011faSEmmanuel Vadot 4720e8011faSEmmanuel Vadot pm8010: pmic@c { 4730e8011faSEmmanuel Vadot compatible = "qcom,pm8010", "qcom,spmi-pmic"; 4740e8011faSEmmanuel Vadot reg = <0xc SPMI_USID>; 4750e8011faSEmmanuel Vadot #address-cells = <1>; 4760e8011faSEmmanuel Vadot #size-cells = <0>; 4770e8011faSEmmanuel Vadot 4780e8011faSEmmanuel Vadot pm8010_temp_alarm: temp-alarm@2400 { 4790e8011faSEmmanuel Vadot compatible = "qcom,spmi-temp-alarm"; 4800e8011faSEmmanuel Vadot reg = <0x2400>; 4810e8011faSEmmanuel Vadot interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; 4820e8011faSEmmanuel Vadot #thermal-sensor-cells = <0>; 4830e8011faSEmmanuel Vadot }; 4840e8011faSEmmanuel Vadot }; 4857d0873ebSEmmanuel Vadot}; 4867d0873ebSEmmanuel Vadot 4877d0873ebSEmmanuel Vadot&spmi_bus1 { 4887d0873ebSEmmanuel Vadot smb2360_0: pmic@7 { 4897d0873ebSEmmanuel Vadot compatible = "qcom,smb2360", "qcom,spmi-pmic"; 4907d0873ebSEmmanuel Vadot reg = <0x7 SPMI_USID>; 4917d0873ebSEmmanuel Vadot #address-cells = <1>; 4927d0873ebSEmmanuel Vadot #size-cells = <0>; 4937d0873ebSEmmanuel Vadot 4947d0873ebSEmmanuel Vadot smb2360_0_eusb2_repeater: phy@fd00 { 4957d0873ebSEmmanuel Vadot compatible = "qcom,smb2360-eusb2-repeater"; 4967d0873ebSEmmanuel Vadot reg = <0xfd00>; 4977d0873ebSEmmanuel Vadot #phy-cells = <0>; 4987d0873ebSEmmanuel Vadot }; 4997d0873ebSEmmanuel Vadot }; 5007d0873ebSEmmanuel Vadot 5017d0873ebSEmmanuel Vadot smb2360_1: pmic@a { 5027d0873ebSEmmanuel Vadot compatible = "qcom,smb2360", "qcom,spmi-pmic"; 5037d0873ebSEmmanuel Vadot reg = <0xa SPMI_USID>; 5047d0873ebSEmmanuel Vadot #address-cells = <1>; 5057d0873ebSEmmanuel Vadot #size-cells = <0>; 5067d0873ebSEmmanuel Vadot 5077d0873ebSEmmanuel Vadot smb2360_1_eusb2_repeater: phy@fd00 { 5087d0873ebSEmmanuel Vadot compatible = "qcom,smb2360-eusb2-repeater"; 5097d0873ebSEmmanuel Vadot reg = <0xfd00>; 5107d0873ebSEmmanuel Vadot #phy-cells = <0>; 5117d0873ebSEmmanuel Vadot }; 5127d0873ebSEmmanuel Vadot }; 5137d0873ebSEmmanuel Vadot 5147d0873ebSEmmanuel Vadot smb2360_2: pmic@b { 5157d0873ebSEmmanuel Vadot compatible = "qcom,smb2360", "qcom,spmi-pmic"; 5167d0873ebSEmmanuel Vadot reg = <0xb SPMI_USID>; 5177d0873ebSEmmanuel Vadot #address-cells = <1>; 5187d0873ebSEmmanuel Vadot #size-cells = <0>; 5197d0873ebSEmmanuel Vadot 520*b2d2a78aSEmmanuel Vadot status = "disabled"; 521*b2d2a78aSEmmanuel Vadot 5227d0873ebSEmmanuel Vadot smb2360_2_eusb2_repeater: phy@fd00 { 5237d0873ebSEmmanuel Vadot compatible = "qcom,smb2360-eusb2-repeater"; 5247d0873ebSEmmanuel Vadot reg = <0xfd00>; 5257d0873ebSEmmanuel Vadot #phy-cells = <0>; 5267d0873ebSEmmanuel Vadot }; 5277d0873ebSEmmanuel Vadot }; 5280e8011faSEmmanuel Vadot 5290e8011faSEmmanuel Vadot smb2360_3: pmic@c { 5300e8011faSEmmanuel Vadot compatible = "qcom,smb2360", "qcom,spmi-pmic"; 5310e8011faSEmmanuel Vadot reg = <0xc SPMI_USID>; 5320e8011faSEmmanuel Vadot #address-cells = <1>; 5330e8011faSEmmanuel Vadot #size-cells = <0>; 5340e8011faSEmmanuel Vadot 5350e8011faSEmmanuel Vadot status = "disabled"; 5360e8011faSEmmanuel Vadot 5370e8011faSEmmanuel Vadot smb2360_3_eusb2_repeater: phy@fd00 { 5380e8011faSEmmanuel Vadot compatible = "qcom,smb2360-eusb2-repeater"; 5390e8011faSEmmanuel Vadot reg = <0xfd00>; 5400e8011faSEmmanuel Vadot #phy-cells = <0>; 5410e8011faSEmmanuel Vadot }; 5420e8011faSEmmanuel Vadot }; 5437d0873ebSEmmanuel Vadot}; 544