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