From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC590C43334 for ; Wed, 15 Jun 2022 11:13:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8CE93844F0; Wed, 15 Jun 2022 13:11:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1655291515; bh=8k3ejcySlPOsALsKVf3ZCvjfjdWN5Jd1zMhhyT6FlL8=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=hFqLEiFoWT0Vja4eLIPFsdWsWmqwmrSHDU7w8LptA3pgo07+1MIUEm95bAhK5xch5 6QcJZyUl8SDz8YRGmNjDXUy/O2/Nx0bfbOkqclUx0qy/lxithdR5Pv1IfPDn9IB3Q8 tc+0wJZ/088oeWSH0noMHwGt2cGRuSzwuknabC8zlrHNlsIqVBRjQJ8wTuosIPKNO5 +IxKnDNixuxzR0jTIXV/Tx0X2C5ni5o6Jlg374UhjrEc68ixwd//i3mH7x8Iv/bRqk eOqTcP+n0u64Q5aNsEZDvRxSAfX7ydQO9zqCRrpAcIHSJrjxGBKo/v85ai5pt8gzjy ETwobVcTnsqTg== Received: by phobos.denx.de (Postfix, from userid 109) id 4F214844ED; Wed, 15 Jun 2022 13:11:54 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9F259844F6 for ; Wed, 15 Jun 2022 13:11:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4LNN1138FXz1s7tB; Wed, 15 Jun 2022 13:11:49 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4LNN112sQQz1qqkJ; Wed, 15 Jun 2022 13:11:49 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id O1EJ6r1ztaR6; Wed, 15 Jun 2022 13:11:48 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 15 Jun 2022 13:11:47 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 1633136 X-Patchwork-Delegate: sbabic@denx.de To: Josua Mayer ,u-boot@lists.denx.de Subject: [PATCH v2 3/5] ARM: dts: imx6qdl-sr-som: add support for alternate phy addresses In-reply-to: <20220519093200.20571-4-josua@solid-run.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20220615111154.4F214844ED@phobos.denx.de> Date: Wed, 15 Jun 2022 13:11:49 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean > The Cubox has an unstable phy address - which can appear at either > address 0 (intended) or 4 (unintended). > SoM revision 1.9 has replaced the ar8035 phy with an adin1300, which > will always appear at address 1. > Change the reg property of the phy node to the magic value 0xffffffff, > which indicates to the generic phy driver that all addresses should be > probed. That allows the same node (which is pinned by phy-handle) to match > either the AR8035 PHY at both possible addresses, as well as the new one > at address 1. > Also add the new adi,phy-output-clock property for enabling the 125MHz > clock used by the fec ethernet controller, as submitted to Linux [1]. > Linux solves this problem differently: > For the ar8035 phy it will probe both phy nodes in device-tree in order, > and use the one that succeeds. For the new adin1300 it expects U-Boot to > patch the status field in the DTB before booting > While at it also sync the reset-delay with the upstream Linux dtb. > [1] https://patchwork.kernel.org/project/netdevbpf/patch/20220428082848.121= 91-4-josua@solid-run.com/ > Signed-off-by: Josua Mayer Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D