1 From f656c67b9522f18e38394fe5b6e00302c0c8ceb8 Mon Sep 17 00:00:00 2001
2 From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
3 Date: Thu, 17 May 2018 11:40:07 +0300
4 Subject: [PATCH] arm64: dts: ls104x: add missing dma ranges property
6 These chips have a 48-bit address size so make sure that the dma-ranges
7 reflects this. Otherwise the linux kernel's dma sub-system will set
8 the default dma masks to full 64-bit, badly breaking dmas.
10 Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
12 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
13 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
14 2 files changed, 2 insertions(+)
16 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
17 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
22 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
24 clockgen: clocking@1ee1000 {
25 compatible = "fsl,ls1043a-clockgen";
26 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
27 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
32 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
34 ddr: memory-controller@1080000 {
35 compatible = "fsl,qoriq-memory-controller";