From patchwork Tue Nov 24 02:16:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7687221 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 6A5DD9F4F5 for ; Tue, 24 Nov 2015 02:16:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5418207F5 for ; Tue, 24 Nov 2015 02:16:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C05172086F for ; Tue, 24 Nov 2015 02:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752360AbbKXCQR (ORCPT ); Mon, 23 Nov 2015 21:16:17 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:48416 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbbKXCQQ (ORCPT ); Mon, 23 Nov 2015 21:16:16 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p5254-ipbfp1403kobeminato.hyogo.ocn.ne.jp [114.152.48.254]) by kirsty.vergenet.net (Postfix) with ESMTPA id BBCF925B7FB; Tue, 24 Nov 2015 13:16:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1448331371; bh=9YcpAVXBZmwKPCFUAQ6fLiCHn9E1DU2pKrO3E3g/Gag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RrqikS0B2N55SnIU4j86xvE2cZ0z71oHHSzfa4NK+F1Oq76A6v2Piy6t4wRhjiou4 vJKY98tkRnlImyZkmctcyXSTl5/cCp8nDLZ9laZ8kw8AmafacI5kU8mT36hOwpMWGz YIX6gi84THiQF96vNo8xRPII2IYlXlCDczxfr+Cw= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 730F1940568; Tue, 24 Nov 2015 11:16:10 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH v2 2/2] ARM: shmobile: alt: Correct ether pfc Date: Tue, 24 Nov 2015 11:16:05 +0900 Message-Id: <1448331365-21388-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1448331365-21388-1-git-send-email-horms+renesas@verge.net.au> References: <1448331365-21388-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 22b160713cb6 ("ARM: shmobile: alt: Add pfc pins to DT") 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 empirically their presence prevents ethernet from functioning correctly in that environment. Reported-by: Sergei Shtylyov Signed-off-by: Simon Horman --- v2 * Corrected commit referenced in changelog --- 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";