From patchwork Thu Oct 1 15:56:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 54375 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 1F61723009 for ; Thu, 1 Oct 2015 15:57:23 +0000 (UTC) Received: by lana8 with SMTP id a8sf7307730lan.1 for ; Thu, 01 Oct 2015 08:57:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=+0nZJCaZ0WL9/CB0YtPwRfMaz9rYLhdlP+VkSOewxIY=; b=Q2YcNAZ1rjlav0BzZ6S1tTwP1L1Gt1o3/0cc2coHArXS4XPhlJuY98nu/s8LJrSC7A 2YUeJ0o20ARxpRIISBypsF1svYwdQnNTNl8IBGUCOkdQfK6wfmakIzZFsKrAx9T2wz6b Kh+O7M67XTVu11pAfwcx3WBSTG6Rkkik5yR7SBdrOTrBxfEnplnncSi3zMndQWi2MLQO AXYVHi5VeNUhacei6VeTBJAIbARj4NTIM1thUTh1tem3Gr2yKogKVRL9VzkCdf5r5jlQ mgbN0tB78312VFd8Zr2Id9UbJfNStVDO4uZzrYL1ovRsQpaSdlLwNbdop+2XiMnw53ic cU2w== X-Gm-Message-State: ALoCoQkyX/1w4ifaNQ+hMykipioigVF6ndI0a9gipbmnuQwVQmMGHB9/AYiNYYRys6L0tT8pCiLr X-Received: by 10.194.59.166 with SMTP id a6mr1546492wjr.6.1443715041967; Thu, 01 Oct 2015 08:57:21 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.149.7 with SMTP id x7ls119309lfd.51.gmail; Thu, 01 Oct 2015 08:57:21 -0700 (PDT) X-Received: by 10.112.210.129 with SMTP id mu1mr3348518lbc.68.1443715041780; Thu, 01 Oct 2015 08:57:21 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id c11si3163834lbq.1.2015.10.01.08.57.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 08:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbcao8 with SMTP id ao8so11980753lbc.3 for ; Thu, 01 Oct 2015 08:57:21 -0700 (PDT) X-Received: by 10.25.86.213 with SMTP id k204mr2159042lfb.36.1443715041656; Thu, 01 Oct 2015 08:57:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp695120lbq; Thu, 1 Oct 2015 08:57:20 -0700 (PDT) X-Received: by 10.66.121.195 with SMTP id lm3mr13206877pab.84.1443715040513; Thu, 01 Oct 2015 08:57:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id de10si9833647pad.66.2015.10.01.08.57.12; Thu, 01 Oct 2015 08:57:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756762AbbJAP5F (ORCPT + 30 others); Thu, 1 Oct 2015 11:57:05 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45938 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753223AbbJAP4z (ORCPT ); Thu, 1 Oct 2015 11:56:55 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.14.5/8.14.5) with SMTP id t91Foet7014645; Thu, 1 Oct 2015 17:56:31 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 1x7vaasyc0-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Oct 2015 17:56:31 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5298138; Thu, 1 Oct 2015 15:56:11 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 92599A68F; Thu, 1 Oct 2015 15:56:29 +0000 (GMT) Received: from localhost (10.201.23.80) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 1 Oct 2015 17:56:29 +0200 From: Maxime Coquelin To: Giuseppe Cavallaro , , , , , CC: , , Subject: [PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards Date: Thu, 1 Oct 2015 17:56:21 +0200 Message-ID: <1443714982-16251-4-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443714982-16251-1-git-send-email-maxime.coquelin@st.com> References: <1443714982-16251-1-git-send-email-maxime.coquelin@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.80] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-10-01_05:2015-10-01, 2015-10-01, 1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxime.coquelin@st.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These boards are mounted with Realtek RTL8367 switch. We consider the bootloader will have intiliazed the switch before jumping into the kernel, so we declare it as a fixed link. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih407-b2120.dts | 1 + arch/arm/boot/dts/stih410-b2120.dts | 1 + arch/arm/boot/dts/stihxxx-b2120.dtsi | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih407-b2120.dts b/arch/arm/boot/dts/stih407-b2120.dts index 6d93475..c8ad905 100644 --- a/arch/arm/boot/dts/stih407-b2120.dts +++ b/arch/arm/boot/dts/stih407-b2120.dts @@ -25,6 +25,7 @@ aliases { ttyAS0 = &sbc_serial0; + ethernet0 = ðernet0; }; }; diff --git a/arch/arm/boot/dts/stih410-b2120.dts b/arch/arm/boot/dts/stih410-b2120.dts index 8af1e73..118ac28 100644 --- a/arch/arm/boot/dts/stih410-b2120.dts +++ b/arch/arm/boot/dts/stih410-b2120.dts @@ -25,6 +25,7 @@ aliases { ttyAS0 = &sbc_serial0; + ethernet0 = ðernet0; }; soc { diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index ab029f7..ad21a42 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -87,5 +87,11 @@ status = "okay"; }; + ethernet0: dwmac@9630000 { + st,tx-retime-src = "clkgen"; + status = "okay"; + phy-mode = "rgmii"; + fixed-link = <0 1 1000 0 0>; + }; }; };