From patchwork Tue Sep 8 22:50:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iyappan Subramanian X-Patchwork-Id: 7143761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 746699F1BF for ; Tue, 8 Sep 2015 22:53:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9887920763 for ; Tue, 8 Sep 2015 22:53:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77CE720709 for ; Tue, 8 Sep 2015 22:53:33 +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 1ZZRjO-0006UI-O7; Tue, 08 Sep 2015 22:51:14 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZZRj8-0006Ak-Tw for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2015 22:50:59 +0000 Received: by padhy16 with SMTP id hy16so134152647pad.1 for ; Tue, 08 Sep 2015 15:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Qfr/krNO4QtxwEot987cvCN5gLCXAwvDu+5fIgt+LWw=; b=T82g4R4f0yk5Xe83Za28iHt+k2O5xSvcNVzpo8vY72XBKz50nuWuoZHEf0Gv/W5O7R RQyDLAOV7NxEaNmFR9KlhsoMEH8Zp5FD8wTolUMN4zfYAEES0ZFJ9XK9vSGcnZ/pJFgf 9ZyzXw3gcIvSaAkrZO0gy28eHG2Wu/1JVhS1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Qfr/krNO4QtxwEot987cvCN5gLCXAwvDu+5fIgt+LWw=; b=P/kQwr5QZOWWFLbzywItSfytxya60D5jOd+dEffJfAI+sLATEBEal3+djEecQpgbFr 2J46Cx+eID0xAvAxZrOCc/29f1gPCTL3jV3+i1whL+TwvTSEMKA9kJwlXX7zkdL16P9h lXdwmJomU4VuA1VYVVI/Y/5+zVizulcCECOa0qs58C7Bhi9MPwOBiOi2XQi70b2vS5u3 1g5yNjyMIiruNwajsR3fb3YGX6wq9to5Jc5NhO+K569YmHxmoUHEfOaMKsAysWM2BK/M YnwENKC1ZBFST5UATGAT/zVdBKHe6wBY11RTVwhgoRAn9d63ha9FqH1nVu6FKJtRS8w4 QN5A== X-Gm-Message-State: ALoCoQn1SzifYKLuKflOztqCWKIXRD9yHIHZdEg/EEbIZGu7zM8kYdrRVQ1LadGuoLN5bUtjvubL X-Received: by 10.66.139.197 with SMTP id ra5mr53719521pab.153.1441752638149; Tue, 08 Sep 2015 15:50:38 -0700 (PDT) Received: from isubrama-dev.amcc.com (70-35-53-82.static.wiline.com. [70.35.53.82]) by smtp.gmail.com with ESMTPSA id ob4sm4643914pbb.40.2015.09.08.15.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Sep 2015 15:50:37 -0700 (PDT) From: Iyappan Subramanian To: davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH net-next 2/2] dtb: xgene: Add 2nd 10GbE node Date: Tue, 8 Sep 2015 15:50:27 -0700 Message-Id: <1441752627-9326-3-git-send-email-isubramanian@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441752627-9326-1-git-send-email-isubramanian@apm.com> References: <1441752627-9326-1-git-send-email-isubramanian@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150908_155059_008384_F61C705B X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, patches@apm.com, linux-arm-kernel@lists.infradead.org, Iyappan Subramanian MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Adding the second 10GbE dt node for APM X-Gene SoC device tree Signed-off-by: Iyappan Subramanian --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index d831bc2..d483e7e 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -207,6 +207,17 @@ clock-output-names = "xge0clk"; }; + xge1clk: xge1clk@1f62c000 { + compatible = "apm,xgene-device-clock"; + status = "disabled"; + #clock-cells = <1>; + clocks = <&socplldiv2 0>; + reg = <0x0 0x1f62c000 0x0 0x1000>; + reg-names = "csr-reg"; + csr-mask = <0x3>; + clock-output-names = "xge1clk"; + }; + sataphy1clk: sataphy1clk@1f21c000 { compatible = "apm,xgene-device-clock"; #clock-cells = <1>; @@ -816,6 +827,23 @@ phy-connection-type = "xgmii"; }; + xgenet1: ethernet@1f620000 { + compatible = "apm,xgene1-xgenet"; + status = "disabled"; + reg = <0x0 0x1f620000 0x0 0xd100>, + <0x0 0x1f600000 0x0 0Xc300>, + <0x0 0x18000000 0x0 0X8000>; + reg-names = "enet_csr", "ring_csr", "ring_cmd"; + interrupts = <0x0 0x6C 0x4>, + <0x0 0x6D 0x4>; + port-id = <1>; + dma-coherent; + clocks = <&xge1clk 0>; + /* mac address will be overwritten by the bootloader */ + local-mac-address = [00 00 00 00 00 00]; + phy-connection-type = "xgmii"; + }; + rng: rng@10520000 { compatible = "apm,xgene-rng"; reg = <0x0 0x10520000 0x0 0x100>;