aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-38x.dtsi
diff options
context:
space:
mode:
authorPali Rohár2022-07-25 13:56:10 +0200
committerStefan Roese2022-07-28 08:41:45 +0200
commit319b62880cd21c0187081ef5c6b27d888bcbbbe7 (patch)
tree2be6764de53e407f52f24349c47541f0d7143cfb /arch/arm/dts/armada-38x.dtsi
parent35c50a709e0ecf62cb254c6496f77c186e471046 (diff)
arm: mvebu: Add gpio-ranges into Armada 38x device tree file
This allows U-Boot mvebu-gpio.c driver to switch particular MPP pin into GPIO mode and enable GPIO support. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/armada-38x.dtsi')
-rw-r--r--arch/arm/dts/armada-38x.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-38x.dtsi b/arch/arm/dts/armada-38x.dtsi
index 061bd785208..7d76df3f9ce 100644
--- a/arch/arm/dts/armada-38x.dtsi
+++ b/arch/arm/dts/armada-38x.dtsi
@@ -295,6 +295,7 @@
reg-names = "gpio", "pwm";
ngpios = <32>;
gpio-controller;
+ gpio-ranges = <&pinctrl 0 0 32>;
#gpio-cells = <2>;
#pwm-cells = <2>;
interrupt-controller;
@@ -313,6 +314,7 @@
reg-names = "gpio", "pwm";
ngpios = <28>;
gpio-controller;
+ gpio-ranges = <&pinctrl 0 32 28>;
#gpio-cells = <2>;
#pwm-cells = <2>;
interrupt-controller;