From patchwork Tue Apr 2 09:42:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Vadapalli X-Patchwork-Id: 13613606 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A96BCC6FD1F for ; Tue, 2 Apr 2024 09:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UesGpsSO+J6uOaxFmkxUgrag2nkLEWZ4St/j/yPv/aM=; b=yIUQqj34QC36Gq wAjZyiuWsx0cTy4IuV8WdUzvH+RYbrA5oS3z8X1fEPe27kp/9dbhKZ5Su5g1i5eECCG7wurTJIa4x s089W4geUwGJacIfh5UoqEjatHNfPqdDDF3V+stH7NQS8DDHVeW/VDrPn0GARv+2QXlQ0iX79XPt/ IFZbmNveZuepCx2rLaXCSnlwh0j3P1ZnCyh1Ynlq17fyf5RGqBLfafIOvIhzV1w6ogvy/M5bYdv1Z qOwNdFx3AM1jN7inlamtLVUDVgl3OHASuwgVeNRCd6N2+/41yKKXhlzI+Y/jtA5Uh+TFMfxeeeNA2 ICFkwrB6S85yM3QfD4zA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rraet-0000000AU0o-1VP1; Tue, 02 Apr 2024 09:42:23 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rraei-0000000ATxc-2FiN for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 09:42:20 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4329g5qH000711; Tue, 2 Apr 2024 04:42:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712050925; bh=RVJIRhf9OE48KjtfXlkMI0tiXSgGPZuuM6Be1NHhXkI=; h=From:To:CC:Subject:Date; b=ujZ4pXu0WdUgRJRDxhU/0S7gBoFr7OpS/JuODx811RTAFf33CpYlsNGPHCqdBXWvs 2loBiRFakF71xHLdnyT2VVeqdFdLnkPUmtgKIY1+3D1hAUVaokMIqdkq6lFYjTGSgc NcbaOuqNL0QDrthcVZeMBAkoHeNuWD6/KcrxhKx8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4329g5uH017960 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Apr 2024 04:42:05 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 2 Apr 2024 04:42:04 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE108.ent.ti.com (157.170.170.38) 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; Tue, 2 Apr 2024 04:42:05 -0500 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4329g1TE046392; Tue, 2 Apr 2024 04:42:02 -0500 From: Siddharth Vadapalli To: , , , , , CC: , , , , Subject: [PATCH] arm64: dts: ti: k3-am62p-main: use eFuse MAC Address for CPSW3G Port 1 Date: Tue, 2 Apr 2024 15:12:00 +0530 Message-ID: <20240402094200.4036076-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240402_024213_732025_747B8E3F X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Assign the MAC Address programmed in the eFuse registers as the default MAC Address for CPSW3G MAC Port 1. Utilize the "ti,syscon-efuse" device-tree property to do so. Signed-off-by: Siddharth Vadapalli --- This patch is based on linux-next tagged next-20240402. Regards, Siddharth. arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index 7337a9e13535..eb126f4a04dd 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -696,6 +696,7 @@ cpsw_port1: port@1 { label = "port1"; phys = <&phy_gmii_sel 1>; mac-address = [00 00 00 00 00 00]; + ti,syscon-efuse = <&wkup_conf 0x200>; }; cpsw_port2: port@2 {