ARM: dts: armada-38x: Add gpio-ranges for pin muxing
authorPali Rohár <pali@kernel.org>
Wed, 27 Jul 2022 13:16:19 +0000 (15:16 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 2 Sep 2022 15:24:43 +0000 (17:24 +0200)
GPIOs are configured by pinmux driver, so add corresponding references.

Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-38x.dtsi

index df3c8d1..a40a70e 100644 (file)
                                reg-names = "gpio", "pwm";
                                ngpios = <32>;
                                gpio-controller;
+                               gpio-ranges = <&pinctrl 0 0 32>;
                                #gpio-cells = <2>;
                                #pwm-cells = <2>;
                                interrupt-controller;
                                reg-names = "gpio", "pwm";
                                ngpios = <28>;
                                gpio-controller;
+                               gpio-ranges = <&pinctrl 0 32 28>;
                                #gpio-cells = <2>;
                                #pwm-cells = <2>;
                                interrupt-controller;