For Colibri iMX6ULL we have to set pinmux for uart configuration ASAP
(ideally before relocation) to get serial console working. Without this
we miss almost the half of output (U-boot version, CPU defails,
Reset cause, DRAM details etc.).

To achieve this we need to force pinctrl-mx6 to get probed before
relocation and add u-boot,dm-pre-reloc properties to uart pinmux
configuration nodes. Setting pinmux configuration for UART before was done
in board_early_init_f().


Igor Opaniuk (3):
  pinctrl: nxp: DM_FLAG_PRE_RELOC by default
  ARM: dts: imx6ull-colibri: change hierarchy of DTS files
  ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

v2:
- Addressed comments [Fabio Estevam]

 arch/arm/dts/imx6ull-colibri-u-boot.dtsi  |  12 +
 arch/arm/dts/imx6ull-colibri.dts          | 596 +-------------------
 arch/arm/dts/imx6ull-colibri.dtsi         | 641 ++++++++++++++++++++++
 board/toradex/colibri-imx6ull/MAINTAINERS |   2 +
 drivers/pinctrl/nxp/pinctrl-imx5.c        |   2 -
 drivers/pinctrl/nxp/pinctrl-imx6.c        |   2 -
 drivers/pinctrl/nxp/pinctrl-imx7.c        |   2 -
 drivers/pinctrl/nxp/pinctrl-imx7ulp.c     |   2 -
 8 files changed, 657 insertions(+), 602 deletions(-)
 create mode 100644 arch/arm/dts/imx6ull-colibri-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ull-colibri.dtsi

-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to