Commit b3cbbb58 authored by Dinh Nguyen's avatar Dinh Nguyen

ARM: dts: add EMAC AXI settings for Cyclone5

Add the dts entries needed to support the EMAC AXI bus settings on the
Cyclone5.
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 357513c0
...@@ -561,6 +561,12 @@ fpgamgr0: fpgamgr@ff706000 { ...@@ -561,6 +561,12 @@ fpgamgr0: fpgamgr@ff706000 {
interrupts = <0 175 4>; 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 { gmac0: ethernet@ff700000 {
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
altr,sysmgr-syscon = <&sysmgr 0x60 0>; altr,sysmgr-syscon = <&sysmgr 0x60 0>;
...@@ -576,6 +582,7 @@ gmac0: ethernet@ff700000 { ...@@ -576,6 +582,7 @@ gmac0: ethernet@ff700000 {
snps,perfect-filter-entries = <128>; snps,perfect-filter-entries = <128>;
tx-fifo-depth = <4096>; tx-fifo-depth = <4096>;
rx-fifo-depth = <4096>; rx-fifo-depth = <4096>;
snps,axi-config = <&socfpga_axi_setup>;
status = "disabled"; status = "disabled";
}; };
...@@ -594,6 +601,7 @@ gmac1: ethernet@ff702000 { ...@@ -594,6 +601,7 @@ gmac1: ethernet@ff702000 {
snps,perfect-filter-entries = <128>; snps,perfect-filter-entries = <128>;
tx-fifo-depth = <4096>; tx-fifo-depth = <4096>;
rx-fifo-depth = <4096>; rx-fifo-depth = <4096>;
snps,axi-config = <&socfpga_axi_setup>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment