From patchwork Tue Nov 17 19:10:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7641381 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 5A8CEBF90C for ; Tue, 17 Nov 2015 19:10:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 905732041B for ; Tue, 17 Nov 2015 19:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F4FB203A1 for ; Tue, 17 Nov 2015 19:10:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753095AbbKQTKs (ORCPT ); Tue, 17 Nov 2015 14:10:48 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:37871 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119AbbKQTKr (ORCPT ); Tue, 17 Nov 2015 14:10:47 -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 6B19225B792; Wed, 18 Nov 2015 06:10:45 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1447787445; bh=KPb4AfXKyXtTo0nMPumnePiE65i//65wSjv5QcHQ0Ug=; h=From:To:Cc:Subject:Date:From; b=RsP1Le5n+DNz+3dUmaqXZimiFNtx7Pct/HCpHjAUBlo6peqrGIPoY1zUHCCFs/32K V8JeyrS7z3xX/nlVXP10k6PxTt0/qcvdxSoSQX5srUypvBFbwm6Oj8k9zHCLb+6JjL EvZIEGYTdELgsScYYMG5vDJRxGbkkyNzI6gz9UIE= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id A42E6604C6; Wed, 18 Nov 2015 04:10:43 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH] ARM: shmobile: alt: Add pfc pins to DT Date: Tue, 17 Nov 2015 11:10:40 -0800 Message-Id: <1447787440-11080-1-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 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,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 --- Tested --- 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 928cfa641475..2e889991ce8f 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -39,6 +39,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"; };