ipq806x: fix ethernet DMA parameters with linux 4.9
authorFelix Fietkau <nbd@nbd.name>
Mon, 13 Mar 2017 20:42:40 +0000 (21:42 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 13 Mar 2017 20:42:47 +0000 (21:42 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi

index a6d7df536a0636886d9cdb31f0890b250fb69d3c..4fc9f9f0feb258ebfa1797206153b7ec396920e8 100644 (file)
                        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@37000000 {
                        device_type = "network";
                        compatible = "qcom,ipq806x-gmac";
                        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>;
 
                        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>;
 
                        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>;
 
                        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>;