From patchwork Tue Apr 16 15:26:41 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: 13632060 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 067C5C4345F for ; Tue, 16 Apr 2024 15:19: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: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=FixYqVOzxHe/O12Z95E3/0DbId3UqybBWCIBgCBdySM=; b=kjwPq48nH6vhYMmogQf9ysVri2 qvE97O1oEZ9j3XGowrP3dB8DLhuOGCV2uyUaMN2biagRoG4j8Hwiol021RN8Yo+kB4nbwS6VWmkkH L30tTcEj+VUMW5EbveOdNdwKQK/RBZ8SvZISdT5RMqMosTWcwpzN68wyMBJqUH47b51RhavELXnHT 4IXWsNTU73n7CkTEZeplaAcTBA1VcOmuSfEfmgOO29mqFFPsiDsX59DWfyITclYsyGhbYhZyz0IOO jSVvOMs/lbl6MpNGLaxJDDSpA+dXAmuy88tyHF/3neOiW1GPg+6edhyHggKoiSL+6zaBWYLo27URF hNFLyiFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkan-0000000CigK-1uC2; Tue, 16 Apr 2024 15:19:29 +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 1rwkaY-0000000CiRD-0YNR for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WVw37qgDFFz6c9e+jRu2HYn0lfS7R03JL6b+w/pYVxuQjlQzEaVKNXNGu6FRtxVPZShYhq0PE3uWMbfi1uGd5l98P9fnULBXtWIBsh9X1yI0+UvpXYX7uotfq1C7E2upQWCSfQqRn/IvFILzSre5U+op3TpRcoATIjG4IVTzkBG72/euojyr+kLu7fa7hBSTYN7gEKloFHVPbv8mz3K9fhQChaBnnNW74WoR4sGMVpBGPt6fJD7f9L96o3rj8vJNBolZP9MIo2jpazf1qT31LL2gEZ8Q0YxkiyY+QYjO1I+SkKbOrLlTSkchLKj77WaOqrT9HdTdGWBwxf0v+k26UA== 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=8CYpcLJaH5GZ6nn5K7B37bkO4JM0/2S0/2FuV4UqDvQ=; b=Jvh2EJMPvVVwD93UBPzVuugIw/shHUB/E7OZLGSoio9u8kD/YzVjr5qSLKey256jKEEoYJC0x1H1G9+LgG9rUmSeXt7uqPf7QzsD9BVO8OtRBnPO635rYopT6tNRTQyH4g0A2YOpGX6/SAr1lQ8Ec7bGUZeH+z2BLX69FR7oSLdB3eP2omcH421pOAKQktylDKqQnC4PZT8zRXXjT6n4hH6VOPftSjqD5FTnWkUHRlNIF8AWI69YXIBsgrndbTXWeNrUO3ZCUbMFnvbOUSS+wZnyzLyP9fQW7OUmEEctw+Pq004gNzZHJYmRYoOHGQ51/WAsfaJgA0uZ9izT6lJX4g== 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=8CYpcLJaH5GZ6nn5K7B37bkO4JM0/2S0/2FuV4UqDvQ=; b=FDRe+Ipe6cqh+keZHkWegv77gICDkp0X8IyljtLxuE/vpBXEnRmPc5JH51tGhcLAqRpTYBCWk/S58Y1EjOgQZz4J2d/+Jyf6QcbSEzgn29hIJVNwsVync15By/nhNFiuAML9hXJ9p/zEqKdN0uppQ7cvCIUBHQIbaScrwVvLTzc= 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:12 +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:12 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:41 +0800 Subject: [PATCH 05/11] arm64: dts: imx93: add nvmem property for eqos Message-Id: <20240416-imx93-dts-4-13-v1-5-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=922; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=FYexzw67Izd+aM6TWmuwzfi9yGy8drc70xRRExfgVok=; b=2wvhCPRwhBHDPNJrfsQI6Y6bXXRQVwsxvz3tBVTAn8pslfoAVp/AoDkOeWdBfeZXRzDWuyz3b CO5WNLl+w1EBGqnVRVc0HXHfWyA4+dBAYVD3ty66E1bKXOy5qvx6GmP 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: 6d47b71a-e7e7-45d4-94fe-08dc5e289230 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: 9XbCe9ixSlpc5+wDBXbhKHi7DNcouMNZpOFFBi2nLvFFc8vznjJNw/OmRVCWPDdfrCPC5KY78Vh3KgFH9VLz3Jsc3mzCUZ3rzmamP3txYfb24gsNJO3/HTgxU/1/tyiNgpv/EI/dTm72bKSyQW99DR+BKyktwJeEagEChX0yUm7l/sQkWGE5RhDBP2OVX4T7NtSSvMxJwBj30CHaYzHmtIWoYLyNoovDko6SGPd9nt2VYZHdlW/b0LUQFoXu8B3FDr+Zqnj10dewq6NZU2KJ19imun1kBYlNYTSH4YZZqdGTJyFxK+lq4TomDCErnOyuntxkPFCK/LkVQEsonQ90RSE19YDJ6ACVRxknWyGGvjYZFdFmkNpobSbUNC42eoJgtp32rsNOG7qT7xZWRH/ypqvvRsa5sCkulsmoto0LdGkH1uUgf5akNgtbA5IcPWGy9/dOGp2Log9z9/T/+rvEf0g1mnuFS6xeOlImEA6jbodXe7KUGyceR8QjNRbGtTdxl49gJt4/9BiUtCIYQjWz8p16A3aAboNM8IGd1aKMpEuH30OF8rrFhIkULyy1ilDkCViNNkJoiobsszsYPBByyXlhZQXIezxL1r5LnSd77+xYz2DNNxvFPR4LgQcu7j5vVVFkzUvl/M70Q4+hF+DY6bj32vB9BHlZH3D5hQm5wwipAR5ePdtfeLs9FfV/w/yNR6OAh3ekAgMfTj1Xz0mgzucAhUUnG4iNcu7Oznwqn4I= 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?Qv13/Sre0g4BkHQYfaCif+H777j6?= =?utf-8?q?H336eXRilhZiawi9TY2/19efrLYHnUtj7a9yxbB4vRx9Oqhv41yg+IbFO4p/sdNTm?= =?utf-8?q?hweiqNedI6EuXIy7ajhoq/7UjcH83f4c3u3YZea5yKh5jx/Yca/zYTfAs/bO+P7FH?= =?utf-8?q?ChiSkJpemxNCX+W93UymyBzuj7qbj9FLUmRDmhyaO1VL3q+tdr9A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3onQDFxtMDDhu4fCgtzYe3YW?= =?utf-8?q?MRvE1rVnF1VELoAgWCC30LGNYsZuTNqp+5rPWk5jkYGE+fMN/etjmjfWFplGn9lzf?= =?utf-8?q?K+FpH8DY6WQgdElBVeuW8lOaW9OikVA+84WfpWyzQO26KJEeW9uJ6jlZJISK5ckN2?= =?utf-8?q?90HrwHsNCIG8de6Ur1xlq5JgUQztsJsfbhAkDcf1WKslKsl3NimS6KAZp5ekd0CVZ?= =?utf-8?q?xVxhrB7a+Y2kSSid4WVL9dzABTLqM9YToo+jvfPFSImySOfLE9UpkwZ8B4C4KfO3Z?= =?utf-8?q?sKL35yy6QcC4SMP2/vDuwVDsH47guySgt2Ad+Qjzql6xUCNEHQOlFbO3EvEG6JBYx?= =?utf-8?q?1aO9MZ7W0Wf3yUQ0kayIBVkM8MOf+JLvvziOkXXgHreub7wZivgz2QzjhytmVsEkD?= =?utf-8?q?ZXqUlWE3Loq7bWUhd77ficgjxGNNYrrgDA9ZLWxpJmXWIL74BNPHEtijt+EOViZte?= =?utf-8?q?CWLd8h/BXb3C?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d47b71a-e7e7-45d4-94fe-08dc5e289230 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:12.5081 (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: yNAqYHaMg9iD0GELPP2D5PH4yuKv6Sy9k8gSmrORqNrhrvKa4SddpnMJI+oydHXtJRwMdTrx66kzogudof0CGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081914_552756_CD0C3176 X-CRM114-Status: UNSURE ( 8.52 ) 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 properties for eqos to get mac address. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index b09014b9a719..a83ac1bb1e41 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1091,6 +1091,8 @@ eqos: ethernet@428a0000 { assigned-clock-rates = <100000000>, <250000000>; intf_mode = <&wakeupmix_gpr 0x28>; snps,clk-csr = <0>; + nvmem-cells = <ð_mac2>; + nvmem-cell-names = "mac-address"; status = "disabled"; }; @@ -1183,6 +1185,10 @@ eth_mac1: mac-address@4ec { reg = <0x4ec 0x6>; }; + eth_mac2: mac-address@4f2 { + reg = <0x4f2 0x6>; + }; + }; s4muap: mailbox@47520000 {