1*9d004cdaSDmitry Baryshkov// SPDX-License-Identifier: GPL-2.0-only 2*9d004cdaSDmitry Baryshkov/* 3*9d004cdaSDmitry Baryshkov * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. 4*9d004cdaSDmitry Baryshkov */ 5*9d004cdaSDmitry Baryshkov 6*9d004cdaSDmitry Baryshkov#include <dt-bindings/interrupt-controller/irq.h> 7*9d004cdaSDmitry Baryshkov#include <dt-bindings/spmi/spmi.h> 8*9d004cdaSDmitry Baryshkov 9*9d004cdaSDmitry Baryshkov&spmi_bus { 10*9d004cdaSDmitry Baryshkov pmic@1 { 11*9d004cdaSDmitry Baryshkov compatible = "qcom,pmx65", "qcom,spmi-pmic"; 12*9d004cdaSDmitry Baryshkov reg = <1 SPMI_USID>; 13*9d004cdaSDmitry Baryshkov #address-cells = <1>; 14*9d004cdaSDmitry Baryshkov #size-cells = <0>; 15*9d004cdaSDmitry Baryshkov 16*9d004cdaSDmitry Baryshkov pmx65_temp: temp-alarm@a00 { 17*9d004cdaSDmitry Baryshkov compatible = "qcom,spmi-temp-alarm"; 18*9d004cdaSDmitry Baryshkov reg = <0xa00>; 19*9d004cdaSDmitry Baryshkov interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 20*9d004cdaSDmitry Baryshkov #thermal-sensor-cells = <0>; 21*9d004cdaSDmitry Baryshkov }; 22*9d004cdaSDmitry Baryshkov 23*9d004cdaSDmitry Baryshkov pmx65_gpios: gpio@8800 { 24*9d004cdaSDmitry Baryshkov compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio"; 25*9d004cdaSDmitry Baryshkov reg = <0x8800>; 26*9d004cdaSDmitry Baryshkov gpio-controller; 27*9d004cdaSDmitry Baryshkov gpio-ranges = <&pmx65_gpios 0 0 16>; 28*9d004cdaSDmitry Baryshkov #gpio-cells = <2>; 29*9d004cdaSDmitry Baryshkov interrupt-controller; 30*9d004cdaSDmitry Baryshkov #interrupt-cells = <2>; 31*9d004cdaSDmitry Baryshkov }; 32*9d004cdaSDmitry Baryshkov }; 33*9d004cdaSDmitry Baryshkov}; 34