arm64: dts: ls1046a: use a pseudo-bus to constrain usb and sata dma size
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 15 Sep 2022 23:34:29 +0000 (18:34 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:24 +0000 (16:35 +0800)
commitf8179c89d7b1b3acb92460594b9adf1fbdf5a424
tree52e001945a932157b9c02cf9758774c168154e3d
parent136975c33894e7b48a6007af0f4c25f423bbd1de
arm64: dts: ls1046a: 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-ls1046a.dtsi