summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRohit Agarwal <quic_rohiagar@quicinc.com>2023-08-07 16:38:48 +0300
committerBjorn Andersson <andersson@kernel.org>2023-08-14 06:05:06 +0300
commite99a7a0c85cc59ca271505180932882794f54ec3 (patch)
tree53df1d1b86a842bc77dd6ff82f6bcffd2546dc96 /arch
parent1020fca4f2381cb59ffb40bb81e41913d6193b97 (diff)
downloadlinux-e99a7a0c85cc59ca271505180932882794f54ec3.tar.xz
arm64: dts: qcom: Add pinctrl gpio support for pm7250b
Add pinctrl gpio dts node for pm7250b. Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/1691415534-31820-4-git-send-email-quic_rohiagar@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/pm7250b.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
index 22c0d5266179..e8540c36bd99 100644
--- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
@@ -147,6 +147,16 @@
#size-cells = <0>;
status = "disabled";
};
+
+ pm7250b_gpios: pinctrl@c000 {
+ compatible = "qcom,pm7250b-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ gpio-ranges = <&pm7250b_gpios 0 0 12>;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
};
pmic@3 {