arm64: dts: ls104x: use a pseudo-bus to constrain usb dma size
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 20 Sep 2018 10:46:54 +0000 (13:46 +0300)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:26:01 +0000 (11:26 +0800)
commitf85b7dd12db18eaffd617c469d2b2ef3b8bd2072
tree45eee633cc47ab94377e6714467363bd960479ef
parentfa9c2f8d2260cca41e8798d8195910f5d540a82a
arm64: dts: ls104x: use a pseudo-bus to constrain usb dma size

Wrap the usb 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>
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi