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
This commit is contained in:
Luca Weiss
2023-04-21 23:56:22 +02:00
committed by Bjorn Andersson
parent 188e26bc67
commit 5a60e72c3e

View File

@@ -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 {