Skip to content

Commit b3cbbb5

Browse files
author
Dinh Nguyen
committed
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: Dinh Nguyen <[email protected]>
1 parent 357513c commit b3cbbb5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/arm/boot/dts/socfpga.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,12 @@
561561
interrupts = <0 175 4>;
562562
};
563563

564+
socfpga_axi_setup: stmmac-axi-config {
565+
snps,wr_osr_lmt = <0xf>;
566+
snps,rd_osr_lmt = <0xf>;
567+
snps,blen = <0 0 0 0 16 0 0>;
568+
};
569+
564570
gmac0: ethernet@ff700000 {
565571
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
566572
altr,sysmgr-syscon = <&sysmgr 0x60 0>;
@@ -576,6 +582,7 @@
576582
snps,perfect-filter-entries = <128>;
577583
tx-fifo-depth = <4096>;
578584
rx-fifo-depth = <4096>;
585+
snps,axi-config = <&socfpga_axi_setup>;
579586
status = "disabled";
580587
};
581588

@@ -594,6 +601,7 @@
594601
snps,perfect-filter-entries = <128>;
595602
tx-fifo-depth = <4096>;
596603
rx-fifo-depth = <4096>;
604+
snps,axi-config = <&socfpga_axi_setup>;
597605
status = "disabled";
598606
};
599607

0 commit comments

Comments
 (0)