summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/pmr735b.dtsi
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-03-12 06:27:36 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-03-12 18:24:34 +0100
commit93e7195946020e010578e374e9829587a8b162d0 (patch)
tree018a37e33b650011795fdfdec6fc87b30cb5c1d8 /arch/arm64/boot/dts/qcom/pmr735b.dtsi
parentarm64: dts: qcom: pmr735a: Add base dts file (diff)
downloadlinux-93e7195946020e010578e374e9829587a8b162d0.tar.xz
linux-93e7195946020e010578e374e9829587a8b162d0.zip
arm64: dts: qcom: pmr735B: Add base dts file
Add base DTS file for PMR735B along with GPIO node Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210312052737.3558801-8-vkoul@kernel.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/pmr735b.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/pmr735b.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
new file mode 100644
index 000000000000..1144086280f5
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2021, Linaro Limited
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/spmi/spmi.h>
+
+&spmi_bus {
+ pmr735b: pmic@5 {
+ compatible = "qcom,pmr735b", "qcom,spmi-pmic";
+ reg = <0x5 SPMI_USID>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pmr735b_gpios: gpio@8800 {
+ compatible = "qcom,pmr735b-gpio";
+ reg = <0x8800>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
+};