[PATCH 3/8] arm: mvebu: Add gpio-ranges into Armada 38x device tree file
Stefan Roese
sr at denx.de
Thu Jul 28 08:27:20 CEST 2022
On 25.07.22 13:56, Pali Rohár wrote:
> 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 at kernel.org>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> arch/arm/dts/armada-38x.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/armada-38x.dtsi b/arch/arm/dts/armada-38x.dtsi
> index 061bd7852081..7d76df3f9ce7 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;
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list