From: Laurentiu Tudor Date: Thu, 15 Sep 2022 23:34:27 +0000 (-0500) Subject: arm64: dts: ls1046a: add missing dma ranges property X-Git-Tag: v6.1-rc5~303^2~16^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d3990796fba84d4141333b8e78ea61a21fb5524;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: ls1046a: add missing dma ranges property 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 Signed-off-by: Li Yang Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index a0619a4..27033c5 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -272,6 +272,7 @@ #address-cells = <2>; #size-cells = <2>; ranges; + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; ddr: memory-controller@1080000 { compatible = "fsl,qoriq-memory-controller";