From patchwork Mon Apr 20 16:24:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vince Bridgers X-Patchwork-Id: 6244291 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C56F4BF4A6 for ; Mon, 20 Apr 2015 20:31:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2A0720429 for ; Mon, 20 Apr 2015 20:31:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 065282026F for ; Mon, 20 Apr 2015 20:31:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkIKD-00065L-HV; Mon, 20 Apr 2015 20:29:49 +0000 Received: from mail-bl2on0069.outbound.protection.outlook.com ([65.55.169.69] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkIJo-0005oe-6v for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2015 20:29:25 +0000 Received: from BN3PR0301CA0040.namprd03.prod.outlook.com (0.160.180.178) by CY1PR03MB1519.namprd03.prod.outlook.com (0.163.17.25) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 20:29:01 +0000 Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:153) by BN3PR0301CA0040.outlook.office365.com (2a01:111:e400:4000::50) with Microsoft SMTP Server (TLS) id 15.1.136.25 via Frontend Transport; Mon, 20 Apr 2015 20:29:00 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; arm.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (TLS) id 15.1.148.11 via Frontend Transport; Mon, 20 Apr 2015 20:29:00 +0000 Received: from na01-bl2-obe.outbound.protection.outlook.com (207.46.163.212) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 20 Apr 2015 13:27:36 -0700 Received: from BY2PR0301MB0629.namprd03.prod.outlook.com (0.160.125.27) by BY2PR0301MB1574.namprd03.prod.outlook.com (0.163.28.16) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 20:28:57 +0000 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; Received: from vince-HP-Z620-Workstation2.altera.com (64.129.157.38) by BY2PR0301MB0629.namprd03.prod.outlook.com (0.160.125.27) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 20:28:56 +0000 From: Vince Bridgers To: , , , , , , , , Subject: [PATCH 2/2] ARM: socfpga: dts: Add tx-fifo-depth and rx-fifo-depth properties Date: Mon, 20 Apr 2015 11:24:28 -0500 Message-ID: <1429547068-12501-2-git-send-email-vbridger@opensource.altera.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429547068-12501-1-git-send-email-vbridger@opensource.altera.com> References: <1429547068-12501-1-git-send-email-vbridger@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR07CA0038.namprd07.prod.outlook.com (25.162.170.176) To BY2PR0301MB0629.namprd03.prod.outlook.com (25.160.125.27) X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB0629; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB1574; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1519; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report-Untrusted: BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(33646002)(87976001)(47776003)(229853001)(50466002)(53416004)(15975445007)(48376002)(2950100001)(5001770100001)(92566002)(19300405004)(46102003)(77156002)(42186005)(230783001)(19580395003)(86362001)(122386002)(66066001)(50226001)(50986999)(19580405001)(2201001)(40100003)(62966003)(76176999)(2101003)(4001430100001)(562404015); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0629; H:vince-HP-Z620-Workstation2.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:BY2PR0301MB0629; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB0629; BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:CY1PR03MB1519; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1519; X-Forefront-PRVS: 05529C6FDB X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0629 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD047.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(339900001)(189002)(199003)(6806004)(19580405001)(46102003)(33646002)(2950100001)(230783001)(66066001)(86362001)(122386002)(76176999)(92566002)(105606002)(48376002)(40100003)(19580395003)(50466002)(50986999)(15975445007)(50226001)(62966003)(77156002)(2201001)(229853001)(85426001)(47776003)(106466001)(87936001)(53416004)(19300405004)(5001770100001)(7099027)(4001430100001)(562404015)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1519; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:0; PTR:InfoDomainNonexistent; LANG:en; X-Forefront-PRVS: 05529C6FDB X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2015 20:29:00.0927 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1519 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_132924_480674_8173FE88 X-CRM114-Status: UNSURE ( 5.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.1 (++) Cc: vbridger@altera.com, dinguyen@opensource.altera.com, vbridger@opensource.altera.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DATE_IN_PAST_03_06, RCVD_ILLEGAL_IP, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add tx-fifo-depth and rx-fifo-depth devicetree properties for socfpga stmmac. These devicetree properties will be used to configure certain features of the stmmac on the socfpga. Signed-off-by: Vince Bridgers --- This patch is based on patches http://www.spinics.net/lists/devicetree/msg75270.html http://www.spinics.net/lists/devicetree/msg75273.html --- arch/arm/boot/dts/socfpga.dtsi | 4 ++++ arch/arm/boot/dts/socfpga_arria10.dtsi | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index d9176e6..4721a9d 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -488,6 +488,8 @@ reset-names = "stmmaceth"; snps,multicast-filter-bins = <256>; snps,perfect-filter-entries = <128>; + tx-fifo-depth = <4096>; + rx-fifo-depth = <4096>; status = "disabled"; }; @@ -504,6 +506,8 @@ reset-names = "stmmaceth"; snps,multicast-filter-bins = <256>; snps,perfect-filter-entries = <128>; + tx-fifo-depth = <4096>; + rx-fifo-depth = <4096>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index d2ef52b..9c6dcff 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -397,6 +397,8 @@ mac-address = [00 00 00 00 00 00]; snps,multicast-filter-bins = <256>; snps,perfect-filter-entries = <128>; + tx-fifo-depth = <4096>; + rx-fifo-depth = <16384>; clocks = <&l4_mp_clk>; clock-names = "stmmaceth"; status = "disabled"; @@ -412,6 +414,8 @@ mac-address = [00 00 00 00 00 00]; snps,multicast-filter-bins = <256>; snps,perfect-filter-entries = <128>; + tx-fifo-depth = <4096>; + rx-fifo-depth = <16384>; status = "disabled"; }; @@ -425,6 +429,8 @@ mac-address = [00 00 00 00 00 00]; snps,multicast-filter-bins = <256>; snps,perfect-filter-entries = <128>; + tx-fifo-depth = <4096>; + rx-fifo-depth = <16384>; status = "disabled"; };