From patchwork Mon Nov 23 07:16:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7677611 X-Patchwork-Delegate: horms@verge.net.au 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 1F1309FC62 for ; Mon, 23 Nov 2015 07:16:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5821F20629 for ; Mon, 23 Nov 2015 07:16:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 748A32062C for ; Mon, 23 Nov 2015 07:16:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbbKWHQ5 (ORCPT ); Mon, 23 Nov 2015 02:16:57 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:33112 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752034AbbKWHQ4 (ORCPT ); Mon, 23 Nov 2015 02:16:56 -0500 Received: from penelope.kanocho.kobe.vergenet.net (121-80-212-138f1.hyg1.eonet.ne.jp [121.80.212.138]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 26D1325BE01; Mon, 23 Nov 2015 18:16:52 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1448263012; bh=sIHHYaXQmwZD+o2bfDijrw6aJbDFiae1p5f3kS2K5Lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h+32g2KDCJ3KUrBBXY9V9v6aoowVSdk5AKxb3eLzHacRM+CiZoT2AFn98JjBrS0C8 5fjYHRAWVkpSoZWVaCdzqmYYYaHMLBkeAV3Xl1UqLHsGnQ5AQMEdzCXZ9eEmhXvX4C //z4CtbNJ4aUU3bUNtLQNfTlmhRHiv9Hmjuf1Hks= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 9A24E6190F; Sun, 22 Nov 2015 23:16:50 -0800 (PST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH 2/2] ARM: shmobile: alt: Correct ether pfc Date: Mon, 23 Nov 2015 16:16:44 +0900 Message-Id: <1448263004-14548-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1448263004-14548-1-git-send-email-horms+renesas@verge.net.au> References: <1448263004-14548-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=-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 0c9400fab882 ("Merge branch 'heads/dt-for-v4.5' into next") introduced pfc pins to the alt device tree but did not reference them. This patch fixes ether pfc by: * Referencing ether pins * Adding and referencing phy1 pins * Removing ether b pins. These are not used in the configuration of the alt board used for testing and their presence prevents ethernet from functioning correctly in that environment. Reported-by: Sergei Shtylyov Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index 412eb7ad86db..7c72494f51b0 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -111,9 +111,9 @@ renesas,function = "eth"; }; - ether_b_pins: ether { - renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; - renesas,function = "eth"; + phy1_pins: phy1 { + renesas,groups = "intc_irq8"; + renesas,function = "intc"; }; i2c1_pins: i2c1 { @@ -132,6 +132,9 @@ }; ðer { + pinctrl-0 = <ðer_pins &phy1_pins>; + pinctrl-names = "default"; + phy-handle = <&phy1>; renesas,ether-link-active-low; status = "okay";