From patchwork Fri Apr 19 03:37:00 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: 13635603 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 9D9F1C4345F for ; Fri, 19 Apr 2024 03:30:32 +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=XGyfUJCO+UEm7Ja6iyvJhBlvMWU274C1pDymjX1oUlg=; b=iooj4Qc0GtmBigvWtatKU0JyLK zPJVQZ5u9VtXg7RaD7sYgQ671ShHCxh1cc55dc/KCasnlgKHyCtTJAOnT3yx+suNRnAFGzxZe/XMp 5yzWgX9Oov6vpy2L4MuJHKvhsqNNNoc4ET505gb4PGgqUwZOG8TP6MJU0VmO5ME00qdYZBZKFRCbi ydHhH736lWJ8IXw1437KqgJ7gFMTz5ZfwlPaIU574dZsrTg5jEX8K62mbsva+8C5s2BzvnFMCx+n3 Lcc/lh26yx136pnEHMUGuDqwejZvgT0PmNRAEnNtADDi42N3FxLpxSjBXKONaE6NGJOb1bek5zb8E 2URcSwpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexD-00000004EJv-0FR2; Fri, 19 Apr 2024 03:30:23 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewU-00000004DlW-2vTP for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VpNPyw4vUoInzN0gE9urienPlz3agsLuDllxEbZLh2g79KmYzHGL42kod0E8g+wf12q8xfj6h2wO5PIOPwDtwKTP/mSh52jjYoAvHnEhvXVjPva4x26vKLqWByOIpdxXQcO47zUvq7lwEqI4F0FZ+0geFxDPRkBrAFcbBiksrV6JpEK2vvHg4QO64zK6bNuh76jTyP3pQ0POzKyXvhbYwR80D2Aqc9cFAFTr5hOaB/gS2BKeCQX2fFJr+4qFuf7Bq1vSK3m9sr9zOsiq/8gjYL1WGp9q2HBR92/NaNNeC+INznGmil9E62iNhruj1bi+qmJUn8HR79DQlFG2aG+yLA== 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=a2oYGnDaq5Px2nxpcyVWPQ2vj4ThoPvMYsN4wymC79A=; b=JZ9JSjS2Jn3f9mQ76p59UOJ2uwiCEFLDEEvpgIpIGYZEuX14UhIQO74/X42LtFuq5MZ/00c6qc8oo7ooDD8MzQTZxpK1huOh8mlFcy6dIMqlOLqbGlpbfMc/G2iQQB34m32jFha9jT7Dla50SYyZE7a4uykGyJl3bGZRdWMTR2DRSBtb07/67mFcbRajdO7qOYylQ0EXcNq+PZjQr3jOQCSU4sKsqD4bVi2NJ1jUlYaSCTc1ni6E5k8m0jV3QJaf/F+7VSTNIKaFIfw1zkog+nJcFPzdzdyqcUQTnWXGHrfzHUv8/RJCc6wMizgx6+DJIhsmSFDx9QBDwt7X8JxX3w== 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=a2oYGnDaq5Px2nxpcyVWPQ2vj4ThoPvMYsN4wymC79A=; b=F7ZGKrhiBR9fXUUDPKkcp6h4QfNuj2Hed+9dW/ZJYNyP+xfYFeXl0TJ9ur8OyaL4emHcMUfX642c7h5Z566byc27NwWtJJkOL7VC4bQWM2wz1tJidfPQBh+2saAoKe2OCVZkB8T4YijnWNGeDKTfNUPit3pcoE7s2kluL12zgTM= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:30 +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; Fri, 19 Apr 2024 03:29:30 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:00 +0800 Subject: [PATCH v2 05/12] arm64: dts: imx93: add nvmem property for fec1 Message-Id: <20240419-imx93-dts-4-13-v2-5-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=954; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=mlwccPXznhmzT7zlEU6EiK4d/4d7CrH5Ytxq9K3mDt4=; b=UKr1hNHrQ6EBxIv+gy9sgCyFo8PO6NF8edeo9PkBYC+W0yg3gDwfOujTAcJ2hA+My9i+p2bQ+ O3JsoHRUvGvDxukflYzJRfFRhVnxewG6hV/OwsZXUL2V1CaicnUefQx X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 787d9dc8-d6e0-4766-4b27-08dc6020ec46 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: LFQtT8+QtQll9YqmNecV4t86a8MEvX+zMRIyfZA6XQJdx3yR56JyFcH9vVNZYpYK72aTBcq76nxXQsKnyBXvqrgI2CFjwdCgEXRRwM3sgbNd1mg9v8yDKJvA/4HW3SzDNEpG7iIVJ2tvnD8M+DWZDr/xWKYWLnBy2MsWgc//WtXNrLHl2ttXZF54hp5DnNK9MAL6FtsqE9w4+8zZbQYu8A2T3oaqCWdLP4pbpyAI4h0dB3vVyMim9OGM5PIe/R/aup1Gd0ceicvb8kDJ+zd6EoRiptDDFDVbbiJBjNlIFsHEdPQ0pLymI2jv0H5GiYbWdD9D05swgbgstFCDWGS+J8HYzUx/O3Bk9QI2/r0K+5/lifg+m7c01YaPFAwoRApcUi4IkvOBrAJtn4RHlcDZv8/ghNWxYnHIK0VaEhSkKOMLb3BpfXO4uy74yXSDCevLVEjLa0NMN2N20in8O2zXrkXqQ5kmwaALF75vWeCatWtuJp9cHp0wsto1Fq2mZ8lzjeXQCT4HiAZFygsnlgqPsb2ZnJdni9oYproC3ps0hkvLbtaaWPmBscarxrYR0eeAYKuwcQ8V6CkOZPcu1SSq3xEWC8SG3+FLZEatyqHBBbS0p9LEuo6GOeOCjddCkS1jST5B8dPJCT8YG0OnSqqFBxzyvCbe0Kqwbhf2vuIwqU83RVXNcy7mF4gNijyam0MlY4cXVGirHXY32OwUxe3Fkp623ulGyHLUdk0xKj3iXHU= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?eh+Eoc1aKCk+iwB9FDpKnr2hQvVT?= =?utf-8?q?jWKfPHGrxxjlzLhwCijIbuEmL7GcIkQJ6yNopnsUrfWc3g5IozWFjAmb93BjCcmvG?= =?utf-8?q?7fiMQP/LOiTU7uSixnfeRCoIZNSirpKd3JcHixNWDuMogtva3Xk7hOoVShvTrLTvs?= =?utf-8?q?8E6JDEaW7W7UqhU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1e01hxYAR4KMoOVNZ4SpaAdtRtad8mTDTO9?= =?utf-8?q?mLOk+zoQaE6HW9OHHE4BsqbUbBaVeewzadPC9Tl3G+HKzTkq77FwHEGUbWzyGV49Q?= =?utf-8?q?2s1PyIhKV4kBd7V/8Pjlql4YnrImuSUF0Nsm+b4uaQLTjuAC9/Nrbl/G8nRZh8TWq?= =?utf-8?q?BogiQoKSUK/7nYufPEzDQlm3bQ3uledgmAa4gZPOGnHmWtTnSNUsxofieV9jjz8it?= =?utf-8?q?1diKQJTiXr849HGelVlxbRCxTenn0MTUMg4KHaaaSZLhxnWM/j6LRnJUsSdl4FukO?= =?utf-8?q?T/2pwXaciEJ0HztoLOlDhlGmmz56Daml9jvyJF2/VSI0yFJvtt4KVL9+xEmkK+MWv?= =?utf-8?q?YPTcZUr0g3PqjaMB7Wwtlv10DYwjp8CsUJ//cUnn4skJzmJEDNEmTPthN5gDiDqu5?= =?utf-8?q?KBuAmka9hiH+CXXw6O04mLYFISyZaXgljnFKC84dY50hwl79R5kxi7teFgcl/4Rzj?= =?utf-8?q?PAuNtNqEqpPv?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 787d9dc8-d6e0-4766-4b27-08dc6020ec46 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:29.9871 (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: Ys+mxUz00vrLDBHCKy8Z3zpuy/x46VtihYBZFXDzZCiXdXJl5Yh7fcx+eZz0y46AT53AsSk3cpm9pgvc7r83UA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202938_817794_1CDAADE6 X-CRM114-Status: UNSURE ( 8.47 ) 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 9a7cb59e2c7f..04d0b1c2ce02 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1068,6 +1068,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"; }; @@ -1177,6 +1179,11 @@ ocotp: efuse@47510000 { reg = <0x47510000 0x10000>; #address-cells = <1>; #size-cells = <1>; + + eth_mac1: mac-address@4ec { + reg = <0x4ec 0x6>; + }; + }; s4muap: mailbox@47520000 {