2020-04-10 02:47:05 +00:00
|
|
|
From 18219eaa3f37f375584789b95876967e97b8da3e Mon Sep 17 00:00:00 2001
|
|
|
|
From: Ran Wang <ran.wang_1@nxp.com>
|
|
|
|
Date: Wed, 25 Dec 2019 14:00:27 +0800
|
|
|
|
Subject: [PATCH] arm64: dts: layerscape: apply dma-coherent for dwc3 nodes
|
|
|
|
|
|
|
|
Since dwc3 cache type has been set to cacheable, apply dma-coherent to
|
|
|
|
all dwc3 nodes accordingly.
|
|
|
|
|
|
|
|
Note: For LS1043A and LS1046A, since QE-HDLC still doesn't support
|
|
|
|
dma-coherent, we cannot directly revert cd1a4f3c (sdk: dts: ls104x move
|
|
|
|
dma-coherent from soc to its child nodes) to recover dma-coherent for
|
|
|
|
soc.
|
|
|
|
|
|
|
|
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
|
|
|
---
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 ++
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 ++
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 ++
|
|
|
|
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1 +
|
|
|
|
7 files changed, 14 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -454,6 +454,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
sata: sata@3200000 {
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
2021-10-13 19:14:17 +00:00
|
|
|
@@ -399,6 +399,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,quirk-frame-length-adjustment = <0x20>;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: usb@3110000 {
|
2021-10-13 19:14:17 +00:00
|
|
|
@@ -409,6 +410,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,quirk-frame-length-adjustment = <0x20>;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
sata: sata@3200000 {
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -706,6 +706,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
configure-gfladj;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: usb3@3000000 {
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -720,6 +721,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
configure-gfladj;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb2: usb3@3100000 {
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -734,6 +736,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
configure-gfladj;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
sata: sata@3200000 {
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -604,6 +604,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
usb3-lpm-capable;
|
|
|
|
snps,dis-u1u2-when-u3-quirk;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: usb@3000000 {
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -617,6 +618,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
usb3-lpm-capable;
|
|
|
|
snps,dis-u1u2-when-u3-quirk;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb2: usb@3100000 {
|
2021-03-30 14:52:07 +00:00
|
|
|
@@ -630,6 +632,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
usb3-lpm-capable;
|
|
|
|
snps,dis-u1u2-when-u3-quirk;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
sata: sata@3200000 {
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
|
|
|
@@ -402,6 +402,7 @@
|
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
@@ -414,6 +415,7 @@
|
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
2021-07-25 18:36:53 +00:00
|
|
|
@@ -737,6 +737,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: usb3@3110000 {
|
2021-07-25 18:36:53 +00:00
|
|
|
@@ -749,6 +750,7 @@
|
2020-04-10 02:47:05 +00:00
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
};
|
|
|
|
|
|
|
|
ccn@4000000 {
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
|
|
|
@@ -874,6 +874,7 @@
|
|
|
|
snps,dis_rxdet_inp3_quirk;
|
|
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
|
|
snps,host-vbus-glitches;
|
|
|
|
+ dma-coherent;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|