From cd1a4f3c6416e93e6b67cfdcaee0ee2255a1119a Mon Sep 17 00:00:00 2001 From: Ran Wang Date: Thu, 21 Feb 2019 13:32:59 +0800 Subject: sdk: dts: ls104x move dma-coherent from soc to its child nodes Since SMMU is not supported for SDK version, USB function will down if still apply property 'dma-coherent' in scope of soc (USB driver is not ready to support it alone) in SDK device trees, decide to remove it. And add dma-coherent on other non-USB child nodes under soc. dma-coherent feature in dts node will cause issue that QE-HDLC received too little, when a lot of data is transmitted while just little data received, the Tx buffer will run out. Signed-off-by: Ran Wang Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts') diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts index e5a9835e0fbc..343c9d81a83f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts @@ -16,6 +16,7 @@ fsl,bpid = <7>; fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>; fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>; + dma-coherent; }; bp8: buffer-pool@8 { @@ -23,6 +24,7 @@ fsl,bpid = <8>; fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>; fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; + dma-coherent; }; bp9: buffer-pool@9 { @@ -30,10 +32,12 @@ fsl,bpid = <9>; fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>; fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; + dma-coherent; }; fsl,dpaa { compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus"; + dma-coherent; ethernet@2 { compatible = "fsl,dpa-ethernet-init"; -- cgit v1.2.3