Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7278733imu; Wed, 14 Nov 2018 14:45:17 -0800 (PST) X-Google-Smtp-Source: AJdET5eFLAdDDLefwz2zXgOtp8+61lf+wgQPjRNaoV7rR5OiX5hqFSMAufWDekNZYVM8s4v8OBjf X-Received: by 2002:a63:e055:: with SMTP id n21mr3520553pgj.397.1542235517814; Wed, 14 Nov 2018 14:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542235517; cv=none; d=google.com; s=arc-20160816; b=kxh8TnhOKY3WS+FPIhYlCmJ97lX8js5Bttf072dBiN44fQlBADeKZLH7QzZ76dUOow CsqEsJiKeRQnLkDZUTLO+mYyqXWIol3hFBZJ7DLPXPbg8PwLzX3uFw8KbuwdaHcb/4Ja Y68WWqEVykxd0S0FrHPq3GTyNvepER6gyW4/eE7DcKrfcaJq4WjzF93WaYrEcIX9B9IW hG6O3BRaTawV6jbFkMaWtmZlNCwarmHgad17fbm7MifweLCpoon9xX3ERzmm0rV1cj27 kfYNvOhLPSYjr2ErFWhxW5JFxebz9oo+2sygKOH/5kKTrvbacXDdrvU7wvtqFmO5tLkP B4uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BhkJo2BxEv7kIdI1HQMHvXoT8NWUpEKuZE1f6Uo9Gxo=; b=b/3BWZaEVYuxcD0z1ILLJFXrJ01rMpVtHHiPg2pMp/4s3W7omBdAQY4955pKpgtQqL dLWcvB9CRlao7BRZsTra7MeRlH/5CZYt8iSVWLWsz9si5KhEH5EJGW6QsWqtqwvhUZj0 77x4FPVLSAXuXSAyqDR9j3jAbuupZSzqzi4Gjt/JWRx/gz824p24w9w4L4idzJokWu/y 3OoZZ25MOrHhJu2twGtcdgZZnkOqC1CeTVNmGRe4OirObQi3e2pxtzcHirA3vEs9j/D1 PuRSDOgqdzHh3hb37Vp6LaEloL2+s9ApEwYkPPQAf17oqDzolOZob9S+KWX21NhRZVgh F3DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xkaU0QK9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg1-v6si24483016plb.165.2018.11.14.14.45.03; Wed, 14 Nov 2018 14:45:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xkaU0QK9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729073AbeKOIs0 (ORCPT + 99 others); Thu, 15 Nov 2018 03:48:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:34416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728604AbeKOI1U (ORCPT ); Thu, 15 Nov 2018 03:27:20 -0500 Received: from sasha-vm.mshome.net (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B92E62252B; Wed, 14 Nov 2018 22:22:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542234136; bh=cuU0Y+1+4MZu70SiMPCRSVcfvRFKuwfmbGfpe+0Mauk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xkaU0QK9LENunMmXQ01FTna91kNyXfJzQ6tUPN9PacoB59e82Pvs1oRgjhjnkOJ49 W3W9ppdTvgffrxQZEqiqzI9ocMQzbmU2KEM0WKGYx2PfKUZO9JRj6fsBz77s0CpyHK WBwSHiqzQXUUzXVAHRHT+tv/47kjTQFvQD/kT1L8= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sergei Shtylyov , Simon Horman , Sasha Levin Subject: [PATCH AUTOSEL 4.19 35/73] arm64: dts: renesas: condor: switch from EtherAVB to GEther Date: Wed, 14 Nov 2018 17:21:29 -0500 Message-Id: <20181114222207.98701-35-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181114222207.98701-1-sashal@kernel.org> References: <20181114222207.98701-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sergei Shtylyov [ Upstream commit eab53fdfd60a84b0cc514d4f1f5d79226c76df01 ] The "official" Condor boards have always been wired to mount NFS via GEther, not EtherAVB -- the boards resoldered for EtherAVB were local to Cogent Embedded, so we've been having an unpleasant situation where a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY extension board is plugged in). Switch from EtherAVB to GEther at last! Fixes: 8091788f3d38 ("arm64: dts: renesas: condor: add EtherAVB support") Signed-off-by: Sergei Shtylyov Signed-off-by: Simon Horman Signed-off-by: Sasha Levin --- .../boot/dts/renesas/r8a77980-condor.dts | 47 ++++++++++--------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts index 9f25c407dfd7..e830b6162375 100644 --- a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts +++ b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts @@ -15,7 +15,7 @@ aliases { serial0 = &scif0; - ethernet0 = &avb; + ethernet0 = &gether; }; chosen { @@ -47,23 +47,6 @@ }; }; -&avb { - pinctrl-0 = <&avb_pins>; - pinctrl-names = "default"; - - phy-mode = "rgmii-id"; - phy-handle = <&phy0>; - renesas,no-ether-link; - status = "okay"; - - phy0: ethernet-phy@0 { - rxc-skew-ps = <1500>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <17 IRQ_TYPE_LEVEL_LOW>; - }; -}; - &canfd { pinctrl-0 = <&canfd0_pins>; pinctrl-names = "default"; @@ -82,6 +65,23 @@ clock-frequency = <32768>; }; +&gether { + pinctrl-0 = <&gether_pins>; + pinctrl-names = "default"; + + phy-mode = "rgmii-id"; + phy-handle = <&phy0>; + renesas,no-ether-link; + status = "okay"; + + phy0: ethernet-phy@0 { + rxc-skew-ps = <1500>; + reg = <0>; + interrupt-parent = <&gpio4>; + interrupts = <23 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &i2c0 { pinctrl-0 = <&i2c0_pins>; pinctrl-names = "default"; @@ -118,16 +118,17 @@ }; &pfc { - avb_pins: avb { - groups = "avb_mdio", "avb_rgmii"; - function = "avb"; - }; - canfd0_pins: canfd0 { groups = "canfd0_data_a"; function = "canfd0"; }; + gether_pins: gether { + groups = "gether_mdio_a", "gether_rgmii", + "gether_txcrefclk", "gether_txcrefclk_mega"; + function = "gether"; + }; + i2c0_pins: i2c0 { groups = "i2c0"; function = "i2c0"; -- 2.17.1