[source] ipq806x: fix ethernet DMA parameters with linux 4.9
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 13 13:43:03 PDT 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/894ee9510b48e3a58c751eb3c1660c101dd4941e
commit 894ee9510b48e3a58c751eb3c1660c101dd4941e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Mar 13 21:42:40 2017 +0100
ipq806x: fix ethernet DMA parameters with linux 4.9
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
index a6d7df5..4fc9f9f 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -941,6 +941,12 @@
reg = <0x1bb00000 0x000001FF>;
};
+ stmmac_axi_setup: stmmac-axi-config {
+ snps,wr_osr_lmt = <7>;
+ snps,rd_osr_lmt = <7>;
+ snps,blen = <16 0 0 0 0 0 0>;
+ };
+
gmac0: ethernet at 37000000 {
device_type = "network";
compatible = "qcom,ipq806x-gmac";
@@ -948,6 +954,10 @@
interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
+ snps,axi-config = <&stmmac_axi_setup>;
+ snps,pbl = <32>;
+ snps,aal = <1>;
+
qcom,nss-common = <&nss_common>;
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -967,6 +977,10 @@
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
+ snps,axi-config = <&stmmac_axi_setup>;
+ snps,pbl = <32>;
+ snps,aal = <1>;
+
qcom,nss-common = <&nss_common>;
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -986,6 +1000,10 @@
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
+ snps,axi-config = <&stmmac_axi_setup>;
+ snps,pbl = <32>;
+ snps,aal = <1>;
+
qcom,nss-common = <&nss_common>;
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -1005,6 +1023,10 @@
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
+ snps,axi-config = <&stmmac_axi_setup>;
+ snps,pbl = <32>;
+ snps,aal = <1>;
+
qcom,nss-common = <&nss_common>;
qcom,qsgmii-csr = <&qsgmii_csr>;
More information about the lede-commits
mailing list