Message ID | 20240131101441.1362409-3-c-vankar@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1788577dyb; Wed, 31 Jan 2024 02:15:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4nnG8WcJKa5h2jf9byUz1mtNqBf/O9B4FdVbF3yc9c5jHUsyRgy1u69ZluOBZpdrMgHLO X-Received: by 2002:a05:6402:1745:b0:55e:ef0b:e0a9 with SMTP id v5-20020a056402174500b0055eef0be0a9mr739510edx.36.1706696131962; Wed, 31 Jan 2024 02:15:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706696131; cv=pass; d=google.com; s=arc-20160816; b=oHpfAdvokaUxkm1HPwYrsiZfn0EVHgXdzW9Ew7iqNi4qgaoFOu6nLqfBlmzSuQbkNm YNNDsJggfQKZ6ozqXuAnBn+a2tc0Wo6t3/UDtOKpyZgqwic+1Vy0QKyMIngW3iuHJ0r0 NBwttgC4P+vVZxUI51HNzmLK2Jk2FQMXci/8HVNuf2eoDzpRvqiovoPCWoaiUuA7/8sc XR/snfiTyM/kqLPMOdCvLVrrzfHvvA6NBaZM5ta5BraT5hmNTVEmEojokiAoD0Fjpp6a UVexvYe+R5xq8pRFXP5UTpEs9wUzbsEiw05iTlt/M6Wx/w7pvagrVEGBAs0JT4Q3aybz LQ6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gx0uOPVMLK8j2rTRmqiR0p0caoGaUmIzhyugNe5BgM0=; fh=dmNbtve+/oeLGLFi/U1ooSTjB6N4q/GRqB0UI236OI8=; b=hXw/rcG854Npwi0jhgPek4J5o4BofQRfyt/JbFdKxzCKcXqmNkRv28fuHEuRkmd1q1 EFlYJdqFRAk6LCj6C/Y6ppC01YOgIsvdKdsZ0GeMBaevN4GwDacwA//vO7BRo/4E/7md Fv8h8+IyQevkYaQmHKVW5r+tz/s0OFEgTvPGtATsuaBc1ZrdCNaVaqK+1oivrqNB7uKQ reZ7cZIX+KxQQNvoKggxa8Gzo3m5fByfdrAJGYtnIv4iYVib7qt7y5uSc95OGM70FpHU bg4wrVjIQjkYla9dgK0wRAHT8M00haDDk5T+iN/R868pa1wM8sjbKSk7edSE/AyRVIIZ FZSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iAiPeekn; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCW5MZ3s3DjmRgxporUUhkBeLdnTw2LD3HDvO12p048Qgrcs9n+VrzHpGDA4RKX7SsRISPby8c5WEFbOv347+YLYTk51tA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s21-20020a50d495000000b0055f35fe53dasi1818618edi.137.2024.01.31.02.15.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:15:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iAiPeekn; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46185-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 92E021F29008 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 10:15:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0604B69DF6; Wed, 31 Jan 2024 10:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="iAiPeekn" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C32B76775E; Wed, 31 Jan 2024 10:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696098; cv=none; b=mtdTT6HRnUAe/QkeAO7VvtdVFVrA5jv0tXdPEr97TVVMK+BHghqVvtp1/6I0yJufgDsHUcXNOOC+8E5OdLe6tdP4W8JxGLpEJztBRJM6NEQ7vkbhRogaNnaLJu+pHYLiq8MyDZTFYfobC8ppExtDjO608KAnt0Os2gbmLe4Lj9E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696098; c=relaxed/simple; bh=IkroIMjgy+G5btOeuOvlYGekXmTMKjluqKOiathfD5U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IQsrvVN+RTLpug27Z0IDHSBht53LlMJoU0pYmAEkojTjS4i/es62oXKfvfXSrQMvsVoX1hmqfFD8K6bBQgGhWew7cKN9Tn0+Us1B7WKUuEf3hCMzJK5wZJBGxGqIUvXfz/4MekOaZ6qnZfPyo87ULjHvjauVTMQOjjTbmlUrZ3A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=iAiPeekn; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VAEm7Q055753; Wed, 31 Jan 2024 04:14:48 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706696088; bh=gx0uOPVMLK8j2rTRmqiR0p0caoGaUmIzhyugNe5BgM0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iAiPeeknL35yUYkeeJGXXbz3L+XoIaFQV6U51kWF5dmZPm3ttoARTKak+K2foutVQ iDXJgbQ6yWQuwEJN6oZwhx4D4bLXJF1xauTzEVJaubapYt87RKkA9a0eK++EG9dNcW aewiSlP7c1DkWJdQ3wRXEg7+qZusjnb2mC0ffo7M= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VAEmfC025166 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 04:14:48 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 31 Jan 2024 04:14:47 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 31 Jan 2024 04:14:47 -0600 Received: from localhost (chintan-thinkstation-p360-tower.dhcp.ti.com [172.24.227.220]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40VAElod110235; Wed, 31 Jan 2024 04:14:47 -0600 From: Chintan Vankar <c-vankar@ti.com> To: Andrew Davis <afd@ti.com>, Peter Rosin <peda@axentia.se>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Tero Kristo <kristo@kernel.org>, Vignesh Raghavendra <vigneshr@ti.com>, Nishanth Menon <nm@ti.com> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <srk@ti.com>, <s-vadapalli@ti.com>, <r-gunasekaran@ti.com>, <danishanwar@ti.com>, Chintan Vankar <c-vankar@ti.com> Subject: [PATCH v4 2/6] arm64: dts: ti: k3-j784s4: Add alias to MCU CPSW2G Date: Wed, 31 Jan 2024 15:44:37 +0530 Message-ID: <20240131101441.1362409-3-c-vankar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131101441.1362409-1-c-vankar@ti.com> References: <20240131101441.1362409-1-c-vankar@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789600602881256468 X-GMAIL-MSGID: 1789600602881256468 |
Series |
Add CPSW2G and CPSW9G nodes for J784S4
|
|
Commit Message
Chintan Vankar
Jan. 31, 2024, 10:14 a.m. UTC
Add alias for the MCU CPSW2G port to enable Linux to fetch MAC Address for the port directly from U-Boot. --- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 + 1 file changed, 1 insertion(+)
Comments
On 1/31/24 4:14 AM, Chintan Vankar wrote: > Add alias for the MCU CPSW2G port to enable Linux to fetch MAC Address > for the port directly from U-Boot. Could you explain *how* this alias allows Linux to fetch a MAC address from U-Boot? Sounds like we are doing something hacky here.. Why can't Linux fetch the MAC from efuses the same way U-Boot does, what happens if I don't use U-Boot to boot? Andrew > --- > arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts > index f34b92acc56d..b74f7d3025de 100644 > --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts > +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts > @@ -27,6 +27,7 @@ aliases { > mmc1 = &main_sdhci1; > i2c0 = &wkup_i2c0; > i2c3 = &main_i2c0; > + ethernet0 = &mcu_cpsw_port1; > }; > > memory@80000000 {
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index f34b92acc56d..b74f7d3025de 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -27,6 +27,7 @@ aliases { mmc1 = &main_sdhci1; i2c0 = &wkup_i2c0; i2c3 = &main_i2c0; + ethernet0 = &mcu_cpsw_port1; }; memory@80000000 {