From patchwork Thu Oct 1 15:56:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 54376 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id E9E7423009 for ; Thu, 1 Oct 2015 15:57:30 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf7895947lbc.1 for ; Thu, 01 Oct 2015 08:57:29 -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=y7KBvqDegMWQDFak0nC+bevRot6ELLncEYaIAJuNAs4=; b=PzDQyiKm0Oa1AMe+Mhx9z+Kjbukjdqp8gGaRtl93LrPZjAFljXid1GOL2UOnHdCwMb GHq0C0HkRyOLzB0P4IY7ZhtFM0ENkxn83juqGDYN2xfRkpV2YE4Di4oXFgEcOGVBJOij 9OXVEMfGTasLAtA7uOjyF/kC5+N0xYWsekO58esZcHpe7G7RId32W7TJ6w9vwICtRl0n wIOKClnD4Kq1Ds0fXilSn7z3uZu2elpRLY4PA2hk5t10gNGEBUT9/EknLugxC5Hd0SYl fcV9L5puzj9RpZ3YnQ/PbR74r4wanwHzgS3/XUST+az2yrUyA9vlGErB00MlyEuUhwNL W5DA== X-Gm-Message-State: ALoCoQmRgkDdtBVU5RSYqgYQFfW9GnuO71wm/FHS02Pi32a4PeHrIdzR9GfRqfRxH71xi/QxUqNb X-Received: by 10.112.198.33 with SMTP id iz1mr1541041lbc.8.1443715049798; Thu, 01 Oct 2015 08:57:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.44.79 with SMTP id s76ls129941lfs.29.gmail; Thu, 01 Oct 2015 08:57:29 -0700 (PDT) X-Received: by 10.112.218.42 with SMTP id pd10mr3178800lbc.114.1443715049591; Thu, 01 Oct 2015 08:57:29 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id ec5si3146867lbc.119.2015.10.01.08.57.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 08:57:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by laer8 with SMTP id r8so77364614lae.2 for ; Thu, 01 Oct 2015 08:57:29 -0700 (PDT) X-Received: by 10.112.139.201 with SMTP id ra9mr3247737lbb.29.1443715049455; Thu, 01 Oct 2015 08:57:29 -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 w3csp695156lbq; Thu, 1 Oct 2015 08:57:28 -0700 (PDT) X-Received: by 10.68.134.73 with SMTP id pi9mr823009pbb.55.1443715048300; Thu, 01 Oct 2015 08:57:28 -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.20; Thu, 01 Oct 2015 08:57:28 -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 S1756806AbbJAP5L (ORCPT + 30 others); Thu, 1 Oct 2015 11:57:11 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45939 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753421AbbJAP44 (ORCPT ); Thu, 1 Oct 2015 11:56:56 -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 t91FoUZm014563; Thu, 1 Oct 2015 17:56:32 +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 1x7vaasyc4-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Oct 2015 17:56:32 +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 777AF31; Thu, 1 Oct 2015 15:56:12 +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 AA0A4A690; Thu, 1 Oct 2015 15:56:30 +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:30 +0200 From: Maxime Coquelin To: Giuseppe Cavallaro , , , , , CC: , , Subject: [PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board Date: Thu, 1 Oct 2015 17:56:22 +0200 Message-ID: <1443714982-16251-5-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.215.41 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: , The B2199 board is 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/stih418-b2199.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/boot/dts/stih418-b2199.dts index 82eee39..772d2bb 100644 --- a/arch/arm/boot/dts/stih418-b2199.dts +++ b/arch/arm/boot/dts/stih418-b2199.dts @@ -24,6 +24,7 @@ aliases { ttyAS0 = &sbc_serial0; + ethernet0 = ðernet0; }; soc { @@ -101,5 +102,12 @@ st_dwc3: dwc3@8f94000 { status = "okay"; }; + + ethernet0: dwmac@9630000 { + st,tx-retime-src = "clkgen"; + status = "okay"; + phy-mode = "rgmii"; + fixed-link = <0 1 1000 0 0>; + }; }; };