From patchwork Fri Nov 20 01:05:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7663121 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7886DBF90C for ; Fri, 20 Nov 2015 01:06:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9FF4020396 for ; Fri, 20 Nov 2015 01:06:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A4CCA20437 for ; Fri, 20 Nov 2015 01:06:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161809AbbKTBGN (ORCPT ); Thu, 19 Nov 2015 20:06:13 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:45558 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161810AbbKTBGM (ORCPT ); Thu, 19 Nov 2015 20:06:12 -0500 Received: from penelope.kanocho.kobe.vergenet.net (50-206-118-3-static.hfc.comcastbusiness.net [50.206.118.3]) by kirsty.vergenet.net (Postfix) with ESMTPSA id B44CA25BE7C; Fri, 20 Nov 2015 12:05:44 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1447981544; bh=C7c0k7506HFkwxBGUQb3mcZm4RAfbuSxQ/9W+V7fGMc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OTNc5XQoTQyEaPWJIALzVkATt3u7GychV85v1h1Bx1ko1knA8u3PmsYOEuQXX8DXr pbtThZ3Q/e4uz1IMGM5t76xUUzjxCGb29oR/CqdK4AeAX9KVLyIFHmeoLAJFu+hgTG 1UuEaAAgUKK3in4zah+rJmD/nZqVnXG6LN9ts8/I= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id CABD3667BB; Thu, 19 Nov 2015 17:05:38 -0800 (PST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH 27/29] ARM: shmobile: alt: Add pfc pins to DT Date: Thu, 19 Nov 2015 17:05:34 -0800 Message-Id: <22b160713cb6944450dad0abd18d8929f60500dc.1447981420.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: 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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 PFC is already enabled on the r8a7794. This adds pins for devices already enabled in DT on the r8a7794 based alt board. Based on work by Mitsuhiro Kimura and Hisashi Nakamura. Cc: Mitsuhiro Kimura Cc: Hisashi Nakamura Signed-off-by: Simon Horman Acked-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7794-alt.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index a548007b9b10..e7c94554d847 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -100,6 +100,23 @@ clock-frequency = <20000000>; }; +&pfc { + scif2_pins: serial2 { + renesas,groups = "scif2_data"; + renesas,function = "scif2"; + }; + + ether_pins: ether { + renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; + renesas,function = "eth"; + }; + + ether_b_pins: ether { + renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; + renesas,function = "eth"; + }; +}; + &cmt0 { status = "okay"; };