aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThor Thayer <thor.thayer@linux.intel.com>2017-02-02 17:05:21 -0500
committerDinh Nguyen <dinguyen@kernel.org>2017-02-02 22:33:47 -0500
commitcda1ade6a25c85d0a7cc2001a96b0b20f6bfd3f0 (patch)
treef7c606b3621b112b8447de51c80c313c7ba79745
parent59d94d2ed45d598211feb52566e6a806d17f8a3f (diff)
ARM: dts: Add EMAC AXI settings for Arria10
Add the device tree entries needed to support the EMAC AXI bus settings on the Arria10 SoCFPGA chip. Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r--arch/arm/boot/dts/socfpga_arria10.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
index 65904db153be..6b0b7463f36f 100644
--- a/arch/arm/boot/dts/socfpga_arria10.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
@@ -408,6 +408,12 @@
408 }; 408 };
409 }; 409 };
410 410
411 socfpga_axi_setup: stmmac-axi-config {
412 snps,wr_osr_lmt = <0xf>;
413 snps,rd_osr_lmt = <0xf>;
414 snps,blen = <0 0 0 0 16 0 0>;
415 };
416
411 gmac0: ethernet@ff800000 { 417 gmac0: ethernet@ff800000 {
412 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; 418 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
413 altr,sysmgr-syscon = <&sysmgr 0x44 0>; 419 altr,sysmgr-syscon = <&sysmgr 0x44 0>;
@@ -424,6 +430,7 @@
424 clock-names = "stmmaceth"; 430 clock-names = "stmmaceth";
425 resets = <&rst EMAC0_RESET>; 431 resets = <&rst EMAC0_RESET>;
426 reset-names = "stmmaceth"; 432 reset-names = "stmmaceth";
433 snps,axi-config = <&socfpga_axi_setup>;
427 status = "disabled"; 434 status = "disabled";
428 }; 435 };
429 436
@@ -443,6 +450,7 @@
443 clock-names = "stmmaceth"; 450 clock-names = "stmmaceth";
444 resets = <&rst EMAC1_RESET>; 451 resets = <&rst EMAC1_RESET>;
445 reset-names = "stmmaceth"; 452 reset-names = "stmmaceth";
453 snps,axi-config = <&socfpga_axi_setup>;
446 status = "disabled"; 454 status = "disabled";
447 }; 455 };
448 456
@@ -460,6 +468,7 @@
460 rx-fifo-depth = <16384>; 468 rx-fifo-depth = <16384>;
461 clocks = <&l4_mp_clk>; 469 clocks = <&l4_mp_clk>;
462 clock-names = "stmmaceth"; 470 clock-names = "stmmaceth";
471 snps,axi-config = <&socfpga_axi_setup>;
463 status = "disabled"; 472 status = "disabled";
464 }; 473 };
465 474