From: Dinh Nguyen <dingu...@kernel.org>

commit 55982ac91fb3c9e164ffc8d51668df5d9c5d5a24 from
https://github.com/altera-opensource/linux-socfpga.git

[upstream commit b3cbbb58632fa6f9cebf3f5c3ba210f11a3bdeb8]

Add the dts entries needed to support the EMAC AXI bus settings on the
Cyclone5.

Signed-off-by: Dinh Nguyen <dingu...@kernel.org>
Signed-off-by: Wenlin Kang <wenlin.k...@windriver.com>
---
 arch/arm/boot/dts/socfpga.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 42ec73971d39..59c799b1448f 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -563,6 +563,12 @@ fpgamgr0: fpgamgr@ff706000 {
                        interrupts = <0 175 4>;
                };
 
+               socfpga_axi_setup: stmmac-axi-config {
+                       snps,wr_osr_lmt = <0xf>;
+                       snps,rd_osr_lmt = <0xf>;
+                       snps,blen = <0 0 0 0 16 0 0>;
+               };
+
                gmac0: ethernet@ff700000 {
                        compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", 
"snps,dwmac";
                        altr,sysmgr-syscon = <&sysmgr 0x60 0>;
@@ -578,6 +584,7 @@ gmac0: ethernet@ff700000 {
                        snps,perfect-filter-entries = <128>;
                        tx-fifo-depth = <4096>;
                        rx-fifo-depth = <4096>;
+                       snps,axi-config = <&socfpga_axi_setup>;
                        status = "disabled";
                };
 
@@ -596,6 +603,7 @@ gmac1: ethernet@ff702000 {
                        snps,perfect-filter-entries = <128>;
                        tx-fifo-depth = <4096>;
                        rx-fifo-depth = <4096>;
+                       snps,axi-config = <&socfpga_axi_setup>;
                        status = "disabled";
                };
 
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12604): 
https://lists.yoctoproject.org/g/linux-yocto/message/12604
Mute This Topic: https://lists.yoctoproject.org/mt/98921527/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to