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 0C485C4332F for ; Tue, 20 Dec 2022 15:22:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C1788540B; Tue, 20 Dec 2022 16:22:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="MxAmrhJY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB7C3852F8; Tue, 20 Dec 2022 16:21:55 +0100 (CET) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) (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 D91B68530E for ; Tue, 20 Dec 2022 16:21:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjoerd@collabora.com Received: from beast.luon.net (simons.connected.by.freedominter.net [45.83.240.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 743006602CAA; Tue, 20 Dec 2022 15:21:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671549712; bh=poxWIPbOLqxH353UwJZ/17+6paDuTPvkI9aDJofb40U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MxAmrhJYnrOfKiV9v8HWRBakA3grQGyw+wjXGZsCIIcEXnPw/v3sU1isrBGesByLn mYJejKerj+Z+mrLn1aqvOm8iDoZphD9ziksWXLqlpVpH+hxWXvTg/+bZoNOKkCipMX S9jOhoeHDZotIQ12ynSfEagtaWX7LXteeNpO7SSbkE3pvu+D6vUDilJ176/T+lmjC8 6g/KG/kXFJC4SWTY1/ijEsK0Y882vrbzJYM85KiNx+whOW1t5/jAWUn/bROiapKERb SUtTs0RHpRQ29gZdHTfDHeDLA/cR4FdbnM/RMc7Zx/XGzidVl7skIPize+pvTmo0a1 pinTQ2sh0pgRw== Received: by beast.luon.net (Postfix, from userid 1000) id CABA75E83D82; Tue, 20 Dec 2022 16:21:49 +0100 (CET) From: Sjoerd Simons To: u-boot@lists.denx.de Cc: Martyn Welch , Aswath Govindraju , Dhruva Gole , Georgi Vlaev , Nishanth Menon , Tom Rini , Vignesh Raghavendra Subject: [PATCH v2 3/4] arm: dts: k3-am625-sk: Enable first ethernet port Date: Tue, 20 Dec 2022 16:21:45 +0100 Message-Id: <20221220152147.474360-4-sjoerd@collabora.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221220152147.474360-1-sjoerd@collabora.com> References: <20221220152147.474360-1-sjoerd@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The K3 am625 sk EVM has two ethernet ports; Enable the first one for usage in u-boot. Signed-off-by: Sjoerd Simons --- (no changes since v1) arch/arm/dts/k3-am625-sk-u-boot.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index 92788bae3e0..f275e3b46ca 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -126,3 +126,25 @@ }; }; }; + +&cpsw3g { + reg = <0x0 0x8000000 0x0 0x200000>, + <0x0 0x43000200 0x0 0x8>; + reg-names = "cpsw_nuss", "mac_efuse"; + /delete-property/ ranges; + u-boot,dm-spl; + + cpsw-phy-sel@04044 { + compatible = "ti,am64-phy-gmii-sel"; + reg = <0x0 0x00104044 0x0 0x8>; + u-boot,dm-spl; + }; +}; + +&cpsw_port1 { + u-boot,dm-spl; +}; + +&cpsw_port2 { + status = "disabled"; +}; -- 2.39.0