u-boot/arch
Josua Mayer 17baba4682 ARM: dts: imx6qdl-sr-som: add support for alternate phy addresses
The Cubox has an unstable phy address - which can appear at either
address 0 (intended) or 4 (unintended).

SoM revision 1.9 has replaced the ar8035 phy with an adin1300, which
will always appear at address 1.

Change the reg property of the phy node to the magic value 0xffffffff,
which indicates to the generic phy driver that all addresses should be
probed. That allows the same node (which is pinned by phy-handle) to match
either the AR8035 PHY at both possible addresses, as well as the new one
at address 1.
Also add the new adi,phy-output-clock property for enabling the 125MHz
clock used by the fec ethernet controller, as submitted to Linux [1].

Linux solves this problem differently:
For the ar8035 phy it will probe both phy nodes in device-tree in order,
and use the one that succeeds. For the new adin1300 it expects U-Boot to
patch the status field in the DTB before booting

While at it also sync the reset-delay with the upstream Linux dtb.

[1] https://patchwork.kernel.org/project/netdevbpf/patch/20220428082848.12191-4-josua@solid-run.com/

Signed-off-by: Josua Mayer <josua@solid-run.com>
2022-06-14 21:25:26 +02:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm ARM: dts: imx6qdl-sr-som: add support for alternate phy addresses 2022-06-14 21:25:26 +02:00
m68k Convert CONFIG_MCFRTC et al to Kconfig 2022-04-01 10:28:46 -04:00
microblaze microblaze: Migrate DCACHE/ICACHE to Kconfig 2022-04-08 10:46:22 -04:00
mips mips: octeon: mrvl, octeon-nic23.dts: Add ethernet DT support 2022-05-04 03:38:21 +02:00
nios2 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
powerpc powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support for NOR booting 2022-05-23 09:33:10 -04:00
riscv riscv: Clean up asm/io.h 2022-05-26 18:41:21 +08:00
sandbox sandbox: Avoid binman error when run without device tree 2022-05-05 09:29:57 -04:00
sh Split CONFIG_CC_OPTIMIZE_FOR_SIZE into two configs 2022-03-25 13:35:50 -04:00
x86 pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
xtensa Convert CONFIG_BOARD_POSTCLK_INIT to Kconfig 2022-03-03 16:51:19 -05:00
.gitignore
Kconfig nds32: Remove the architecture 2022-04-25 16:04:05 -04:00
u-boot-elf.lds