12e9686d1SNeil Armstrong// SPDX-License-Identifier: BSD-3-Clause 22e9686d1SNeil Armstrong/* 32e9686d1SNeil Armstrong * Copyright (c) 2022, Linaro Limited 42e9686d1SNeil Armstrong */ 52e9686d1SNeil Armstrong 62e9686d1SNeil Armstrong#include <dt-bindings/interrupt-controller/irq.h> 72e9686d1SNeil Armstrong#include <dt-bindings/spmi/spmi.h> 82e9686d1SNeil Armstrong 92e9686d1SNeil Armstrong/ { 102e9686d1SNeil Armstrong thermal-zones { 112e9686d1SNeil Armstrong pm8550-thermal { 122e9686d1SNeil Armstrong polling-delay-passive = <100>; 132e9686d1SNeil Armstrong polling-delay = <0>; 142e9686d1SNeil Armstrong 152e9686d1SNeil Armstrong thermal-sensors = <&pm8550_temp_alarm>; 162e9686d1SNeil Armstrong 172e9686d1SNeil Armstrong trips { 182e9686d1SNeil Armstrong trip0 { 192e9686d1SNeil Armstrong temperature = <95000>; 202e9686d1SNeil Armstrong hysteresis = <0>; 212e9686d1SNeil Armstrong type = "passive"; 222e9686d1SNeil Armstrong }; 232e9686d1SNeil Armstrong 242e9686d1SNeil Armstrong trip1 { 252e9686d1SNeil Armstrong temperature = <115000>; 262e9686d1SNeil Armstrong hysteresis = <0>; 272e9686d1SNeil Armstrong type = "hot"; 282e9686d1SNeil Armstrong }; 292e9686d1SNeil Armstrong }; 302e9686d1SNeil Armstrong }; 312e9686d1SNeil Armstrong }; 322e9686d1SNeil Armstrong}; 332e9686d1SNeil Armstrong 342e9686d1SNeil Armstrong 352e9686d1SNeil Armstrong&spmi_bus { 362e9686d1SNeil Armstrong pm8550: pmic@1 { 372e9686d1SNeil Armstrong compatible = "qcom,pm8550", "qcom,spmi-pmic"; 382e9686d1SNeil Armstrong reg = <0x1 SPMI_USID>; 392e9686d1SNeil Armstrong #address-cells = <1>; 402e9686d1SNeil Armstrong #size-cells = <0>; 412e9686d1SNeil Armstrong 422e9686d1SNeil Armstrong pm8550_temp_alarm: temp-alarm@a00 { 432e9686d1SNeil Armstrong compatible = "qcom,spmi-temp-alarm"; 442e9686d1SNeil Armstrong reg = <0xa00>; 452e9686d1SNeil Armstrong interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 462e9686d1SNeil Armstrong #thermal-sensor-cells = <0>; 472e9686d1SNeil Armstrong }; 482e9686d1SNeil Armstrong 492e9686d1SNeil Armstrong pm8550_gpios: gpio@8800 { 502e9686d1SNeil Armstrong compatible = "qcom,pm8550-gpio", "qcom,spmi-gpio"; 512e9686d1SNeil Armstrong reg = <0x8800>; 522e9686d1SNeil Armstrong gpio-controller; 532e9686d1SNeil Armstrong gpio-ranges = <&pm8550_gpios 0 0 12>; 542e9686d1SNeil Armstrong #gpio-cells = <2>; 552e9686d1SNeil Armstrong interrupt-controller; 562e9686d1SNeil Armstrong #interrupt-cells = <2>; 572e9686d1SNeil Armstrong }; 58cf51d2beSKrzysztof Kozlowski 59cf51d2beSKrzysztof Kozlowski pm8550_flash: led-controller@ee00 { 60cf51d2beSKrzysztof Kozlowski compatible = "qcom,pm8550-flash-led", "qcom,spmi-flash-led"; 61cf51d2beSKrzysztof Kozlowski reg = <0xee00>; 62cf51d2beSKrzysztof Kozlowski status = "disabled"; 63cf51d2beSKrzysztof Kozlowski }; 64*8889d13cSNeil Armstrong 65*8889d13cSNeil Armstrong pm8550_pwm: pwm { 66*8889d13cSNeil Armstrong compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm"; 67*8889d13cSNeil Armstrong 68*8889d13cSNeil Armstrong #address-cells = <1>; 69*8889d13cSNeil Armstrong #size-cells = <0>; 70*8889d13cSNeil Armstrong #pwm-cells = <2>; 71*8889d13cSNeil Armstrong 72*8889d13cSNeil Armstrong status = "disabled"; 73*8889d13cSNeil Armstrong }; 742e9686d1SNeil Armstrong }; 752e9686d1SNeil Armstrong}; 76