aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2021-10-08 04:25:02 +0300
committerBjorn Andersson <[email protected]>2021-10-17 19:11:34 -0500
commit9be51f0b16ef83208fbfdc42fe59a622b6beee4c (patch)
tree222c7b335e67f927c0949763ae73a457a918fc35
parent03d4e43fc5beded1aa67c12b7c7e6932ae9a40cc (diff)
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: Dmitry Baryshkov <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/arm/boot/dts/qcom-apq8064.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 6c2ad365228e..b1a6798c23f3 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -689,6 +689,7 @@
<27 IRQ_TYPE_NONE>;
gpio-controller;
#gpio-cells = <2>;
+ gpio-ranges = <&pm8821_mpps 0 0 4>;
};
};
};
@@ -726,6 +727,7 @@
reg = <0x50>;
gpio-controller;
#gpio-cells = <2>;
+ gpio-ranges = <&pm8921_mpps 0 0 12>;
interrupts =
<128 IRQ_TYPE_NONE>,
<129 IRQ_TYPE_NONE>,