| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <dt-bindings/input/input.h> |
| 7 |
#include <dt-bindings/spmi/spmi.h> |
| 8 |
|
| 9 |
&spmi_bus { |
| 10 |
pmm8620au_0: pmic@0 { |
| 11 |
compatible = "qcom,pmm8654au", "qcom,spmi-pmic"; |
| 12 |
reg = <0x0 SPMI_USID>; |
| 13 |
#address-cells = <1>; |
| 14 |
#size-cells = <0>; |
| 15 |
|
| 16 |
pmm8620au_0_rtc: rtc@6100 { |
| 17 |
compatible = "qcom,pmk8350-rtc"; |
| 18 |
reg = <0x6100>, <0x6200>; |
| 19 |
reg-names = "rtc", "alarm"; |
| 20 |
interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; |
| 21 |
}; |
| 22 |
|
| 23 |
pmm8620au_0_gpios: gpio@8800 { |
| 24 |
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; |
| 25 |
reg = <0x8800>; |
| 26 |
gpio-controller; |
| 27 |
gpio-ranges = <&pmm8620au_0_gpios 0 0 12>; |
| 28 |
#gpio-cells = <2>; |
| 29 |
interrupt-controller; |
| 30 |
#interrupt-cells = <2>; |
| 31 |
}; |
| 32 |
}; |
| 33 |
|
| 34 |
pmm8650au_1: pmic@2 { |
| 35 |
compatible = "qcom,pmm8654au", "qcom,spmi-pmic"; |
| 36 |
reg = <0x2 SPMI_USID>; |
| 37 |
#address-cells = <1>; |
| 38 |
#size-cells = <0>; |
| 39 |
|
| 40 |
pmm8650au_1_gpios: gpio@8800 { |
| 41 |
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio"; |
| 42 |
reg = <0x8800>; |
| 43 |
gpio-controller; |
| 44 |
gpio-ranges = <&pmm8650au_1_gpios 0 0 12>; |
| 45 |
#gpio-cells = <2>; |
| 46 |
interrupt-controller; |
| 47 |
#interrupt-cells = <2>; |
| 48 |
}; |
| 49 |
}; |
| 50 |
}; |