summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2023-04-22 00:56:22 +0300
committerBjorn Andersson <andersson@kernel.org>2023-05-25 07:50:46 +0300
commit5a60e72c3eff0747cc779b8067cd795acf6beecd (patch)
tree3e9aa8351baffc77bfc50edd3e3e8ccf5b50b18c /arch
parent188e26bc67896cb89aca0821b366833e9abf829e (diff)
downloadlinux-5a60e72c3eff0747cc779b8067cd795acf6beecd.tar.xz
arm64: dts: qcom: pm8953: add GPIOs
Add a node for the GPIOs found on the pm8953. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230421-pm8953-gpio-v1-3-3d33e2de47e3@z3ntu.xyz
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/pm8953.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm8953.dtsi b/arch/arm64/boot/dts/qcom/pm8953.dtsi
index a1d36f9ebbd2..2268daf27fa7 100644
--- a/arch/arm64/boot/dts/qcom/pm8953.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8953.dtsi
@@ -79,6 +79,16 @@
reg-names = "rtc", "alarm";
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
};
+
+ pm8953_gpios: gpio@c000 {
+ compatible = "qcom,pm8953-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ gpio-ranges = <&pm8953_gpios 0 0 8>;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
};
pmic@1 {