From patchwork Fri Nov 27 01:55:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7709971 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 845F4BF90C for ; Fri, 27 Nov 2015 01:56:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22F2E205F1 for ; Fri, 27 Nov 2015 01:56:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3AF872061C for ; Fri, 27 Nov 2015 01:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753879AbbK0B4W (ORCPT ); Thu, 26 Nov 2015 20:56:22 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:46737 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753869AbbK0B4W (ORCPT ); Thu, 26 Nov 2015 20:56:22 -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 0CD3825BEEF; Fri, 27 Nov 2015 12:56:01 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1448589361; bh=kIHIbnGUt96Jm3gpBzH4Qw7Gq+r6nStPAR6ApOGagmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C0mcjpBaoTBRt51ss1CavsAIoNz8MRmqBOhaoMZotvzMVvtzM5/3/GZUuwU7S+voJ sC7brbP+6lco9gF8tr0mWiZYXUNi/VOtvykC1e8H4w/MTV/VUj2aj19mUnjuDVxXzT xLivRzAEa4wTpb+oEBlRkjahP8Z0DNZA+aLoGNQM= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id B79E894077B; Fri, 27 Nov 2015 10:55:59 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH 13/15] ARM: shmobile: alt: Correct ether pfc Date: Fri, 27 Nov 2015 10:55:56 +0900 Message-Id: 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.8 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 --- 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 c8cafc1d55c3..767d9224d6cc 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -118,9 +118,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 { @@ -139,6 +139,9 @@ }; ðer { + pinctrl-0 = <ðer_pins &phy1_pins>; + pinctrl-names = "default"; + phy-handle = <&phy1>; renesas,ether-link-active-low; status = "okay";