[PATCH 00/12] arm: xea: Provide support for different XEA board HW versions

Lukasz Majewski lukma at denx.de
Fri Mar 22 12:43:03 CET 2024


This patch set provides support for different XEA board revisions.
Due to very limited SPL size, the board's switch DTB decision is
performed very early in u-boot proper; before driver model is set.

Adjustments for DTS between revisions are for the u-boot adjustment code
(i.e. tweaks due to functionality not supported in u-boot), hence
there is no need to update them from Linux upstream DTS.


Lukasz Majewski (12):
  arm: spl: xea: Remove I2S pins configuration from early initialization
  arm: xea: Add support for reading SoM (CPU) and base board HW revision
  arm: xea: Rename imx28-xea.dts to imx28-xea-1.dts
  dts: xea: Move phy-reset-gpios property to version specific DTS file
  dts: xea: Remove outdated comment
  arm: xea: Add support for multiple dtbs in u-boot
  dts: xea: Add device tree description for XEA HW rev. 2
  arm: spl: Add definition for PHY reset GPIO for XEA HW rev. 2
  arm: config: xea: Enable support for multiple DTBs for XEA board
  config: xea: Enable late board initialization to set revision variable
  arm: xea: Print information about XEA's SoM HW revision
  arm: env: Add support for booting different HW revisions of XEA boards

 arch/arm/dts/Makefile                         |  3 +-
 arch/arm/dts/imx28-xea-1-u-boot.dtsi          | 11 ++++
 arch/arm/dts/imx28-xea-1.dts                  |  8 +++
 arch/arm/dts/imx28-xea-2-u-boot.dtsi          | 11 ++++
 arch/arm/dts/imx28-xea-2.dts                  |  8 +++
 arch/arm/dts/imx28-xea-u-boot.dtsi            |  1 -
 .../arm/dts/{imx28-xea.dts => imx28-xea.dtsi} |  0
 board/liebherr/xea/spl_xea.c                  | 21 +++---
 board/liebherr/xea/xea.c                      | 65 +++++++++++++++++++
 board/liebherr/xea/xea.env                    |  4 +-
 configs/imx28_xea_defconfig                   |  5 +-
 configs/imx28_xea_sb_defconfig                |  5 +-
 12 files changed, 128 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/dts/imx28-xea-1-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx28-xea-1.dts
 create mode 100644 arch/arm/dts/imx28-xea-2-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx28-xea-2.dts
 rename arch/arm/dts/{imx28-xea.dts => imx28-xea.dtsi} (100%)

-- 
2.39.2



More information about the U-Boot mailing list