ARM: dts: add EMAC AXI settings for Cyclone5
authorDinh Nguyen <dinguyen@kernel.org>
Mon, 25 Jul 2022 20:03:07 +0000 (15:03 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 25 Jul 2022 20:03:07 +0000 (15:03 -0500)
Add the dts entries needed to support the EMAC AXI bus settings on the
Cyclone5.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi

index bfaef45bdd0444c433ab5114ab8f1c54ad0fd60a..2459f3cd7dd9a47ede8533f5d4b269cb078c13d2 100644 (file)
                        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>;
                        snps,perfect-filter-entries = <128>;
                        tx-fifo-depth = <4096>;
                        rx-fifo-depth = <4096>;
+                       snps,axi-config = <&socfpga_axi_setup>;
                        status = "disabled";
                };
 
                        snps,perfect-filter-entries = <128>;
                        tx-fifo-depth = <4096>;
                        rx-fifo-depth = <4096>;
+                       snps,axi-config = <&socfpga_axi_setup>;
                        status = "disabled";
                };