Commit 9be51f0b authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

ARM: dts: qcom-apq8064: add gpio-ranges to mpps nodes

Add gpio-ranges property to mpps device tree nodes, adding the mapping between
pinctrl and GPIO pins.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-4-dmitry.baryshkov@linaro.org
parent 03d4e43f
...@@ -689,6 +689,7 @@ pm8821_mpps: mpps@50 { ...@@ -689,6 +689,7 @@ pm8821_mpps: mpps@50 {
<27 IRQ_TYPE_NONE>; <27 IRQ_TYPE_NONE>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&pm8821_mpps 0 0 4>;
}; };
}; };
}; };
...@@ -726,6 +727,7 @@ pm8921_mpps: mpps@50 { ...@@ -726,6 +727,7 @@ pm8921_mpps: mpps@50 {
reg = <0x50>; reg = <0x50>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&pm8921_mpps 0 0 12>;
interrupts = interrupts =
<128 IRQ_TYPE_NONE>, <128 IRQ_TYPE_NONE>,
<129 IRQ_TYPE_NONE>, <129 IRQ_TYPE_NONE>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment