diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-07-24 08:53:08 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:35:16 +0200 |
commit | ab1c482440ef33f34d7a4d7a14fe5e99a3704e42 (patch) | |
tree | 1fb9ea660c3d0735e97bd3f4c5adbfc7d8c1d5a6 /arch/arm/dts/fsl-imx8qm.dtsi | |
parent | cda789a5b1c049bfc3592dfbba19d261c2c0c6c4 (diff) | |
download | u-boot-ab1c482440ef33f34d7a4d7a14fe5e99a3704e42.tar.gz |
arm: dts: imx: fsl-imx8qm.dtsi: add gpio aliases to fix gpio command
The gpio command currently uses equal bank names "GPIO0_"
for all existing gpio banks, i. e.:
U-Boot# gpio status -a
Bank GPIO0_:
GPIO0_0: input: 0 [ ]
GPIO0_1: input: 0 [ ]
...
Bank GPIO0_:
GPIO0_0: input: 0 [ ]
GPIO0_1: input: 0 [ ]
...
So the command is broken, it is not possible to address
a desired bank. Add gpio aliases to fix this.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/dts/fsl-imx8qm.dtsi')
-rw-r--r-- | arch/arm/dts/fsl-imx8qm.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8qm.dtsi b/arch/arm/dts/fsl-imx8qm.dtsi index af060db3a1..6808f68f9d 100644 --- a/arch/arm/dts/fsl-imx8qm.dtsi +++ b/arch/arm/dts/fsl-imx8qm.dtsi @@ -21,6 +21,13 @@ aliases { ethernet0 = &fec1; ethernet1 = &fec2; + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + gpio5 = &gpio6; + gpio6 = &gpio7; serial0 = &lpuart0; serial1 = &lpuart1; serial2 = &lpuart2; |