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 B3295C32771 for ; Fri, 19 Aug 2022 14:08:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9CAAC84BEF; Fri, 19 Aug 2022 16:06:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=karthanis.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=karthanis.net header.i=@karthanis.net header.b="WLB67qdl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7250D84A7B; Fri, 19 Aug 2022 10:57:40 +0200 (CEST) Received: from smtp-bc0c.mail.infomaniak.ch (smtp-bc0c.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2469484A2C for ; Fri, 19 Aug 2022 10:57:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=karthanis.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=antoine@karthanis.net Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4M8Fy95mbHzMpvV3; Fri, 19 Aug 2022 10:57:37 +0200 (CEST) Received: from localhost.localdomain (unknown [88.168.170.86]) by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4M8Fy92cQ2zlrKcx; Fri, 19 Aug 2022 10:57:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=karthanis.net; s=20191114; t=1660899457; bh=w3VajGHSYlMlHZUYMDIP2zCtddkrG60Qf8UhuRUFkCE=; h=From:To:Cc:Subject:Date:From; b=WLB67qdlN2oK6YesT1sa93GbqDF2oDNP6fBJymxUZZL0JekK2jpg2ttf81r2z7X9x i0ifTHF7BdqOPbBQRDJD18NDzOFZDhNF8pjQk8noC2zhCmPzl4xGjGDDtIUgPpIW2+ khzQgjnPRER9PM/8XRRzHRs0f/mByz2/zP7YwN9I= From: Antoine Mazeas To: u-boot@lists.denx.de Cc: Matthias Brugger , Antoine Mazeas Subject: [RESEND PATCH 0/2] rpi: Copy eth PHY address from fw DT to loaded DT Date: Fri, 19 Aug 2022 10:56:44 +0200 Message-Id: <20220819085646.341575-1-antoine@karthanis.net> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 19 Aug 2022 16:06:11 +0200 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.6 at phobos.denx.de X-Virus-Status: Clean Sjoerd Simons submitted the original patch (0001) to carry over some firmware-provided properties into the loaded device tree. This did not fix an issue with Raspberry Pi 400 rev 1.1 boards which would not be able to find the ethernet PHY device at the address specified by the kernel device tree. Patch 0002 expands on Sjoerd's design to also carry over the real ethernet PHY address, enabling the kernel to find and enable a working ethernet on pi 400 rev 1.1 boards. Antoine Mazeas (2): rpi: Copy properties from firmware dtb to the loaded dtb rpi: Copy eth PHY address from fw DT to loaded DT board/raspberrypi/rpi/rpi.c | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) -- 2.37.2