mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
|
From f656c67b9522f18e38394fe5b6e00302c0c8ceb8 Mon Sep 17 00:00:00 2001
|
||
|
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||
|
Date: Thu, 17 May 2018 11:40:07 +0300
|
||
|
Subject: [PATCH] arm64: dts: ls104x: 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 <laurentiu.tudor@nxp.com>
|
||
|
---
|
||
|
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
|
||
|
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
|
||
|
2 files changed, 2 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||
|
@@ -218,6 +218,7 @@
|
||
|
#address-cells = <2>;
|
||
|
#size-cells = <2>;
|
||
|
ranges;
|
||
|
+ dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
|
||
|
|
||
|
clockgen: clocking@1ee1000 {
|
||
|
compatible = "fsl,ls1043a-clockgen";
|
||
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||
|
@@ -190,6 +190,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";
|