u-boot/board/variscite/imx8mn_var_som
Hugo Villeneuve 1b4c3e6125 imx8mn-var-som: adjust PHY reset gpios according to hardware configuration
For SOM with the EC configuration, the ethernet PHY is located on the
SOM itself, and connected to the CPU ethernet controller. It has a
reset line controlled via GPIO1_IO9. In this configuration, the PHY
located on the carrier board is not connected to anything and is
therefore not used.

For SOM without EC configuration, the ethernet PHY on the carrier
board is connected to the CPU ethernet controller. It has a reset line
controlled via the GPIO expander PCA9534_IO5.

The hardware configuration (EC) is determined at runtime by
reading from the SOM EEPROM.

To support both hardware configurations (EC and non-EC), adjust/fix
the PHY reset gpios according to the hardware configuration
read at runtime from the SOM EEPROM. This adjustement is done in
U-Boot (OF_BOARD_FIXUP) and kernel (OF_BOARD_SETUP) device trees.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
2023-07-13 11:29:40 +02:00
..
ddr4_timing.c imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board 2022-02-05 13:38:39 +01:00
imx8mn_var_som.c imx8mn-var-som: adjust PHY reset gpios according to hardware configuration 2023-07-13 11:29:40 +02:00
imximage-8mn-ddr4.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
Kconfig nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
MAINTAINERS imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board 2022-02-05 13:38:39 +01:00
Makefile imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board 2022-02-05 13:38:39 +01:00
spl.c imx: imx8mn_var_som: clean up board watchdog code 2022-06-14 21:33:14 +02:00