From patchwork Thu Oct 1 15:56:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 54374 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 384CB23009 for ; Thu, 1 Oct 2015 15:57:01 +0000 (UTC) Received: by wicmn1 with SMTP id mn1sf10111393wic.1 for ; Thu, 01 Oct 2015 08:57:00 -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=v0dBI7UbmHZLodB4KVEJ2Efx1NhC/lxuM0x/U6RSV6Q=; b=XXTM5uCiA9FNMj4stCLl56wV2PGoXUlzOGNj9EpXG8IhOt1IKhsVqe8iUtHTsh5oQM jII/gnsRV619kVWQqI9iz14BuYL/FVlfWNDSJCJmJFipahK6Rzx/s1YOB/TAPgwzuhzF P3aaOHfU1Lrb5BsWpb6Ge1TXF4HiqCG0ZTR4jOY9mg0tnRPE8vaU3QQxj34+9q2fyFFK R+/r0xrtqsWPQkXTwVNucRi8rVil3YeYsV8JGAnpNd1hquZPs0WU/qhrFsN9SvCZpHIH yQAN3Bc7cmAyId6HiEeyerqMKN5Bka8Xr/yYsiqFqDAMHyasb1RRCl/g/+ItbuCC673l VNwA== X-Gm-Message-State: ALoCoQngPvpzaAuTJAQcWdeA0FGCfV7mhZhsIc9hg4XyO6RzQCmHVVgAnov78sdBGwqdQgPlgfig X-Received: by 10.194.109.233 with SMTP id hv9mr1556086wjb.1.1443715020362; Thu, 01 Oct 2015 08:57:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.90.68 with SMTP id o65ls127810lfb.4.gmail; Thu, 01 Oct 2015 08:57:00 -0700 (PDT) X-Received: by 10.112.135.164 with SMTP id pt4mr3200356lbb.107.1443715020184; Thu, 01 Oct 2015 08:57:00 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id zc4si3152212lbb.83.2015.10.01.08.57.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 08:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lahh2 with SMTP id h2so77599922lah.0 for ; Thu, 01 Oct 2015 08:57:00 -0700 (PDT) X-Received: by 10.25.207.82 with SMTP id f79mr2198685lfg.73.1443715020029; Thu, 01 Oct 2015 08:57:00 -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 w3csp694922lbq; Thu, 1 Oct 2015 08:56:58 -0700 (PDT) X-Received: by 10.68.191.200 with SMTP id ha8mr13141095pbc.72.1443715018272; Thu, 01 Oct 2015 08:56:58 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sj1si9836995pac.48.2015.10.01.08.56.58; Thu, 01 Oct 2015 08:56:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1754152AbbJAP44 (ORCPT + 7 others); Thu, 1 Oct 2015 11:56:56 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45940 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753116AbbJAP4z (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 t91FoUZl014563; Thu, 1 Oct 2015 17:56:29 +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 1x7vaasybv-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Oct 2015 17:56:29 +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 2AAE431; Thu, 1 Oct 2015 15:56:10 +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 6C25BA68F; Thu, 1 Oct 2015 15:56:28 +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:28 +0200 From: Maxime Coquelin To: Giuseppe Cavallaro , , , , , CC: , , Subject: [PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family Date: Thu, 1 Oct 2015 17:56:20 +0200 Message-ID: <1443714982-16251-3-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: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.44 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: , STiH407 family uses the Synopsys IP. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih407-family.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 582154b..c944d3a 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -653,5 +653,32 @@ clocks = <&clk_sysin>; status = "okay"; }; + + ethernet0: dwmac@9630000 { + device_type = "network"; + status = "disabled"; + compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710"; + reg = <0x9630000 0x8000>, <0x80 0x4>; + reg-names = "stmmaceth", "sti-ethconf"; + + st,syscon = <&syscfg_sbc_reg 0x80>; + st,gmac_en; + resets = <&softreset STIH407_ETH1_SOFTRESET>; + reset-names = "stmmaceth"; + + interrupts = , + ; + interrupt-names = "macirq", "eth_wake_irq"; + + /* DMA Bus Mode */ + snps,pbl = <8>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1>; + + clock-names = "stmmaceth", "sti-ethclk"; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>, + <&clk_s_c0_flexgen CLK_ETH_PHY>; + }; }; };