Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572768 > unrolled thread

[PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10

Started bythor.thayer@linux.intel.com
First post2017-02-02 23:20 +0100
Last post2017-02-03 04:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10 thor.thayer@linux.intel.com - 2017-02-02 23:20 +0100
    Re: [PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10 Dinh Nguyen <dinh.linux@gmail.com> - 2017-02-03 04:50 +0100

#1572768 — [PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10

Fromthor.thayer@linux.intel.com
Date2017-02-02 23:20 +0100
Subject[PATCHv2] ARM: dts: Add EMAC AXI settings for Arria10
Message-ID<t6xTs-1sC-7@gated-at.bofh.it>
From: Thor Thayer <thor.thayer@linux.intel.com>

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>
---
v2 Add the AXI configuration to the other DW EMACs in the chip.
---
 arch/arm/boot/dts/socfpga_arria10.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
index f520cbf..9abc7d8 100644
--- a/arch/arm/boot/dts/socfpga_arria10.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
@@ -400,6 +400,12 @@
 				};
 		};
 
+		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@ff800000 {
 			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
 			altr,sysmgr-syscon = <&sysmgr 0x44 0>;
@@ -416,6 +422,7 @@
 			clock-names = "stmmaceth";
 			resets = <&rst EMAC0_RESET>;
 			reset-names = "stmmaceth";
+			snps,axi-config = <&socfpga_axi_setup>;
 			status = "disabled";
 		};
 
@@ -435,6 +442,7 @@
 			clock-names = "stmmaceth";
 			resets = <&rst EMAC1_RESET>;
 			reset-names = "stmmaceth";
+			snps,axi-config = <&socfpga_axi_setup>;
 			status = "disabled";
 		};
 
@@ -452,6 +460,7 @@
 			rx-fifo-depth = <16384>;
 			clocks = <&l4_mp_clk>;
 			clock-names = "stmmaceth";
+			snps,axi-config = <&socfpga_axi_setup>;
 			status = "disabled";
 		};
 
-- 
2.7.4

[toc] | [next] | [standalone]


#1572871

FromDinh Nguyen <dinh.linux@gmail.com>
Date2017-02-03 04:50 +0100
Message-ID<t6D2N-4Ei-5@gated-at.bofh.it>
In reply to#1572768
On Thu, Feb 2, 2017 at 4:05 PM,  <thor.thayer@linux.intel.com> wrote:
> From: Thor Thayer <thor.thayer@linux.intel.com>
>
> 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>
> ---
> v2 Add the AXI configuration to the other DW EMACs in the chip.
> ---
>  arch/arm/boot/dts/socfpga_arria10.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
>

Applied!

Thanks,
Dinh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web