arm64: dts: ls1043a: use a pseudo-bus to constrain usb and sata dma size
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 14 Sep 2022 21:47:01 +0000 (16:47 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:23 +0000 (16:35 +0800)
commit2a2ab4d5206d25875e30a8a8153f0b4f3c951ee4
treed9d0fc2f1134eff4cd41fa2db441ca2b879f72f4
parent4b211ebb887f42ff42d72d7766f3b52399004417
arm64: dts: ls1043a: use a pseudo-bus to constrain usb and sata dma size

Wrap the usb and sata controllers in an intermediate simple-bus and use
it to constrain the dma address size of these usb controllers to the 40
bits that they generate toward the interconnect.  This is required
because the SoC uses 48 bits address sizes and this mismatch would lead
to smmu context faults because the usb generates 40-bit addresses while
the smmu page tables are populated with 48-bit wide addresses.

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi