2019-05-21 08:19:04

by Anson Huang

[permalink] [raw]
Subject: [PATCH V2] arm64: dts: imx8qxp: Add gpio alias

Add i.MX8QXP GPIO alias for kernel GPIO driver usage.

Signed-off-by: Anson Huang <[email protected]>
---
Changes since V1:
- keep the list alphabetically sorted, no content change.
---
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..9f52da6 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -17,6 +17,14 @@
#size-cells = <2>;

aliases {
+ gpio0 = &lsio_gpio0;
+ gpio1 = &lsio_gpio1;
+ gpio2 = &lsio_gpio2;
+ gpio3 = &lsio_gpio3;
+ gpio4 = &lsio_gpio4;
+ gpio5 = &lsio_gpio5;
+ gpio6 = &lsio_gpio6;
+ gpio7 = &lsio_gpio7;
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc3;
--
2.7.4



2019-05-21 09:12:49

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH V2] arm64: dts: imx8qxp: Add gpio alias

On Tue, May 21, 2019 at 08:17:02AM +0000, Anson Huang wrote:
> Add i.MX8QXP GPIO alias for kernel GPIO driver usage.
>
> Signed-off-by: Anson Huang <[email protected]>

Applied, thanks.