Re: [PATCH] arm64: dts: imx8qxp: Add gpio alias

From: Shawn Guo
Date: Tue May 21 2019 - 04:12:31 EST


On Tue, May 14, 2019 at 04:57:17AM +0000, Anson Huang wrote:
> Add i.MX8QXP GPIO alias for kernel GPIO driver usage.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index b17c22e..923705e 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -22,6 +22,14 @@
> mmc2 = &usdhc3;
> serial0 = &adma_lpuart0;
> mu1 = &lsio_mu1;
> + gpio0 = &lsio_gpio0;

Okay, it's already out of alphabetical order, but let's not make it
worse.

Shawn

> + gpio1 = &lsio_gpio1;
> + gpio2 = &lsio_gpio2;
> + gpio3 = &lsio_gpio3;
> + gpio4 = &lsio_gpio4;
> + gpio5 = &lsio_gpio5;
> + gpio6 = &lsio_gpio6;
> + gpio7 = &lsio_gpio7;
> };
>
> cpus {
> --
> 2.7.4
>