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