arm64: dts: ls1046a: add missing dma ranges property
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 15 Sep 2022 23:34:27 +0000 (18:34 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:24 +0000 (16:35 +0800)
These chips have a 48-bit address size so make sure that the dma-ranges
reflects this. Otherwise the linux kernel's dma sub-system will set
the default dma masks to full 64-bit, badly breaking dmas.

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

index a0619a4..27033c5 100644 (file)
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
+               dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
 
                ddr: memory-controller@1080000 {
                        compatible = "fsl,qoriq-memory-controller";