From patchwork Mon Jul 18 14:22:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12920767 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 711ABCCA482 for ; Mon, 18 Jul 2022 06:30:48 +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:References:In-Reply-To: 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: List-Owner; bh=sgAkPM0a0LS6t+QRwI7QpSbW6VjfAnH3HyiuaoEHI+w=; b=dTpro5QEmhsukO NvYJPXItan+0lwO1+Gsuv9DzIu3bjMHoHt4IFD5EmNaRPuI8k+W15Q/5HU8IlzznyyJ+ykjgoGWny Kzw5vJmpFG2UQ8DiOllCjWeJ5EYNhhL0tmsv+oq1IsdzsgRABMcBN70nzc8ZUC080D+Ytvl+2yPvu jHB+SuOog4M8NSkEgkFo41dCHIANstKHfdPmmTFehPGYGUT5Qf9+O6dhdgmtiedUOBjbcQn6V+8E3 0+ZRQVuXXAfgrYb7TTCjK0UosKINmcx6ysvCPDTmtUqtQLxmjoudpw6KNg2xegfHlypLs7rbWlWtu mGMEyXwhBRiuGf1/qzqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKF6-00BCik-2A; Mon, 18 Jul 2022 06:28:32 +0000 Received: from mail-eopbgr80073.outbound.protection.outlook.com ([40.107.8.73] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKF1-00BCgA-FF for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 06:28:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CP3NbRej4vT7Gl/QGdltV0Ep4fvon1sS6TOrlOOKGJhGtU0o/ziGdb8HAYz1BS6HiLAShq/oyNArkcpHK1GumaWSFlV4DLLxXPImxVyc3JOPrJx199dGOmZDNLQao3++ylhPgOcgbjJ6BPySsH0qGnqg7fOXg3cGTbNYzZvg+NajGlrd80ppt18/DhOgMC3oWsKxM1vkxasV0djN40F2YfI3ZBuR5DEX2+0uV1l5l2I80Fc0HusF7lhdLdz9g4+JZ368ksy105lQ9gAv1iIUWigAKUfdJqAeIy2iAZewaZwmpXVOKZIgIsDhlSY+D1WACdb28iUzVQ8mgvjAEtmU6A== 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=mWodQCwtmR6m39POvQspnIAjFrg0jKRrIc/hOC9Ql/E=; b=AKnjN98muBQVYZ/FecbcgHWvQ5qfCASuMVlYfbKtqg2tUW5XANsCMMo75QIEC2Lbjr9+flKH/h2p6k+S96CQI1YXfdEjepL3pdG63uXAoMvLRnJgBWzRf1J3mOehoYNbk0t0jAH8PZ9qAZPPvSyYqlc+T5IoDGgFsDnuhmsEBqXv0ZKlFdP38ycIWXl+YePGJlZt8mWiUEvzcSkTQ6MRp1TXOdRnaLaaVblOMdi1giJvCZymKmVDRxPwuaTa7A7PBLWk2jSfc1TnVphSqOxtp48u3IV2FpcLB/VLvJnKQRqG8xDDAGocqchT4ti2TBzwQ9GRbC+fblk7UD/rZ7F50A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mWodQCwtmR6m39POvQspnIAjFrg0jKRrIc/hOC9Ql/E=; b=GnJvHeioQTVXAEzBLcRFVJ3cfeCSD9y/PT0z+/ukuB8F4cVuN5FEv55AO53oQ2AgL6pysmroZjlW7Z0/ELYHC4A3UDJj1L1L2H+DuBCTdx0a8iFdujTTMaRo9SNUZaaq8IwFx4fwE+q48rmKOPtgjMQbO7TNsAV+zD/0NbY4do0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) by AS8PR04MB7704.eurprd04.prod.outlook.com (2603:10a6:20b:296::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23; Mon, 18 Jul 2022 06:28:21 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%7]) with mapi id 15.20.5438.023; Mon, 18 Jul 2022 06:28:21 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com Subject: [PATCH V3 1/3] dt-bindings: net: fsl,fec: Add i.MX8ULP FEC items Date: Tue, 19 Jul 2022 00:22:55 +1000 Message-Id: <20220718142257.556248-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220718142257.556248-1-wei.fang@nxp.com> References: <20220718142257.556248-1-wei.fang@nxp.com> X-ClientProxiedBy: KL1PR01CA0118.apcprd01.prod.exchangelabs.com (2603:1096:820:3::34) To AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7d72ba7-c2b2-4311-dfe2-08da6886b5e6 X-MS-TrafficTypeDiagnostic: AS8PR04MB7704:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Pd3d0Rzfcl8rhI2n56ENDq1vC4QV7KrmzDRWAARn0kvOltleOiJkMf2gUhBjR20qSs75iJDp7uggZbanVIetsnYetQsUbwvbkaebqijAO6p3g4qhBbLvJgaWhYBG1V+8EexAne6U17nOtsD4KJqieeJFR6AL1+fb33LiDDYNg90HrwK58YIn0izGctCDh7uSwyPIB56ymHs+dvIQQPmK8G65TdGTahDLGSVST+y9ImPuRDe4S8P7Tx8ZDiSwZyGP9kdtKXy1l4cVCY9/dfrJSHcEEmv29hr1W4oNGJ5JwmKvd+VeabTKp+4dzME1szqAkWG/LHMKCLtcTsPDZDz8p/OjTh8MPWuUDNnkK+SMsDmtqyGZyFkBsbVFmloRjiT5iE3A1dLdVz16+pC2GOutvJbDskgwg85uWi5sJxDlbBg404guTWVL9QfNGNI69JIIHkjrrc6VMTPnEk7+GOhsbwSJIn7rXVuDaCggr24T+a7xmLeJ5bIOJjzRniprIJrHuhXsh1qpbyCtHy8Ppy6a/EyTU5r29D4K42ei4yFZFADPIaVs1YNctgqRvsGMMTOk/XePwd5DKKyHz5I4gZRxQkT20snlv2Lo9XYfq2qMUC8hFLDLvgLFDDkPDrDCq3IKNg3mgVE4C/SiY6kqaaj4MbilvuY515SqM+jmRv4aT05bzhLeAwcI1p5OEUnGFe4pRfcgw/4k+kFwlQVd4z4lYbVZ3T4kkb66Y0qVoHqO2KvgRsuQKr5FMtlBWLyU+xloYehy7mX/JV9G7dwvu3S8gt5OG8IKM5kervXUipZNOZJGM5r/wEXZz4B6sdwRB0H5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB9003.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(6512007)(4744005)(9686003)(186003)(26005)(41300700001)(6666004)(2906002)(86362001)(52116002)(6506007)(478600001)(1076003)(6486002)(7416002)(2616005)(5660300002)(8936002)(38100700002)(38350700002)(316002)(36756003)(66476007)(66556008)(66946007)(4326008)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5dlDuicB05sA+XAnyotoz19Ky7MRhDNMUAx4LukekM9iGqoldaYLEfEWUYkrOGlErUjqqzeadD3bwDj4Ppr+15cEA3dztkMhFOhHEciSvT+0HUcdFgp6Nq1c1ZDTiyIb+U05dqUUw1mOy2ptfefRFb4r7GVz6Tut1FgkLCgKPTrtBy3++rftrqQgvMyx5Qw5ZIGMxIKWi8mAZ8yEUOS2wv9oE1/kP8SHCTZi04TtXoJGJYDJQ9s7tNkE2F3AC5N2jT89SlpRUJ1aZEbP4JQexgM8Bb4jKijhEyzVb14h031tHekPuUURTo+JKtAHzQDQPiehU8sfj5Cz3ioDdDFA6utA2FZVBhLn57xqcdzJD+ncvaJcMKpGjfCVR3kQzSDQWecrFbdQpxImxtOOPJ2+Vj07wvnulYz0sEvVQtDMK8K0/S4xtyhWjN8kBNHZf4pYjf+4rtqn2NP3GGyps1KG+hs03FCIYntdeh4lv7SO4ah3fJQ8hwMzjDo0+QW4dFkgmHKSbn9IW+YRXKXgyXCweVMxiQN5EUwlfIOmmHooE0IcpK2/m0nQWlDx8CbrfYUQS4xibWv/KATqc+bbfKxi0MIR+xfLhUZCdbPLoALWfqOIwvEOb4IEhABNp3bSq7EbBJ5TXZnr7yRsWiTCC44FAyS1QGOHw1vO/T53zWjzPOP8upYqB5DjM7vrlyqHdwydgzM8YOXzmZ3IsiBuLgkIOUxG8nIxByCEWLxZekWq0Lca36Z8I06qozE5KPOjI/KSMV8z/ZId9itkC9cnAVj5QJwAkc+hmgi5CaCVft617O/SyBjrB3QPjPEarE4QqYw9Ae3CkVmY4MvdRkIIGJigRbYPbsA++uCa260vuCfrjqfdOKzpH/S6cQu+Wxnvf0jC5PfUI1DqsZVwiOCOor8tT8aypOB4CwYURiRoVvLuOGyvV7pzhKbM89vyDJagKLU1xORhMpWVnL/+INBTVAkppa/2XGUVVd1mtFialsJaG7rR+3efVcUBlQjgN+AJ9IFVZTa+pHZ4vRE12Nd50A/P7K9nz5uy5f2p1h9jtJzIw91uCTK88Rq4DRVahENlMjkAZTNt7w9iRE8mLZPkgE/HCAQUTBCjfRMkcD2I6RCgmhmxOAR3sHh8DcMAbCixvs5MSKwhdpCt/KjrDdAPCEv2YxZSjs6KPfxf2tSqbA/aYnIAEosGKIoJexmJ+dzab7lKLVFAKt+9BEsgMtHqDA1BIMpjW8HWr+nhqeoE0BWafgMKVqtqKKPQsNgUzDsUnKXUmQXGrKuC87JuHJRXn4EPDEt3pGj/n/BiATMoE0JYCFIz6sriJWqHI0Fp2zYfd2KfVTGn+t+BgsODkzS9TCWWMbqG3DVNvd0E4/W3XNdsxUbo+i93q7yBWaJMXeu2ybRFI7wKR5mupgV7EOPELIFxIOw89cif9BqvLmToyWzEBoD5aFqHGx03Ak1JvtjCSRBZbkgJbg1gA+875fIOVhTRh+CJ0UQTNZk6zfif51xx97Y1EO3m4HAAbsCBd0T0OgiWT9F1X6O3uX7V4b2kh8TKXWwYoAIF2BVzKyD4Yck1B8bEkiWW+/TCWDOODTeeTLCB X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7d72ba7-c2b2-4311-dfe2-08da6886b5e6 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2022 06:28:21.5871 (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: 67CdMOmwpFpOFuKASNR/jCwZwnxaTGeuv170QDIbpw96ak8zFb6hzJ6D5t45bed9cjiixArselwo77UKtTWvDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7704 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_232827_540335_422D1484 X-CRM114-Status: UNSURE ( 8.04 ) 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: Wei Fang Add fsl,imx8ulp-fec for i.MX8ULP platform. Signed-off-by: Wei Fang --- V2 change: Add fsl,imx6q-fec V3 change: No change. --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index daa2f79a294f..4d2454ade3b6 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -58,6 +58,11 @@ properties: - fsl,imx8qxp-fec - const: fsl,imx8qm-fec - const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec + - const: fsl,imx6q-fec reg: maxItems: 1 From patchwork Mon Jul 18 14:22:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12920766 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 3B82BC43334 for ; Mon, 18 Jul 2022 06:30:48 +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:References:In-Reply-To: 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: List-Owner; bh=5HdwhIzHPD/CXGHn8NKCB4wxPmnRPvNQo8lMUcXIw64=; b=ippUxqH36PtLzx fsg6hrodBs0EUhniHS7ZfjvGafSzxENCvx5nZg1QQEgX5ECx6EcJqEusZj6/8lpxbGw9/hAQb6p+q Aaf2PdPxjN/nnQNipQ+PMnPCH3YXObSvLsZfJk9xEjDGSneA8rMj5VR0O9nrC6zbj2RrgJqaczuTc l92+UVO95Mp8NqKUra7Dcjz2uJE/+T5Y+o3ts1ovpxG7YMcIjePmo7njZinZhsb8h9uXZFCmYe/UW XA204IJCUBbb4TeUuKY08U7qZA+oTybBnss3uKjv563gxgtRJr3+RGHMY8LTRKhsKigCRr5cJ2gGC Y2R3dlTt3pTfAnY24T6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKFH-00BCmX-Au; Mon, 18 Jul 2022 06:28:43 +0000 Received: from mail-am6eur05on2056.outbound.protection.outlook.com ([40.107.22.56] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKFC-00BCjr-3K for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 06:28:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JpjxP3v1CJWJHWyCjL81H8uKN3xoxLMsMoLyYabLqCHpQgQw3zZ9eP4VA7reVTFgcF2rJDKkeozOQaZU/3cVWggEzYCLHNQ6cskJIeqkQ+cO8Y0HrbiJTkaJUHJqYn6AOHjofekd6+n7u4dNxHlTt2W7+LVQAgK0ZDDbFXaCZfoHFitXq/FX7YiHj8XW+Hy8blz4MiQxZ6J2C/yT+APnmVQ//p2xH8CqUN0GWdl0j6hmev3jssjBPtxblMKqcLJa8WDuxSM2/rKaBkSuAeEbm7kdZPo+iHaCT6X661nL0X9Jc4BqdOghYwa7qa5dF48bDqR8l1EtvKHybae7W8czcg== 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=e32YoqYJUzntvyRkTnhTrXn8Pyy57SuHrjriNNp2l5A=; b=IIjp1TXnD2+LMrWrcFocvARij5ZsVRB9X0frQD1fXGE+XauVgTOv+87xdgVSyKRlX4Eq+gDouLKmHZPJF3H367XWnP9yAtBrnycS+3Z3L/VUuKUK7e9u+/nzQvfLIVdy+MSBs3r4gpXOnG0PwDt60r8xdIkd24Fnd0KW4qEIvGTTRwb339Kqu2u6/0N7LC/bQLHfKt225IoIGimM2Cld/Of1f+QDPfwWrFBeWeoD1I015qiw4MkQWSAOYaKJ7k+nwV/2PEQCp3+XeBY1itzUWLm7r7cqUkxoWMp8WJwjg3xE3JRxbzQ+x35Ig6++KIcOS0bbX7H1oBqSAKajjSx8zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e32YoqYJUzntvyRkTnhTrXn8Pyy57SuHrjriNNp2l5A=; b=s0kIaCLYQG84005J3flrEUfKTyt4DO45tmjf13ex7nyDlnoWMG0x1G4ywLwZ7QfecSXGwkLy5qvjubF3kFHksqbfxOODUUn/vjs4HN9tpIV4uJONOrUR5BjJf3zcpsTurhh0uXLtVdxXUMKGo4L3SD3FcaTk4CeeFucu5/P9UjA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) by AS8PR04MB7704.eurprd04.prod.outlook.com (2603:10a6:20b:296::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23; Mon, 18 Jul 2022 06:28:34 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%7]) with mapi id 15.20.5438.023; Mon, 18 Jul 2022 06:28:34 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com Subject: [PATCH V3 2/3] arm64: dts: imx8ulp: Add the fec support Date: Tue, 19 Jul 2022 00:22:56 +1000 Message-Id: <20220718142257.556248-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220718142257.556248-1-wei.fang@nxp.com> References: <20220718142257.556248-1-wei.fang@nxp.com> X-ClientProxiedBy: KL1PR01CA0118.apcprd01.prod.exchangelabs.com (2603:1096:820:3::34) To AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e340b059-683b-42c8-bce1-08da6886bd4e X-MS-TrafficTypeDiagnostic: AS8PR04MB7704:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eVBgl7C8j4Gx3tkfsjFSJY0IrsOvHghjjlFJEFF3SgX3pISc0325JHBLsShf/yKsivJxL7NcQd62DvxBNZF837xz/s8lSHgAb1Jb2Sja4JtKqLhTyvk3PjSdxizmFEO4xobje7zc2R1gxkD5FG0lP5A+Yv+p6JL6ff3NazSKIpxOo8LO8TqU6dRChKHHnQBvgRef0JBdmAeyn960z+VGCSrwUixwWDHDbAKylaE4ZmDYF/h9FZYlcTG3WPTpMIPkMpJcETTgMSO2VBTBk2HJc4J5wkrXTG761K7xJPc6PCAQfIj77zPJ/zY9AUbPwcXx5NCJ3Hul9koJUBABRJjLYMU+x18/hxtaTZsKtZd847ydGZrqTQv9mPu2F3CbanRtLjOKtYjhGODLWvaqJHnnAC0t/RuwHpLeqEOHAowPsQZaNllL7kzlZGqzrngwnb1Y81/EX9HcxpK9pRPLyYt6kDwTIIbh1uMUDRbE376CyaGjD7KhaY4QLCPmnHZ0X4AIotHXFQ6xSH1Ik2khaXmNeWQNQdOIARt/n8Jj9iIqqjfwHy+4LP3o5G1nLCmw4Gg2ydsiYORP1bYAdUAQTizj1QlYvTAWIW6aC7Fylwvb3JRzmuFaP4xzY4k8D2JBZuOeeNNqu5ebDxfm+Wi5swZNCMgmS9+sX28vxu44ILmRjnPsv2XydAfHlYDnfPKMADhM/NNEQUOi7ZfKINevipvt0YS+t5kz+X1bO8VIqQJnW013zc4Iv8CTQrgwJQywa12Gnp1RQkc6l2fb7/Sp+rTRre3rwuzA6ZNcW7M2Q+iPDSrRWQPlMlISQUYuK/hxG6xGdEfFTi2ABqjdG6XDrCXjJA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB9003.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(83380400001)(6512007)(9686003)(186003)(26005)(41300700001)(6666004)(2906002)(86362001)(52116002)(6506007)(478600001)(1076003)(6486002)(7416002)(2616005)(5660300002)(8936002)(38100700002)(38350700002)(316002)(36756003)(66476007)(66556008)(66946007)(4326008)(8676002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: stTw3IAe3DDULnZEe7AZYtTu6kbJYgjbbagB//TjEBpQ789DHSwmIsuSy/jxZ/DCMymFzHUnzYSOwfj89ez/UNih7lC3gOxmK8hRfctoHVWM3WVBB8zIIbzzwOr/4kz1FY5ZSDzvMJpK5uKtodlS586/aVjQkoj4GwtSuQCHD1JQI/ZNqwfxFGNaK8rJbaBV4YuUDcE2HidEH/R8iELRaLV5aBCO5X1ld0UrCzeUVBkTqja9aDmS/VArL5db4eVeoRiP+cpBeIX+e+3S7gcTsYHmUkpgC0WNLKcotceYlDLMQS9RAkwLC8WcmIQ7MJ5nVLKqWa2xeFSXqM2jePJdr/4d+u61d5tS3vcUfysLpVUj6JcgWGvQjXsLZ9GhUpFtHQHfYQboSnVHs6RK1A4upe5Ma1WaJrN3i2AN7Hhsq7SKRMT7qoRAYpxbOkCSeE5Jo0f4o6EprsxCAO/0D9oqdZ/ZnKITJa7rKbRqifquwh3OtGMEhJobALdOUrsXMjzMintzmuf8ejSE2pAK0khywPYXccRvXVModS2tYLhI5MMA8iEvM6yz+Oke1qZNYw+dSz61ZH9+QKzMqGFaXof6PZLqeWSj8ElvoxampmH+De57HFfkwgo4A0TYGH4AP384xvoJ38XXZfhw9WytC5eloTQ8d/iLL3P/3yEut6hjEg9ahyHrM4YEtkQDfWLMv2zmst4ntS0h7J9inQTHdHKJ6hMVZVQgMaGOluKP6CjoeIjqekMK9zWX3zBA2m+mA/8mDTOBlXmlHz953LbP/8zazOe/2y8oILWI9gBEqolLZPj9544obscoQ9tEGDHFEJjcvzh+vNiQY6fmJIZKWOlIpwqM/DgUBA7o8K/mVZpne2iyyO8qKqktSAQRqkHmc5MU/R9D6QsXZrzDmOvJw9qpY5qvrfxUtDKh+enR0mLUw8PYpLIfBMwYrzwUlybXK9OrHk+8kwTQb1451JHYJnzohPUqCjhRbwg75c9zJxmkXiQjOPjJi6FZXDhZenEA7RCtOyB5+xbXrf0/KoNb80aZ25t78KtRNEL3LoznbB5EGhjO6cihMAl63pfgwctKpCenangQ80Nj8LnwC4liS1i6a1e2Y7G3U6MrClUaNO8mL5WTNJu5Ux9an+hCzexGxAmlwGLcLmvzaGMtKgnT/wzRX8d+poa2cQM7bKd2oVLcYdEuttc+GgIWosNnqoUZC9lj58ccKZL2fhQUxuAzpTkQHv/3tbKuMSPqXs4gRIApTL9wDlXmMLi29izCRzXtQBVjyrKYck6xVp4cNKXfSmgA5o1UtLk0Ki5Hyh0q7QCPDDGPMQQf6o8KLDKLgxDd1zGNelYVBqUpbJUv9T69pCy+22BrrS57WLr1h1n3Xht7iFzzgqGHxp4bkwKQ+9H8Ws/scaCLR44Bno5QOJ8nxZPCjS75nZ2gjEgfKQiRLuSue9GVVHXTHFcRzkgeFL9OFsFXHA5oK9X5xvDjsqS0XRrSuh5E6a5h1tfuEZia/mFHP60D8ewiXWMHWMfcXJY1IcFcBvp6a3zHisaDB5dgKHhR3URFIQlsgA4Yvqm+HVqwvdtyaQOlhH3irJ9NOukdZAof X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e340b059-683b-42c8-bce1-08da6886bd4e X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2022 06:28:34.1368 (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: NN1Km0nDdO85+mWkQzuqmcEHTLeysXDNhqApao5QxaDt2pWQjcYQUmMMamWjtyl3ueqIan5eRsJxm0IAFADnYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7704 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_232838_173084_F53C8F9E X-CRM114-Status: UNSURE ( 9.44 ) 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: Wei Fang Add the fec support on i.MX8ULP platforms. Signed-off-by: Wei Fang Reviewed-by: Ahmad Fatoum --- V2 change: Remove the external clocks which is related to specific board. V3 change: No change. --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 60c1b018bf03..3e8a1e4f0fc2 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -16,6 +16,7 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec; gpio0 = &gpiod; gpio1 = &gpioe; gpio2 = &gpiof; @@ -365,6 +366,16 @@ usdhc2: mmc@298f0000 { bus-width = <4>; status = "disabled"; }; + + fec: ethernet@29950000 { + compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; + reg = <0x29950000 0x10000>; + interrupts = ; + interrupt-names = "int0"; + fsl,num-tx-queues = <1>; + fsl,num-rx-queues = <1>; + status = "disabled"; + }; }; gpioe: gpio@2d000080 { From patchwork Mon Jul 18 14:22:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12920768 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 AE8ECC433EF for ; Mon, 18 Jul 2022 06:30:56 +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:References:In-Reply-To: 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: List-Owner; bh=t/F06oBZBwVDcFwZuqmTCqHjf6yjCJdCBeJh1LKFFDk=; b=4z7H7dj4/1oiV1 R0ZXQ/itgnhUAOtvv26cZ2OsTth0jxG9W+RtkexsaFRc17+mfTZs9iD70j60dOBoZQ0IyN9LUyprA snrIU6s7lWkaJJ5LMqahSku/rw8Dsg8Fag3vX/bat4udVNRvJpfhjzjrRcOU3VbmktmLBPKYkYYZJ fx3eTRPK9H5RtpunWAD3dLd6UQPmAF/EY/933ZuRGJYGE2pKAxKs1KPQusC10tissBt5lt+heFKMz xWuyYq0HMf8e3pgoj5MIUE86d0OfMGNSw0viHpyg9OadQ5+LnkYXEf/jeTYGC+9pHBWd66WJivd/s QJLWWSMOULKQg8yiF3eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKFV-00BCr1-VG; Mon, 18 Jul 2022 06:28:58 +0000 Received: from mail-eopbgr80085.outbound.protection.outlook.com ([40.107.8.85] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDKFN-00BCoF-TJ for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 06:28:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VLLJ45XzjC7xKrLUVLZEt7laxxgqOM0e1GlWHQH9yEmyJwTfVMkn5kbuhq23SAMkkwgnfcTEUpjEoVp9SADc4DEyk8fd+2o1HoSy+eeu+feYdSeHn6BQZ/PrpKwQiSpTNTQhE+iATtOEL1qz1JU+aRgwHVV0t3V67keJ0VePxlkVSTsqX8IivfYM0tEyOY1JcKZSDOe8mRK2Ruhw2enO8SP/366WQypE39/zEjwyrVOeoDS/2myDZsJ1XusGooxC8OqaoEnj1tnwzGdhmfqQGb5rn23K8ZgWPSbZED0NEXV5umcWhmjzuMhSIZD3my9rJ9mclfm3cqPjJXJDYyYjKg== 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=e4IXncNovrLGakf3be5yaE1SpheHnzX2L/AXMbVJIcQ=; b=d62Nklle80AD4n/AFQAAVAEYtDOr+1dfmkGbUnhjkyTKHpYM8CuT0lR/2679XSxAisb9GvdStXmccpCa9Hr7UAE2lLtoGP/TwLkNj8qI9dk3q0GnjOUNSv0QS8x/F76wEuHkeEvYgcP9xkWHwwt+oKPhUTPgWt8v59zjsf4n6L0VkYZYlK+nbFPg9SmPgz+zOjBMPq6MMolqBJ1fxhyXSyuRqvy7L8i1wQLddSQL1KBdj0nPNTN0UOEHifZi98E57P8396Ye9reHesEA6HOp1Xf1gnswqA9TsnnJw4SN/W/LlnW8sCqCnZeCs1HMrSo+w5NhMQznzARyyJKQR/vXbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e4IXncNovrLGakf3be5yaE1SpheHnzX2L/AXMbVJIcQ=; b=eOO1bCOO/pExLeC9Zlo9ZGm9P+RwTddXjYjLURXAcjjKBRNL7AK0NuX43n4Wl24XaYL7qWA5l1XhwfvlGeHh6gSGopkLTj5gzvSbQRAfeeCCzsOi23wAfx9dSUmgpB1tyhedU7gCKq6NfS4bE5Wp6xW1pmear/7WJSHFs6t/BcA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) by AS8PR04MB7704.eurprd04.prod.outlook.com (2603:10a6:20b:296::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23; Mon, 18 Jul 2022 06:28:45 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%7]) with mapi id 15.20.5438.023; Mon, 18 Jul 2022 06:28:45 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com Subject: [PATCH V3 3/3] arm64: dts: imx8ulp-evk: Add the fec support Date: Tue, 19 Jul 2022 00:22:57 +1000 Message-Id: <20220718142257.556248-4-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220718142257.556248-1-wei.fang@nxp.com> References: <20220718142257.556248-1-wei.fang@nxp.com> X-ClientProxiedBy: KL1PR01CA0118.apcprd01.prod.exchangelabs.com (2603:1096:820:3::34) To AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91549467-a2bc-4b49-cb50-08da6886c3e2 X-MS-TrafficTypeDiagnostic: AS8PR04MB7704:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uoIShGPo442fHHRQeTkxNzSjjdfoDhvlLJuXYxpEjAFV8MyYIkj1PSRSNEttN60yCWIvgib4qrSliHo/VUpdR/4R25y5dCtQQm/nlwCdnOrlLYXIhfTShtYCGO+AjpufkxmZaO/qsXqrzwsxjIRVHi2SfMUrmQcrEzJJCOkGHyuN10i/Ga8xs4Q5Zwxe8T3EJtkKdbXkVUlo5iPB+XR349N24tMNKiHzebR77A4woStjn6i1Ba8CMlgi3RwyqItwjXsQaavdglCrKd4BeSNBzSRmRtEcaJHi46/wnoLMt4EHCGtvfdAkUsLBTu8hTcuOxz25bDk2H+2BbiE/fhGUkr/oJrO2jmfg5RFXVGZ/aBxLnsk6y2u2EJ95D5UuYzGbWa4hMTQ2sF5p+CjhB8EEoy+7wyTn1S5rbXPA3+zJc9vz+PqalqXpDE3WSKXyhKhtEQsU6nT1HEHPvvHfWlpLJ5Iup6joI2pxm1ryqGefrsiJI/YPTsKetxTi0Q7R0+0SqQBNWjxni8jTLK/0bsvNV7kor/VyOcRewPt95l1WZjuAlzb1vNauYRjfQT2E6EQZIGIPsdWKZnXlBplKs0DcWpSfwpqiG7QEapVmLWBhc6iSuYSBSOpVCEDL+aNntzFLA4l8EEU1Yq+9QemMwtQbGfKF8fVrKfNxQTaDycg9+V/ALyXMwaf449Xp8RgTFWdrj5S2SXHc9bWznDM1HCOLvjvHu1BUnWMbI/XMubV41Ae56inb5UN90yJRTisuf6trd04U8aFNlG+dgJgCGF6VzOVjx8Dx3VC1nEahaVZIgYkj5FWGBd940uGAZ94wy72RJZ9+UCaQXDo613CIK8ot6w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB9003.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(83380400001)(6512007)(9686003)(186003)(26005)(41300700001)(6666004)(2906002)(86362001)(52116002)(6506007)(478600001)(1076003)(6486002)(7416002)(2616005)(5660300002)(8936002)(38100700002)(38350700002)(316002)(36756003)(66476007)(66556008)(66946007)(4326008)(8676002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DhOJc8lIMr10ZstRd/x6Xa1D1jbEn4msJObxeNkWbhM300ALL0x6LWlIRWh6+2r7wyDZu5VTJ2prwFOnc+Fqp0obzdpESUrTzWU7Q4Rt9LMaBETyxy3y5X6ZGHKNfI55z88yx2zS8nQ2HWqtVXodJBHSXh2FI1JgLJBVHti2y7vDj8kGMFa//dQeY93orBSKK6EIQDxcYK2ECiKAJKWuyjcFToBXo+MhjOPgiub1dOpfB8kg0o2WkrmLRTBB5RM5p9dK3BH8DEEvTtOeVgjnvDbb/ENLII5jGW5K63gWWLljVBGZTJS2iauopYx5nTLlo3p08eMPPk1hsR2vofr4lKjdb2l+o3BuIN5H5uweeZt4SA8n2ne+4lvYk2Tjz0gWRnJPa54X014DGz+48wU61lfqmTl7r1z95PJN/g63OmNzQ6G/c+eH/cKnogtkmafRfX5dM0EF63pN+ByztBCPmeQ4mXrY1zPsdfziHg7QfBiFUvkYlJH0fRJK3hV7N9BfKxB3bf3cmE4V7PNlYLQVV7LnkOgwZ1C8jS4PQkBOYEZO/qLk6/TqAoK6kvD6OdVCJRjD9XmwCiLehMf/HY9oEgw0ND/j8UcvsFPKXX+ZJLODXsS7VaGRhV/ofYURGDnoDxVWK1wWMyGNjCpZTXaZ1b6/2i92MvkQmJZh1i321viB3FznuO9jgZDd3V07B/kytCpXwNjFxFC3rwo4FR3rUYJh5yR/HQdenhaQWk1MlmGRNj55kFK18OFC4UK7z6A9kDyUhvd2ofZxnfiYNcHogjM4mbGpnicrdYl6jDIzjM9a5aNrxwGqFlG0YvqwfqwV6r8U+qRChEkoWrmiSfYePcxdFhYKS5/NPvRDSXOvQg+xPIMEW7hPVafTSireGqfbNiGh5G1WRf/wHyO+B3MVDLN4mvW7TaWjVO2wl6CY+nznKfH2Z3XFvIQPtQ3JG0XYHmHK5QBoSkU4CgW3jq9SdQD9uMqKXgqV5blqO3OWP4ialEFlTNmm7CO6Jiycphu4Z0Se1fxPTvkdDQA+tT/Mxf/dmpCrfQjllzhBCEwh4DGTMlou8BBWq/RU0yebmZnxwTyVKWRwb9OGILbE0UWUPzvGOd8zIphXH4+19Q1gx5sDqCFLohzUvKsY2s/oQXtjsqMOzdbJv+Ci5Cmi37HMyr4AiFDPlYy1nVkLaxxhHqYiucikF1n19rKLjzWHoC0usNBTH0HQ6qhAxM+ys7M3bflc2Uelz4jT1EAF/Xf0i9GsJkkoLXKxI6Y/BpLjZSGlKHgakFmTD1XygkJ9tMcYyzj3CNuezk4t9tssiPmWW2XmdptxfCpg8AtBsjVqVMjiFNgop4LfUewR7UCX4ccjn6w1I38FCQZmw1XREjOU8blklMXp3yOlzghzSDYaUchllLBwtMNLXyOdqTjovA05+2TTNJQIiiVeYpnqrglVySZv5kQyfADsMbDsWk756enGUVStiUz8fD6FE2MTDaiWoACIic98PLal8Vem6gyjfT1D+h5ynQWJPebZKogbIIPnvB9HmxOaztwrHCkJDo3AuRhKnigUHDDPnPjbZIYpwyzeCnBPHHvI4zoWjibFbEzo X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91549467-a2bc-4b49-cb50-08da6886c3e2 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2022 06:28:44.9391 (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: vMEen6m+jVDMmMdURzxeQ8FYnyBZMEOsHxJxtmCMb3E67YwZB3yDJLovVsaiKnU7FxXSlm1TNvSiByXkcK81yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7704 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_232849_977316_42D61B16 X-CRM114-Status: GOOD ( 10.47 ) 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: Wei Fang Enable the fec on i.MX8ULP EVK board. Signed-off-by: Wei Fang --- V2 change: Add clock_ext_rmii and clock_ext_ts. They are both related to EVK board. V3 change: No change. --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts index 33e84c4e9ed8..ebce716b10e6 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -19,6 +19,21 @@ memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0 0x80000000>; }; + + clock_ext_rmii: clock-ext-rmii { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + clock-output-names = "ext_rmii_clk"; + #clock-cells = <0>; + }; + + clock_ext_ts: clock-ext-ts { + compatible = "fixed-clock"; + /* External ts clock is 50MHZ from PHY on EVK board. */ + clock-frequency = <50000000>; + clock-output-names = "ext_ts_clk"; + #clock-cells = <0>; + }; }; &lpuart5 { @@ -38,7 +53,49 @@ &usdhc0 { status = "okay"; }; +&fec { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_enet>; + pinctrl-1 = <&pinctrl_enet>; + clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, + <&clock_ext_rmii>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; + assigned-clocks = <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>; + assigned-clock-parents = <&clock_ext_ts>; + phy-mode = "rmii"; + phy-handle = <ðphy>; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy { + reg = <1>; + micrel,led-mode = <1>; + }; + }; +}; + &iomuxc1 { + pinctrl_enet: enetgrp { + fsl,pins = < + MX8ULP_PAD_PTE15__ENET0_MDC 0x43 + MX8ULP_PAD_PTE14__ENET0_MDIO 0x43 + MX8ULP_PAD_PTE17__ENET0_RXER 0x43 + MX8ULP_PAD_PTE18__ENET0_CRS_DV 0x43 + MX8ULP_PAD_PTF1__ENET0_RXD0 0x43 + MX8ULP_PAD_PTE20__ENET0_RXD1 0x43 + MX8ULP_PAD_PTE16__ENET0_TXEN 0x43 + MX8ULP_PAD_PTE23__ENET0_TXD0 0x43 + MX8ULP_PAD_PTE22__ENET0_TXD1 0x43 + MX8ULP_PAD_PTE19__ENET0_REFCLK 0x43 + MX8ULP_PAD_PTF10__ENET0_1588_CLKIN 0x43 + >; + }; + pinctrl_lpuart5: lpuart5grp { fsl,pins = < MX8ULP_PAD_PTF14__LPUART5_TX 0x3