ARM: dts: qcom: pm8226: Add node for the GPIOs

The PM8226 provides 8 GPIOs. Add a node to support them.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927214940.244480-2-matti.lehtimaki@gmail.com
This commit is contained in:
Matti Lehtimäki
2022-09-28 00:49:37 +03:00
committed by Bjorn Andersson
parent da76bc88bd
commit fe11928be2

View File

@@ -90,6 +90,16 @@ pm8226_mpps: mpps@a000 {
interrupt-controller;
#interrupt-cells = <2>;
};
pm8226_gpios: gpio@c000 {
compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&pm8226_gpios 0 0 8>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
pm8226_1: pm8226@1 {