u-boot/arch
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
..
arc global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
arm imx8mn-var-som: adjust PHY reset gpios according to hardware configuration 2023-07-13 11:29:40 +02:00
m68k m68k: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
microblaze microblaze: u-boot-spl.lds: Pass _image_binary_end 2023-07-03 10:20:13 -04:00
mips Prepare v2023.07-rc6 2023-07-05 11:28:55 -04:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc powerpc: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
riscv riscv: andes_plicsw: Fix IPI during OpenSBI invocation 2023-07-06 17:28:08 +08:00
sandbox Kbuild: Fix cleanup of *.dtbo for sandbox 2023-07-07 16:25:56 -04:00
sh sh: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
x86 Merge tag v2023.07-rc4 into next 2023-06-12 14:55:33 -04:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds