mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
cddd459140
Add patches for linux-5.4. The patches are from NXP LSDK-20.04 release which was tagged LSDK-20.04-V5.4. https://source.codeaurora.org/external/qoriq/qoriq-components/linux/ For boards LS1021A-IOT, and Traverse-LS1043 which are not involved in LSDK, port the dts patches from 4.14. The patches are sorted into the following categories: 301-arch-xxxx 302-dts-xxxx 303-core-xxxx 701-net-xxxx 801-audio-xxxx 802-can-xxxx 803-clock-xxxx 804-crypto-xxxx 805-display-xxxx 806-dma-xxxx 807-gpio-xxxx 808-i2c-xxxx 809-jailhouse-xxxx 810-keys-xxxx 811-kvm-xxxx 812-pcie-xxxx 813-pm-xxxx 814-qe-xxxx 815-sata-xxxx 816-sdhc-xxxx 817-spi-xxxx 818-thermal-xxxx 819-uart-xxxx 820-usb-xxxx 821-vfio-xxxx Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
151 lines
4.2 KiB
Diff
151 lines
4.2 KiB
Diff
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
|
|
@@ -453,6 +453,7 @@
|
|
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
|
|
@@ -381,6 +381,7 @@
|
|
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 {
|
|
@@ -391,6 +392,7 @@
|
|
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
|
|
@@ -705,6 +705,7 @@
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
snps,host-vbus-glitches;
|
|
configure-gfladj;
|
|
+ dma-coherent;
|
|
};
|
|
|
|
usb1: usb3@3000000 {
|
|
@@ -719,6 +720,7 @@
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
snps,host-vbus-glitches;
|
|
configure-gfladj;
|
|
+ dma-coherent;
|
|
};
|
|
|
|
usb2: usb3@3100000 {
|
|
@@ -733,6 +735,7 @@
|
|
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
|
|
@@ -603,6 +603,7 @@
|
|
usb3-lpm-capable;
|
|
snps,dis-u1u2-when-u3-quirk;
|
|
snps,host-vbus-glitches;
|
|
+ dma-coherent;
|
|
};
|
|
|
|
usb1: usb@3000000 {
|
|
@@ -616,6 +617,7 @@
|
|
usb3-lpm-capable;
|
|
snps,dis-u1u2-when-u3-quirk;
|
|
snps,host-vbus-glitches;
|
|
+ dma-coherent;
|
|
};
|
|
|
|
usb2: usb@3100000 {
|
|
@@ -629,6 +631,7 @@
|
|
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
|
|
@@ -738,6 +738,7 @@
|
|
snps,dis_rxdet_inp3_quirk;
|
|
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
|
snps,host-vbus-glitches;
|
|
+ dma-coherent;
|
|
};
|
|
|
|
usb1: usb3@3110000 {
|
|
@@ -750,6 +751,7 @@
|
|
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";
|
|
};
|
|
|