Commit 0f43928b authored by Janne Grunau's avatar Janne Grunau Committed by Greg Kroah-Hartman
Browse files

arm64: dts: apple: t8103-j457: Fix PCIe ethernet iommu-map



[ Upstream commit 6e08cdd6 ]

PCIe `port01` of t8103-j457 (iMac, M1, 2 USB-C ports, 2021) is unused
and disabled. Linux' PCI subsystem assigns the ethernet nic from
`port02` to bus 02. This results into assigning `pcie0_dart_1` from the
disabled port as iommu. The `pcie0_dart_1` instance is disabled and
probably fused off (it is on the M2 Pro Mac mini which has a disabled
PCIe port as well).
Without iommu the ethernet nic is not expected work.
Adjusts the "bus-range" and the PCIe devices "reg" property to PCI
subsystem's bus number.

Fixes: 7c77ab91 ("arm64: dts: apple: Add missing M1 (t8103) devices")
Reviewed-by: default avatarNeal Gompa <neal@gompa.dev>
Reviewed-by: default avatarSven Peter <sven@kernel.org>
Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20250823-apple-dt-sync-6-17-v2-1-6dc0daeb4786@jannau.net


Signed-off-by: default avatarSven Peter <sven@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 84df283f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment