From patchwork Mon Nov 9 01:33:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7579861 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 22B269F392 for ; Mon, 9 Nov 2015 01:33:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 518E4205B8 for ; Mon, 9 Nov 2015 01:33:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BF97205BD for ; Mon, 9 Nov 2015 01:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752069AbbKIBd0 (ORCPT ); Sun, 8 Nov 2015 20:33:26 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:35496 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbbKIBdZ (ORCPT ); Sun, 8 Nov 2015 20:33:25 -0500 Received: from ayumi.isobedori.kobe.vergenet.net (p2250-ipbfp1101kobeminato.hyogo.ocn.ne.jp [122.22.210.250]) by kirsty.vergenet.net (Postfix) with ESMTPSA id AEA3325B7EC; Mon, 9 Nov 2015 12:33:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1447032801; bh=N9c2HTeHxJxxfbwcrgAvauv9aLcNM676Z19kl8B3Tlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GVidxjyODTIHm6peRQm7LOyVSWKKSAP7KRy/PSevlABEOWf1oopKTWj0VKpsNEM1w vqFHiF2sFnZqGPPPsugpZ32Rw2gAktTydvql0qPLQHmV12QSaKvFt+zYcI8DQ443sR KTHD2TcfOz4J81TlaNzljwABtWN1XcaIt1bWtfaM= Received: by ayumi.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 45671EDE5E1; Mon, 9 Nov 2015 10:33:20 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman , Laurent Pinchart , Sergei Shtylyov Subject: [PATCH 2/2] ARM: shmobile: gose: Configure PFC in DT Date: Mon, 9 Nov 2015 10:33:19 +0900 Message-Id: <1447032799-13155-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447032799-13155-1-git-send-email-horms+renesas@verge.net.au> References: <1447032799-13155-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 Configure PFC for the already enabled scif and ethernet devices in the device tree for the gose board. Based on similar work for the koelsch board by Laurent Pinchart and Sergei Shtylyov. Cc: Laurent Pinchart Cc: Sergei Shtylyov Signed-off-by: Simon Horman Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7793-gose.dts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index 96443ec5f6ab..1575ef759047 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -37,7 +37,32 @@ clock-frequency = <20000000>; }; +&pfc { + scif0_pins: serial0 { + renesas,groups = "scif0_data_d"; + renesas,function = "scif0"; + }; + + scif1_pins: serial1 { + renesas,groups = "scif1_data_d"; + 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"; + }; +}; + ðer { + pinctrl-0 = <ðer_pins &phy1_pins>; + pinctrl-names = "default"; + phy-handle = <&phy1>; renesas,ether-link-active-low; status = "okay"; @@ -55,9 +80,15 @@ }; &scif0 { + pinctrl-0 = <&scif0_pins>; + pinctrl-names = "default"; + status = "okay"; }; &scif1 { + pinctrl-0 = <&scif1_pins>; + pinctrl-names = "default"; + status = "okay"; };