From patchwork Tue Apr 16 15:26:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632057 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 2A49DC4345F for ; Tue, 16 Apr 2024 15:19:39 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=r4y155rqakGHJxmkijvm1y+BsO9tI2R4nO9YxLzhSD8=; b=f9Om+Zk00/sBa2TsvzDHO1leqK CKunMnWBHZxa5frYmq3pSH9UhqfEmNBrp8XOkkki5VUDTp9uhVuFYnO6izO2zVOEDJKAt6F5asLXd j2t3eyEQWwRfxINfnBdnYYk46eZq2ure/0r1Qul+rd3suaK4qL0klrI5x5z7pQa41Ep0PWEBfhUyX aOG7vnvfcBzezjcBU/rpnWNqm6To3IwVzTQcnGPwHgbcbBCSJLQyB23cYzMJE6s4klMn6QVQbl+Q4 Ips/7bQ8JExO9KjZiv/fkjU0IrYInnWkvsnMODcZk8tHgY+MgdZ84HbDMV69//j4iKDiqQu7Q2pSv sU1NSMNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkam-0000000CifM-0h30; Tue, 16 Apr 2024 15:19:28 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaV-0000000CiRD-11bt for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJYt0I5IPl6GtgvnLr8R1EmUyV+Due/+aq9Uvn+PMuZ6K94ZsHq1nDqpZ/LXg3HKRSkOy7BfO8e5o0tejN3COUnY+tJsC3jC4sUd/9pYkDF+ocbKoxJvZjtK/JUIzbfGb2mGwJExzFuK5RfEl4a8Gnq3OdpI8CQpjI9ym2wXyWgp93ZGWCv6XzA1Vf4DGVOh/l/jqBwUCmNK8Lig2P5EpSuvlQretQv3mOdkGJev4kD9KNMEMa4pF/zU3Y+MlqOod3RZhKRTt9jqYpwuwGYAAqYcaumlDp+/YpdwTw0bf2HVxWotMlLXlw5scnwZtgzhaXDXkYFp5EPQrNyXOjXX9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PPCXs3YT4FToZvDeU5ULKgKOGkSYbDX4qZUMPu4Sob8=; b=Iss81yyZcUm5AVyTDreb2KOrbfuGvIUARdtwKOLqGh9QPPp8h/fbfg8mfjfIixe9w223HdkvXzSvm1iqjc8TnHllq9jV9f+ZBUUKOhdtgkldYrLG4S4A7WyvrcNr5pWkg07V0iqgpF35JeXW6A0ygKaI0z4mQPAjwYSl2Aupw0oMtfmisontPtI2ZAnoQhqaQmDNge73Sr0iT5noekeG0yy+EkBBJ5UXh/eIXzYMSgX1ghD0lA4e9/s0e/29zyd1DBxNyVzH8N8FJmnYUffZrHq87uDZ+iQK78bywD1sy3wjAI/poPy4YP+hGksmSRGIQFKulOTDQKy3hKdi0OygNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PPCXs3YT4FToZvDeU5ULKgKOGkSYbDX4qZUMPu4Sob8=; b=hXZ3mtcW6O5HbibrVSh3odAVU4aJEif7vd9jNsaVx0Vhxt8ar6CuVwzo2chTrPWgL88UJo6cHppzX0g194jYE8ODssKcsrr3dK2dv0OiVetP2OIJThUkuBqpuOPzaCyAtGX/G6xlTgIqI3lDLG3CLwuJpGeKHXDB7DaF3itoJDc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:08 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:08 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:40 +0800 Subject: [PATCH 04/11] arm64: dts: imx93: add nvmem property for fec1 Message-Id: <20240416-imx93-dts-4-13-v1-4-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=954; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=JLTOuCLoI8j1TNY27GmZ1hdlZ+YhirB+Br5tAz7LGFY=; b=flOSy/Sh+thMPSgc4Q+nyGRzEOAMeUdq16KGeyaWOKD+6K0fd/4YGm/0Wjwn5e7vIlmjFHeRg Mzh6GzU9xGLC/gYcVMBlAzzVea4iza+2H9HrsaP+EhcHkliyg2Gcmf2 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 19d92526-734c-4055-122b-08dc5e288fe9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dt0Z92JoMxfZwL4TYkaZSCIInccDQAb9kBo7CquUQ89lKcEi854ofYIzHpRBKllU3KQHEx3PSGfTd/3FwH4AOk0kYs4lb/SBTdBvmj/NIGXHQJg6M/LBvwdKyQIfetRsQMTwy4ROqCxqVnlNTrMRvVe/mHv8CVnXU1dOtZ9BmEuP+HHmkAaNwiTFt1Pz4zkYsdTt6vLOTrey5Nr8PVQRem0lPyHhlmLo4fgAfOT8SwFjb2pUoIkFTAdhgDLyk+yT3otrZ6z3g3WA0ayDHGuqsuesesLX2ht26rWAPEfwS09MewIn3pNZANjjdL9rDb+fkdHDy6n4EtLUbOz4XwlTkPQil/Gc5N0NzenOr1J+LE/cAkCcV+deAiQTjRHKjX5VTYnt+Qgy8ASgGf7O5yh6Kucuy1ghbqz0bOyWx3Ezg4f4wluisK5kLh8N+jMEARS8JinkR5KY/byNTq1A+DRIhoq/xcK9pOeJTRXz65NfNMEMGwAWDg5IsZP7TqUD73p8jiWaXS550nEofq2oRCvgsooykZv3YTVPAE2N1USS4V33W0vQl/wO9atWD7ftsBXx7o1/Rt3SVC2/Y/fjl2uNpCwgqjKdYSLCx9+zB9R8lG+cFuHv0/ZPmcZe7wZIhhKfjn7L14pnOV42dMgEl2Bp1dHzaf/+121w+anKA6kjcBH2W48wnHgQ2XcLeYvDbbJfg8jB6jKagUgZlmjj94dvkxcjtlcXOtVB1z0xJzaCyC0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1V1ap8w+oz4spNsbH9AvOK+i7Uog?= =?utf-8?q?Syczo88/I3UAANcOsyeI/LLt34aRZ74nOQyc3r021iV2dZQ8e6m3RCSxISRaSd4lv?= =?utf-8?q?2cTipHrwcNNynBWa94Xx6G1Ok9PrwPU4jTYXBSS2Lp5OOwvN0US9lbzyW74L7pTpg?= =?utf-8?q?volMUOsc19DL+egT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NHH1aVibT14LUR4wkx1b6kdcn6QeYuztAuHkQKUFWA?= =?utf-8?q?Hpex4PJjoJIu+PReLhEOI9rqNtMQRsvHZ1YlMGSxQNf64xgNdoqFnlxYFmiInMqA/?= =?utf-8?q?Wf6CKUk95Z0+Mvx+JDIvevQMHyNdmmuzmq78IJ56NwPDCVvvmRGi20cNzALqUMlM8?= =?utf-8?q?QTqRCq+D6DHF/t3LraFZl3mUybP38DI2X+2JUxk2lIGo2v7swREl6PDkSkOpr7gRF?= =?utf-8?q?Y2FOIzwOpdyTotHTyt4D345EtcYHcTKKzEVA/lzvKxYJituA/ULoGC4YhsLpue/Fi?= =?utf-8?q?d2oIbnw8S8A8CtmzH6IujeenaEpms+yP5q9wZ2398Dn5j1+GErPALOAenZQFzZaqa?= =?utf-8?q?ZJlJzKc2NtjImeekUgmvdbBb1abkjsGo0HtIqJFwcwJbvfqJrb/fzlQaB1hYekeFo?= =?utf-8?q?VzCrqTgdg+Uows7Q6VW5pqAJXZXMEvJH5y+OV6EQvDvSIDybt7Fj8kHnvLfB6GYs1?= =?utf-8?q?YATL08e41B9S?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19d92526-734c-4055-122b-08dc5e288fe9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:08.7052 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: I/II/OH8CcAohLB6d1BkN+RBMQY5omDpJOfUeVhoDnzIpt8RAShF9Z4r2RezxfcP2e0uBpbxyc2zjdqR7Up1hQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081911_501979_F81DC815 X-CRM114-Status: UNSURE ( 8.21 ) 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 From: Peng Fan Add nvmem property for fec1 to get mac address. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 1c5e2049a37a..b09014b9a719 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1067,6 +1067,8 @@ fec: ethernet@42890000 { fsl,num-tx-queues = <3>; fsl,num-rx-queues = <3>; fsl,stop-mode = <&wakeupmix_gpr 0x0c 1>; + nvmem-cells = <ð_mac1>; + nvmem-cell-names = "mac-address"; status = "disabled"; }; @@ -1176,6 +1178,11 @@ ocotp: efuse@47510000 { reg = <0x47510000 0x10000>; #address-cells = <1>; #size-cells = <1>; + + eth_mac1: mac-address@4ec { + reg = <0x4ec 0x6>; + }; + }; s4muap: mailbox@47520000 {