Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6658150ybp; Tue, 15 Oct 2019 19:19:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGhWX0tza6Mh6PWISlwxBwbXZUMDjeCnH5dcw8F9mwaqNORb0AJbWnk1yyjVDoEOLEKfQJ X-Received: by 2002:a17:906:5907:: with SMTP id h7mr17000030ejq.328.1571192367206; Tue, 15 Oct 2019 19:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571192367; cv=none; d=google.com; s=arc-20160816; b=a/R8KHZv1rZaKbG78fEo/GrEOXQc7RLOHfFogDkZjIpiHRpvMK4OTIaUu1lmRB9VY8 WdZ5rKYyYn7P/+Bytf+ol5V4KLpiIZ+WTYA97yVYZUYj6Qlv4az+W70ZCkF6dqABuV69 jbcymAo8tC3ZkU6CRnBzGh2r7KzZIlSTrMrvR+OWS9cCMVqgtw0TEoHNrYepvf4U1ISx aKCcTMRACY4gLykkquGgVxSxhFp2YoyT4uWEBE7Gb2ijKPjUXRkIy56beBtMIY8B2qU0 QnPJ4Ja7YPO6qhvf2Z2vujTGZiZro7MaQxe3noG7rgtzc1KquxJjSWmRKP5C3TlYXT3C NyRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=wJaSykn7GoQg5zck+X4m1a5681I2xObu6wqRtl8KfFY=; b=cLEVK3sLdleS4JtUT6R2vZeShdsEQJqcmsLieJ+rx9qVmcwmCG2sc5MMdRUjrgyZit dZs0Ebfjhr1/IGLaMmQvxtDAKnyupFlOiaM7hgb/YZ641NqPywleYomgyWdiCL+z/pQb VvAn6gROnKIFT17lIbKkWqnPGLN+SkdACEDjxHTn8M323QG6DrjmTIyYgAVSxqWTdPus q99v59g/J2d75zWjgyYT5yAh0KQm1UCvcKV8NDxu5G8LbydOccIu8LvjlSzfycPzrJmF p4lXD9NFzCUVL5uW4fDEACK24HMXRMyIbHG7quZSYNtMH5poho/VA0sVDWJx4D6Meu2B TJeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="GtKf/9+n"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si14483634ejj.327.2019.10.15.19.19.04; Tue, 15 Oct 2019 19:19:27 -0700 (PDT) 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=@gmx.net header.s=badeba3b8450 header.b="GtKf/9+n"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728572AbfJOTgN (ORCPT + 99 others); Tue, 15 Oct 2019 15:36:13 -0400 Received: from mout.gmx.net ([212.227.15.18]:40803 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726837AbfJOTgN (ORCPT ); Tue, 15 Oct 2019 15:36:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1571168148; bh=8CtZdk//uT3mD5UzLBd+cEolu2bZMY/XSWPKvl77iw0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=GtKf/9+n3AwqBfQQfX9adpD3gPsyKPR2YKPBuvzNb5Qd3jN8m0kO9xrMsMNxbeERW y27/AeTxcmP5rcgwgWWPNyGMDCISMV8/p7yeARZymdLWC5Y6TpLcsHfKh66lYdUm8K JkkHCq8aDPiNal0Zt/OS73x4NFmqvqy0Tr/g5pJE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.112]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MJmKh-1iearN1SK9-00K63U; Tue, 15 Oct 2019 21:35:48 +0200 Subject: Re: [PATCH v1 3/3] ARM: dts: bcm2711: Enable GENET support for the RPi4 To: Florian Fainelli , matthias.bgg@kernel.org, "David S . Miller" Cc: Mark Rutland , devicetree@vger.kernel.org, Matthias Brugger , Nicolas Saenz Julienne , linux-kernel@vger.kernel.org, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20191011184822.866-1-matthias.bgg@kernel.org> <20191011184822.866-4-matthias.bgg@kernel.org> From: Stefan Wahren Message-ID: <7ac16f46-8f75-a91a-c096-7645da8f044a@gmx.net> Date: Tue, 15 Oct 2019 21:35:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:WJUZ0VvS2rEzkhQZcFikR4IvYJzLmGQBvy4te06VSqGg/4lR+v8 gH+1SiXGIh2ZeN2Bidjxg1HQMyO8XuwtSk5bAflNdJx3XLft2M4Y7VrABhA9dFsMVpSqBGP wgvvuLzS03PwqHCefpFa8n4CkYSy+c7kvVEntLdYiPuSySrVcsYiYmkplEDK9LJ3BNpbMBN 6NBpyK9r3gyxIzqAgeg0Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6NCl5YU0F1c=:UqxKtymJXFQBSh/VJde4rl H/4yHI7y4KLeiL0vJQbqhPKjoE9y4ynssQ5MG6pWmiQqRa9B1T1FW7QZMJmydiX+Z2nkdjpcI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7fZG bd7WEfN3DfcSYsEkVPGWrJJg4FUFZjFwrrGn6/K2j+AJItPawInKiZvACqKNH8LiLAs/3kRnD K/udraqJUtuwlkHnJOUaXcuYuwHQmORb5o7aDGltEGhMfUJVjbdXs2qIPp+s= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Florian, Am 11.10.19 um 21:31 schrieb Florian Fainelli: > On 10/11/19 11:48 AM, matthias.bgg@kernel.org wrote: >> From: Matthias Brugger >> >> Enable Gigabit Ethernet support on the Raspberry Pi 4 >> Model B. >> >> Signed-off-by: Matthias Brugger >> >> --- >> >> arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 22 ++++++++++++++++++++++ >> arch/arm/boot/dts/bcm2711.dtsi | 18 ++++++++++++++++++ >> 2 files changed, 40 insertions(+) >> >> diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/= bcm2711-rpi-4-b.dts >> index cccc1ccd19be..958553d62670 100644 >> --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts >> +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts >> @@ -97,6 +97,28 @@ >> status =3D "okay"; >> }; >> >> +&genet { >> + phy-handle =3D <&phy1>; >> + phy-mode =3D "rgmii"; > Can you check that things still work against David Miller's net-next? > Tree, in particular the BCM54213PE PHY might be matched by the BCM54210E > entry in drivers/net/phy/broadcom.c and I just fixed an issue in how > RGMII delays were configured: > > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commi= t/?id=3Dfea7fda7f50a6059220f83251e70709e45cc8040 > > This might require you to change the 'phy-mode' property to what is > appropriate. since i didn't get a reply from the Pi folks yet, i tried all the other rgmii variants on top of this branch [1]. But none of them worked. In case of "rgmii-id" i'm getting: unknown phy mode: 9 and for "rgmii-rxid": unknown phy mode: 10 In those cases the PHY didn't even probe. Did i missed something? [1] - https://github.com/lategoodbye/rpi-zero/commits/bcm2711-genet