From patchwork Thu Feb 6 22:14:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3598441 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B8925BF418 for ; Thu, 6 Feb 2014 21:14:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB93320163 for ; Thu, 6 Feb 2014 21:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13B812012F for ; Thu, 6 Feb 2014 21:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756402AbaBFVN6 (ORCPT ); Thu, 6 Feb 2014 16:13:58 -0500 Received: from mail-la0-f51.google.com ([209.85.215.51]:58395 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754409AbaBFVN5 (ORCPT ); Thu, 6 Feb 2014 16:13:57 -0500 Received: by mail-la0-f51.google.com with SMTP id c6so1936386lan.38 for ; Thu, 06 Feb 2014 13:13:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=MhCCZt7k/lJnpTzjTeBQp+mx6WSfRec7E24ZMuXdxn4=; b=XmGhEgCNBU92eHYVKxNRbLFac+fJpiLAfsrM4gHJq46O2UZoUH/3cvfdnJw+ef7uFU 0L7yYRQSyDSYOUxTc8BcpA/7hgs9jvc/SmNBcmOl+8Gq+0GkhrYE1BHAVznjSEjfYGjF xliVInd4qEScaxNmMwUa3grSOD10kyxl7Qaf/YE36z257icPexOA33H0pa6RyVd1urvv Lf7vL4PGgA6zJj0BWDTWGRHuwpg6/8XXnSmE7G4+TvaG5WVKrZytZgGt6GQa/4vZOLAN 9A27qintJHjJQzC4KPDyUufmlZsT4c0TtOB6/jRpS8jkMpK+KKD7um5FLJvzJOrvX8hg b9pg== X-Gm-Message-State: ALoCoQnsTAb4pglrb2Nni5nF6CifA8r9AKeFU5iXD6c4F5A4f7IpnHn0xtXJ+kEwzOSnooXmNyfK X-Received: by 10.112.155.202 with SMTP id vy10mr6763989lbb.31.1391721236391; Thu, 06 Feb 2014 13:13:56 -0800 (PST) Received: from wasted.cogentembedded.com (ppp83-237-58-87.pppoe.mtu-net.ru. [83.237.58.87]) by mx.google.com with ESMTPSA id gi5sm2361624lbc.4.2014.02.06.13.13.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Feb 2014 13:13:55 -0800 (PST) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH 2/2] ARM: shmobile: koelsch: add Ether DT support Date: Fri, 7 Feb 2014 01:14:26 +0300 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: linux-sh@vger.kernel.org, devicetree@vger.kernel.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201402070110.18561.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201402070110.18561.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201402070114.27279.sergei.shtylyov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 Define the Koelsch board dependent part of the Ether device node. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791-koelsch.dts | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts +++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -2,7 +2,8 @@ * Device Tree Source for the Koelsch board * * Copyright (C) 2013 Renesas Electronics Corporation - * Copyright (C) 2013 Renesas Solutions Corp. + * Copyright (C) 2013-2014 Renesas Solutions Corp. + * Copyright (C) 2014 Cogent Embedded, Inc. * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any @@ -122,12 +123,40 @@ renesas,function = "scif1"; }; + ether_pins: ether { + renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; + renesas,function = "eth"; + }; + + phy1_pins: phy1 { + renesas,groups = "intc_irq0"; + renesas,function = "intc"; + }; + qspi_pins: spi { renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,function = "qspi"; }; }; +ðer { + pinctrl-0 = <ðer_pins>; + pinctrl-names = "default"; + + phy-handle = <&phy1>; + renesas,ether-link-active-low; + status = "ok"; + + phy1: ethernet-phy@1 { + reg = <1>; + interrupt-parent = <&irqc0>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&phy1_pins>; + pinctrl-names = "default"; + }; +}; + &sata0 { status = "okay"; };