Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4138335pxf; Tue, 23 Mar 2021 03:47:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfbtNKnZ0tL0ZG7G+x1AitFJBZaAHUermIDCCKxXjXP8Ct5+uIxq5cYG8Xo3B23A1L703R X-Received: by 2002:a17:906:354a:: with SMTP id s10mr4206888eja.21.1616496477753; Tue, 23 Mar 2021 03:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616496477; cv=none; d=google.com; s=arc-20160816; b=N/n2kn5lFHG5JwSZZ+i8b6dFB1ts6W8ejt8I0eitsdryBBKGHNSrWDKafqDzf1Vr+t xe+Hp8jVZcdsOduYQ0O5Ubv+26iIp2iWTU805QBGIo9AWq1iXbiL1ZTmNLU64KiVL4uK bl1YDDqouI9qzLQFyJXRmuNuNdk+0oAjc+MYf6uaeLZcEcLagTeWpJWJvZBEnmoomnmS RYiIKeOj5PON2q5s6IeZfNcSvdPyNekEXcD4GUyc2fCZRiiiQVVQdxFabHJCn3LQ5NC9 jJjt+tQdZWmZtS8dK6KjR+Moc7H93DYerRgOzmyw19hPIQoqJAXch0YWqZJFQgH1bGM3 rSMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:importance:content-transfer-encoding:subject :references:in-reply-to:message-id:cc:to:from:date; bh=MYxyEbeCPhHRUDaHqG0gxgTrnbpR3GL0vJWBNPBDCUU=; b=z/ze+jq9VPDrQSV8xMLcJjkVjMUSnx2vlW0+WkMgBmOzZbz++DfZiavG5w97tFp/E5 Cr3Sy07gtipFPpObEjV4/iXP621dwHYgS2KAHnAKGC6aZsG25UbuF1SKC83JX/FH4Va+ UUcJ114MckKQdQx62uCBM8BnsuZjsH/lVcP13BePK6F3x3kG+R+PGlB/h2RM4BvV3wWm t5Ed2KvGaX8Oa76bXcUdRK39mfz6TIcuUSPlNHKCIViM0g9p4wU4BmPmoQrhmQUE+4hl jrkG+f/B9zkthlbqXDCAZ75yKtEVkQf69dVIb7Wicq7yXBzlnDA2g2Wicv6E+Jv7rdmS 5Mpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si14793531edn.450.2021.03.23.03.47.34; Tue, 23 Mar 2021 03:47:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbhCWKqN (ORCPT + 99 others); Tue, 23 Mar 2021 06:46:13 -0400 Received: from mail.thorsis.com ([92.198.35.195]:40847 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230228AbhCWKqF (ORCPT ); Tue, 23 Mar 2021 06:46:05 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id DB1845E8; Tue, 23 Mar 2021 11:46:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5N2qbRT1jL0; Tue, 23 Mar 2021 11:46:02 +0100 (CET) Received: by mail.thorsis.com (Postfix, from userid 109) id 2EDCF1FAB; Tue, 23 Mar 2021 11:46:02 +0100 (CET) X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Date: Tue, 23 Mar 2021 11:45:55 +0100 (CET) From: Alexander Dahl To: nicolas.ferre@microchip.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Belloni , Ludovic Desroches Cc: Claudiu Beznea , stable@vger.kernel.org, Ahmad Fatoum , "devicetree@vger.kernel.org" Message-ID: <1732882030.11903.1616496356027@seven.thorsis.com> In-Reply-To: <20210217113808.21804-1-nicolas.ferre@microchip.com> References: <20210217113808.21804-1-nicolas.ferre@microchip.com> Subject: Re: [PATCH] ARM: dts: at91-sama5d27_som1: fix phy address to 7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Originating-Client: open-xchange-appsuite Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hei hei, I could not get ethernet to work on SAMA5D27-SOM1-EK1 with kernels v5.10 and v5.11 built by a recent ptxdist based DistroKit BSP, while it used to work with an older v4.19 kernel. Just applying this patch to the tree made ethernet working again, thus: Tested-by: Alexander Dahl Not sure why it worked with that older kernel, though. I added Ahmad to Cc, he added board support to DistroKit for that board, and might want to know. And I added the devicetree list to Cc, I wondered why the patch was not there and get_maintainers.pl proposed it. Thanks for fixing this and greetings Alex > nicolas.ferre@microchip.com hat am 17.02.2021 12:38 geschrieben: > > > From: Claudiu Beznea > > Fix the phy address to 7 for Ethernet PHY on SAMA5D27 SOM1. No > connection established if phy address 0 is used. > > The board uses the 24 pins version of the KSZ8081RNA part, KSZ8081RNA > pin 16 REFCLK as PHYAD bit [2] has weak internal pull-down. But at > reset, connected to PD09 of the MPU it's connected with an internal > pull-up forming PHYAD[2:0] = 7. > > Signed-off-by: Claudiu Beznea > Fixes: 2f61929eb10a ("ARM: dts: at91: at91-sama5d27_som1: fix PHY ID") > Cc: Ludovic Desroches > Signed-off-by: Nicolas Ferre > Cc: # 4.14+ > --- > arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi > index 1b1163858b1d..e3251f3e3eaa 100644 > --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi > +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi > @@ -84,8 +84,8 @@ macb0: ethernet@f8008000 { > pinctrl-0 = <&pinctrl_macb0_default>; > phy-mode = "rmii"; > > - ethernet-phy@0 { > - reg = <0x0>; > + ethernet-phy@7 { > + reg = <0x7>; > interrupt-parent = <&pioA>; > interrupts = ; > pinctrl-names = "default"; > -- > 2.30.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel