arm64: dts: ls1043a: add missing dma ranges property
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 14 Sep 2022 21:46:58 +0000 (16:46 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:23 +0000 (16:35 +0800)
ls1043a has 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-ls1043a.dtsi

index 3cf6722..0da8d81 100644 (file)
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
+               dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
 
                clockgen: clocking@1ee1000 {
                        compatible = "fsl,ls1043a-clockgen";