From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756805AbbJAP5L (ORCPT ); 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 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 Content-Type: text/plain 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + }; }; }; -- 1.9.1