MLK-24504 DTS: imx8dxl: Fix GPIO seq ID issue
authorYe Li <ye.li@nxp.com>
Fri, 14 Aug 2020 08:08:36 +0000 (01:08 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:26:15 +0000 (03:26 -0700)
commit83f24273910ee173bf7b230bd0bc1af899390840
tree642cf055d0727452f5907e78bfcec79170610b1b
parent50e2d3698a2ab1a0029bf15da0b0256fad054d99
MLK-24504 DTS: imx8dxl: Fix GPIO seq ID issue

When run "gpio status", found the seq id of GPIOs are not correct.

=> gpio status
Bank gpio@20_:
gpio@20_2: output: 1 [x] ethernet@5b050000.phy-reset-gpios
Device 'gpio@5d080000': seq 0 is in use by 'gpio@20'
Device 'gpio@5d090000': seq 1 is in use by 'gpio@21'
Device 'gpio@5d0a0000': seq 2 is in use by 'gpio@5d080000'
Device 'gpio@5d0b0000': seq 3 is in use by 'gpio@5d090000'

Fix the problem by adding alias to GPIO expander devices to avoid
expander devices occupy the seq of normal GPIO.
Also disable I2C3 bus, because it is assigned to M4 partition, and
u-boot never use it. So that we don't need to handle pca6416_c

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit f658b0fceb3c21d5d1d67ad2c1ff09bb2c458f73)
(cherry picked from commit bc077b2464d7a67311a029d16e4fe6d75fa6ea01)
arch/arm/dts/fsl-imx8dxl-ddr3-evk-u-boot.dtsi
arch/arm/dts/fsl-imx8dxl-ddr3-evk.dts
arch/arm/dts/fsl-imx8dxl-evk-u-boot.dtsi
arch/arm/dts/fsl-imx8dxl-evk.dts