Skip to content

Commit b35fbfa

Browse files
committed
Merge remote-tracking branch tech/all/dt/qcs8300 into qcom-next
2 parents c11923b + a7787e1 commit b35fbfa

3 files changed

Lines changed: 74 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
allow-set-time;
22+
};
23+
24+
pmm8620au_0_gpios: gpio@8800 {
25+
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
26+
reg = <0x8800>;
27+
gpio-controller;
28+
gpio-ranges = <&pmm8620au_0_gpios 0 0 12>;
29+
#gpio-cells = <2>;
30+
interrupt-controller;
31+
#interrupt-cells = <2>;
32+
};
33+
};
34+
35+
pmm8650au_1: pmic@2 {
36+
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
37+
reg = <0x2 SPMI_USID>;
38+
#address-cells = <1>;
39+
#size-cells = <0>;
40+
41+
pmm8650au_1_gpios: gpio@8800 {
42+
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
43+
reg = <0x8800>;
44+
gpio-controller;
45+
gpio-ranges = <&pmm8650au_1_gpios 0 0 12>;
46+
#gpio-cells = <2>;
47+
interrupt-controller;
48+
#interrupt-cells = <2>;
49+
};
50+
};
51+
};

arch/arm64/boot/dts/qcom/qcs8300-ride.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
1010

1111
#include "qcs8300.dtsi"
12+
#include "qcs8300-pmics.dtsi"
1213
/ {
1314
model = "Qualcomm Technologies, Inc. QCS8300 Ride";
1415
compatible = "qcom,qcs8300-ride", "qcom,qcs8300";

arch/arm64/boot/dts/qcom/qcs8300.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3027,6 +3027,28 @@
30273027
#clock-cells = <0>;
30283028
};
30293029

3030+
spmi_bus: spmi@c440000 {
3031+
compatible = "qcom,spmi-pmic-arb";
3032+
reg = <0x0 0x0c440000 0x0 0x1100>,
3033+
<0x0 0x0c600000 0x0 0x2000000>,
3034+
<0x0 0x0e600000 0x0 0x100000>,
3035+
<0x0 0x0e700000 0x0 0xa0000>,
3036+
<0x0 0x0c40a000 0x0 0x26000>;
3037+
reg-names = "core",
3038+
"chnls",
3039+
"obsrvr",
3040+
"intr",
3041+
"cnfg";
3042+
qcom,channel = <0>;
3043+
qcom,ee = <0>;
3044+
interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
3045+
interrupt-names = "periph_irq";
3046+
interrupt-controller;
3047+
#interrupt-cells = <4>;
3048+
#address-cells = <2>;
3049+
#size-cells = <0>;
3050+
};
3051+
30303052
tlmm: pinctrl@f100000 {
30313053
compatible = "qcom,qcs8300-tlmm";
30323054
reg = <0x0 0x0f100000 0x0 0x300000>;

0 commit comments

Comments
 (0)