From patchwork Tue Jul 26 14:38:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12928751 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 4BAC3C43334 for ; Tue, 26 Jul 2022 06:46:49 +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=ahAMW0of0c/DS7ilulpTT7JdzcNXy3Det/upyTGRImc=; b=Tbrfmotpg/ma5T xhJk5j99YqbCk9eqQ4ZflrfyFPCW3wZ/e61F6pR4aENJmLtXoDv5RkFC5GzgQImatu/2/dvjoywxf kFbXgpoW+U2IGUx6/YTK/+QRcHBCGOUCV6Nx348gTcwd+uFLme1TvSpX+Tg3BpE+qCEH7fSDVax9x aofNKFM4vbL+npCiFSroAFQ8joRBbGlBBSAdKCSVa2eobedU0V65yGBA0zTCdR7dlsSlbvNv8AFll 3Ib7KvPRKrNPYUnqTfa95MUrxlRmEGPc6pFcLU9cNo8WhygDheiJjzHa8fIDmRCoPiekRjpvHt6z2 /p7PdDNo+ecN4kfgex3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEJz-008zU9-PI; Tue, 26 Jul 2022 06:45:36 +0000 Received: from mail-eopbgr70087.outbound.protection.outlook.com ([40.107.7.87] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEJx-008zQb-C3 for linux-arm-kernel@lists.infradead.org; Tue, 26 Jul 2022 06:45:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJuNhO364OBdVW4Vc+F3ztPFJ3KNlot0AJvxrjIT96M+28m4vp/tJZXDkxtSBIqK8faWc9BQdZlzM1HbnDURZXrDX9l5ruCzCJjAELZSbYxC0Hhz/N6QKdDo6ObP1uuPMzld/q1quTRuFmM93pHWxzpNua9WO0s4zfvPUN9ysloJf/X2cbpB9Ba8hlV42YKuHiruUV0Q7PLIrucRvY2PWUtOEQezy1ujWL8k6xbiRamEi9+AEiQT+jsZGjhftJpT5uVCyucCEYjE7fBXN708swzw2fbWfFn+pdAopI9pRVKWtlWxvxZ8OG/ZjFkELgf7LYQzcH1dt5Puq5Qc5NE/eA== 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=3hFtLGuRNRpY9azyFB5pS0/+1Gyo9DVFeZUg61gdaOw=; b=O3GfvUMUqJT+AQ1oeuOXOvZdlpiv/Pmni4QzXZB5q+lACLRvdfypWo47Yo/vWre+8ExOX1iU3fpBv1K0Lzo/69PoKpSAdw26I1DM3ot3xkdecFq2UjqYiYEvoU1nZ1PswtVt2EbZNi1HCm8YlLTFb9xf7YezIi9ZKp4PfFFVjZqgtloVvc4KE+bYwUWKS2A4rKrh7vAcutlasxky8y0W1UNBXciG9s/Oyzh3deGdwP99yQLhFxlDiY/uUjF8lCMBo7gYXhJcK8Y2pX8WiQt1CjfwQaJzkKKEnrG2KoYzZBs6Eq9Pwol/FPSO1+ZlfEy3gLoLKxlKyQe4aE7UgcsWUw== 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=3hFtLGuRNRpY9azyFB5pS0/+1Gyo9DVFeZUg61gdaOw=; b=f5xlC5WHgV4KuU5m8hPb2VOMi1EbBvgBjEp0xmfeMzVM3GawkWuCia1kyqQGETpFNFwvcYBa04/NURLAHY64NecTxaxic00yrGmi2Msnq+D0+yNbWeo7IvrrDgqRsQSlcQzl/AtVvVJHC42x7wLl5XGkXghePlfKwCw59UiGw/Y= 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 VI1PR04MB3247.eurprd04.prod.outlook.com (2603:10a6:802:8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Tue, 26 Jul 2022 06:45:25 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%8]) with mapi id 15.20.5458.024; Tue, 26 Jul 2022 06:45:25 +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 V4 1/3] dt-bindings: net: fsl,fec: Add i.MX8ULP FEC items Date: Wed, 27 Jul 2022 00:38:51 +1000 Message-Id: <20220726143853.23709-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220726143853.23709-1-wei.fang@nxp.com> References: <20220726143853.23709-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) 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: d720491e-f9aa-4fe3-8b02-08da6ed26b66 X-MS-TrafficTypeDiagnostic: VI1PR04MB3247:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AN++MtR7lUQ7/qBVS0wn1s13rj43dQf2+z7Zs395kKiy54rgpRo3p1NBQyaP+0xNE8EeKcNYrTkcI1fytKI0txrjLKvNjMCQ2tRBKCT3bBeGXUeuGj0hOUiPFeNIak493cTZEqMWE+3ALO6UaipfqkNoDFHXvsQ8saFNpjO/j/XUsJbmRxH59kcmjRPBH/nuuyqawOwr5+6toOoChjNs4rlNVfiUuIMEi8dCuw5++ah5oGqN8zO1lQVmjdIhlZ7ZthXhlQ5rbsfnxTVUG1vXdBg+BhEF0KLY83Ws+t+vZ55RAiiu/edvCTKdOrCkW08Q/Wds/YIkueVcYugEr5u0mbyc1t8HtBSC0v7xiNjZL7XgvlC9ltGIXBdaRHTiW3dcEOj7fxNSj0I4oDuTpRLGpwScRjsrUN00G9xCKk9U6Q+L7tpYcpvxfr8RsCxiPaG2SJ1sGr1cqW2H4cpEA4V1T9ofDI32IhE07W4lrYYOa1q8C62ac2aJXw6m1woc3ecYyTtglOOLjbB5Jm1vl1Z4GqwBK4sZ+VHTzG/vQZKuCSdu7Ei53sxXgTNa8gbcZ7O3OlrUJtzapaUEjdQ4zHi7zJasG7LAg0JbKP7P3KghYuxN3LeU3XGfUGMJGKVmKDkyl3oTQ9zWEfADmh3Tp9xWtcXwOryqAnCYDOwj6G4gykdc7yb4hA2GeovZPbtCCFoJaVY+5SHFOtrkwUDZomrSZ1lbTu5z+i9HWI+miAERV+VoAtbBPjtXgvm+4WmqIUrc44pAyF7KzJiPzNJ0MJ7hBRmoCt5nU6QWKre/p2bLyn4= 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)(396003)(366004)(136003)(39860400002)(346002)(376002)(36756003)(1076003)(186003)(86362001)(2616005)(2906002)(5660300002)(7416002)(4744005)(4326008)(38100700002)(8676002)(66946007)(66556008)(66476007)(38350700002)(8936002)(41300700001)(6666004)(316002)(6506007)(52116002)(9686003)(6512007)(26005)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sDcxj/h512BejOrDJWhJsPxQIlkEOYgQpPX5mrLY+BbQuS7Xa5PMOfvDG0+2xKwlQFjibm9LrkqGpP5smLziRG8LH4/NSt1g55Ng/KqK5JNADiIm/ErL4uW1wzNc+LtRZoHu9EOrQ0HpfbUMVC3KK6iqx5zpprLsV1eyFyzS1SjYCG6ZOLFwgA/BlWE1dEm67BojwPW/SORVeGve4NSx2m3QIRRNS0Crsz4TG4mQP1zaauqRKFRhG7+uNKdcS8Mj8KvRfvJsVIk52oJA2pXO3yOnGpMuuRsP170I1xDKLqGAxzA7Z4lDu8CFIK07qtUITTYrdbcpxivkMOB/GcQJ+TpR9Ly7uh4pQtIhK8KlRZ8HKrgGPbTLLs+ueveFub99DL9IHxXxk0vo1rXU5CGyFcianpJHGgUjd8hXbFyo5MaSDB4OmrH0/hF+4Bwge+HaiZRwkdy5QDtWMmF6fP3r3uuyAeinlHe2bhcHdXeTxBOd70xusV++Y0Hzv4TSG0NUAbgb9y7FtI38pYR/JH1tMgidDoFQDqguqsHUqLkbR02MxZd8kmc8zhwMtt6KIgB7VNjRzi0hVJUI8qKW4+gH96lWxpwmkj1nIF99TsV8gNUgXN9mJGMHyilfefcIPZ2njZ2ZvlSJTEgw4ascmMpn/HqqKUYQS4/f7wy2w5+1UkiU1Shj6c6sssEJ9KnQ07thnM69SLVCDgP2p9NQ0Rk1fgzgTu2AbLUEnaSxZrE4dOEzgfnCc00d1Mi8wURJVFyJ7Y2h/+NUD6idkZ4IX25nyWLErYWhXf6wyRYZP+QGwr2pwY1G+BYIYOV9HT1c5r9j1ESqNs9c0IgN2ujif6kWc0yJGtOfhPEblT7io0IaRUtg2UeST8cHB7wKtqlRMMzAzu/CIyA6qnAhgZVQLxB48hwD0IEOm3k36mJlyBRA5uhngOFK0/msMbXy3pbrkcYuWWfR/6ogQRCoswEI4BwPAvS8Ohh4F14Oiq7U4wR3R05Xn0EYq7IRdd9+nYNvNTclCfwGSja7WXD/WAnSeuL/rSpi/R42LkvFhQ/TJdzuXwbscJ3V/exV3WkDpGkSKuV+AmwkGThSM3qIPPMo6kHGkcrP2rHBMnTu1aRczvKyytpSyndYs8oktcyjgWHsD0x5PWgf94kd0lv+NuyaS75O/mFJweZ0TB2H3N/mSS2MeYdYQoU0PJf6mDkTUrMmAFGmYkxXNOKdPBey0vQFF+bTLlYJHO6fmuvaIK5ETMLa+K8Z5gf+vjsJJtAAqLGylKpYOMaOVjnUl4jDKvkW6AUU8sxcLNMxFMJt3q4hwODXsQ6EaE67WR8LQn1VxwBCrq6rIdoogesTs45tClCr2y2I7O7mS1/WWPLoGCL1mTyp7OU2+3e16RRatz11SJhEQM2RsB5hCveCvWMFUDyhqCArFr/GBFiC4JmKiGh47kfxRYh7X+yX1hWznhi+xNu35P2ODBH9wR04x+IgwK9phtLda1iTMGDuOVa34181/buZRFhAxL9seYAtKgthZoqXJYLtNncnHKa3wHOKQKWFQrC8fHYoEQf2DBI0bdXdmvG69EIRhAmda9pI3ygSmaP25rHp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d720491e-f9aa-4fe3-8b02-08da6ed26b66 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 06:45:25.3072 (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: vrZBiIa04Vo4VIjgMlDNbGLRV5609Z8RA4q+iYkplvGQmXYQ4nnKSgnYH18tyPcmS05cmITVaqebX3gvhms8bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_234533_444959_24B4904B X-CRM114-Status: UNSURE ( 8.68 ) 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 Acked-by: Krzysztof Kozlowski --- V2 change: Add fsl,imx6q-fec V3 change: No change. V4 change: Add Acked-by tag. --- 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 Tue Jul 26 14:38:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12928752 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 E61DFC43334 for ; Tue, 26 Jul 2022 06:46:59 +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=jqPbx2OODqvw1j/viECOIyBmGx1fKm1cTULyOEMznEo=; b=sFit8t4SJijZxz GUPs2O1kC85/zX6LOG9V5bsLqWwsLUdSM1xb8iRN0B1B1NY87kIvgb3PiFgMze0bduv+nzYYnB1c4 l4Sd3a5ifp9eojNweUoMFF9HsNrZgXnKABgQDKN5XydMUo3ZHsHjw5bNRnY2kAAST17RhPCpAfYVx GpFgAjCv/iSBwfB9d140Ll1GWknXtKPFFb/GAV1Soz1iIuNefusRh6UcT981KmBUFYpP5tlP43r1j ZA0SbLW+R4LHFLvGLVBGTYK6K1vBVOJIBk/6zvC5J+nZ0IgQYFduv9mlC2PD5RuUMvb7cMNyusiW9 PNF+ob02inYvosWP7Btg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEKG-008zbx-Dt; Tue, 26 Jul 2022 06:45:52 +0000 Received: from mail-eopbgr70077.outbound.protection.outlook.com ([40.107.7.77] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEKA-008zZf-Vb for linux-arm-kernel@lists.infradead.org; Tue, 26 Jul 2022 06:45:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XuoUOU/KhQUNT7McbMpciqRu1Ma0TDN5IRck3AojxJbaNbm7Ch6ix8YK+valPpLvJ03KyvdV7wgxNSJGhgp1TuPyzujNKMZ8ZYczX0JF9WF3Q2xKz+kGNjDdf3SpSuvvBEJ7Fgnw/Fq6NsVQUUxmyb4IaxfpMAxnyORb9BzGfUJdM4YuTsk356WXNmeZj94fkFjZjZZk4NehPH2EopjWI0QbT0vvkqo+QDwDxFXohxoPu6hW8H2rlhUEv3ct+dGAoU5UP9d+DbWTHt+0p5ZGxD2ArbjeTuXBpNmBXgPg2WlxCS0Xxwb0+WTpxWMwIdvGOasu/PE8DJWznVZMMfQkvw== 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=eRAwVmY9wygknB+nG7zm5fnssP02DCuG6DgRhkld35A=; b=LaBfnNTiA54zWoJLZOzTtz6AtOd2jn42yV5XBzUVuourz7SfC/i8mXEVg6Oebj6T8uD8sYBW+ZKXkbuYd0DcGBoEcINGfdvSKBO6Tg9drJ8GuI+3O82wFXTxGNIkeP3QB1zLFzrB7ZavOH8v8EU90+DVvkn+STWaZjrCXYBY7U9zCZCS+3yrtryqiJfKZ5eUZ/apYJjOt/BaXeda94uqn/FwAGJ1NmXOCvAUdhe+TnxpuD11DMK5khku1KETpI6HJpO5MeYuz8KlO0b3F7IDWlYERgWLG8EIERr+QF5GbF6y7zHo6l91NhlQ0CTPINEG2UEcbZJAw2Gu4BpERjP+eA== 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=eRAwVmY9wygknB+nG7zm5fnssP02DCuG6DgRhkld35A=; b=VflKyrUbm+Ool3M9/zCbsvsQU+khJ/az4f18nvtZv6aou+rrjVBfd+EqzcF/ceWDRyw+7YFx2aI/50iEUQK1VaLJ0MeyDXLwur5IYLWMFKerZAHOJ6Z9UOAk2wdcL+ppm6w9CRG1oHf6mo2BfcFlqJ1qxXHxKmTMy7opos8mx28= 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 VI1PR04MB3247.eurprd04.prod.outlook.com (2603:10a6:802:8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Tue, 26 Jul 2022 06:45:39 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%8]) with mapi id 15.20.5458.024; Tue, 26 Jul 2022 06:45:39 +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 V4 2/3] arm64: dts: imx8ulp: Add the fec support Date: Wed, 27 Jul 2022 00:38:52 +1000 Message-Id: <20220726143853.23709-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220726143853.23709-1-wei.fang@nxp.com> References: <20220726143853.23709-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) 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: 0724a80c-c02f-4654-f48e-08da6ed273ee X-MS-TrafficTypeDiagnostic: VI1PR04MB3247:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ftha6vmL/itk+QFeCiFH6JDXiD9PuJbAPAMKP8SmHns4C9ExBNQGhdL8SWFI7TbqYjEV1I0ApsjjuJ1HDzsQagqMp10OtO8TlUro85iNs8cHfLwlpjNWf1BFS9759iqCM1NqJ3MdZ4SkDgNzMNRa5SVFoeFwE1qeEKvSD4/6bIIth7XvGkhGGIA3EkZ/ntKcFbsTOKDkk16/pAYr+sSjinbl3WGi3OJtaXjIec1/dabp+DBXewdu3ttefed8MJhHSr8P334SXfdHWJ6IXV27DEUQT/kuWJW+QThki+T5mjCUtpvuoljKY5vkHWyTLJiw06lJYWcyIHeA9GnRQrn6dhnKEKsRiHaoOcyegUquDJBFff00Gxr+XuueSa1vOgRO+C+dBKOT/HJ+RUHCRmirEBHD3nUy0nEYjOG9vLbXcoDZDpUdPUTUDUF/qjRcEqdydMiaXiRAohd7RW5Oj0187TuVIHmol3/R1M9q1ISpm9uRSiOxBCso9JxP3HWv0FKSEFL0VudPOgviAorqqghvgM5efeKZhFTeT06Er+90TSAISpHwtyLlWI9ehqlr/3UnrbHTxELf6Jch35viqIpV4i1ps39K28WYuTNxOywdZHnWiqrf7MzEaYkzTS9jGOvZYtroJtQRG1QK1RefLSLBOOVbThDpXHK9IwG0KHS+vMB5q4YWNjGEKcs2jXFZ8mogpqEYhGUQ7/eelD7oh+q7JqWuTFsThYb9NOAxniOecRf4lyKXUuRkpriEHDKOZDmut+YB8OXYsguk3SdXR6xU7tYi/FqSjUEyxRDUY/WAst5WyBnekUhK78G7E1uSqdI6CT1IQqotNNRHH9y0ccxk9w== 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)(396003)(366004)(136003)(39860400002)(346002)(376002)(36756003)(1076003)(186003)(86362001)(2616005)(83380400001)(2906002)(5660300002)(7416002)(4326008)(38100700002)(8676002)(66946007)(66556008)(66476007)(38350700002)(8936002)(41300700001)(6666004)(316002)(6506007)(52116002)(9686003)(6512007)(26005)(6486002)(478600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2y5R7jvFFRLLSb5BBYhB9BauYOvhdnaUbcdapa30qfhkyf91bSpiuovOHmLrhQRplATUX5gl8fYJQGg1okNg1dihUZUeLdip0w2laJBOgR913g9r1+/EwzTsgGpe6SuWx1NSjJnr8whZTTmDCG6mI3Vp8OZW6QpZwfXRxz4+AfIg8FCsjeyQY7p/jQx0fT5thEUu+YZNKl1qLc4tfGzaqsZJz0TGCS8Dqx5wchbqcjrFmDd/adbDriBs/UfkiigFxtWLc3Gtj1puDhx9GXL6STbp/x7r884piBYXpR3/QXixMtScYkNyqi6bbYlRfJzIzxxdejIKHPO105erCUtUuufhRNjz/5K+/dGRIKelTbj2KQkZTDICCGG/z6fKxLPqVu9T8cUSj5GgVRZsLqnhzU/KE+gXslWdVDJtBEH5VWk57940GkwwJ9Jt8XAkZQ2/jtt1xkaENN1SeqGAMlQNiBHWO3DdNmE8PEZCtgbY5Xj/yhy+iCdYCw0Psvlyy9coy82hPp7WXjbB24ZMpBeFJokf9rjGCUSAM8za3VOM11tZ+txQ2oqlqaZo0Bvl5VzZFBsTsaCmER2+Uo8NSjdtojHqjKkq9XDTq9k3XaU5PBSeS/XfnZXadUYQMWjCr+ZrvDqSRr2PV4sIDQsVC+5w0WpxAie749IWlsVOjUvo1ibzZXs11Dft8+sQ9FweEOTH4rTtqGXarXemddTOMxDVElZGIFTntlhpwCQQHDAkUhrEEGNXyq2DUmf0HaduqrPDT+6Kyw0lhjcj9v1iAQXvUmQYzuNmi5uzD6CoyvrxZwJhUKeCR5a72hcpoIV11lI3hWy8aPYh0bwTZv6Tpg/99DF3WHx5vmNksV/VIOGZqkeJkJI+l+OXiKwAjDzks9/eUMWCVGM54nclMWA49HXabAkXPd7SDNo/auoPmwyXfbfu/3EY08RKBH/gSRBYA2rBR+vN4P/FqC9mEBaRfEdJ65Ai7Tekfg6fAmbCpZtWG8FD3iA7BOy4ffktUsY4wD1P7bdLCMxNnYuP5FRBeVOcHOd3Ma31Y5QK2OgslmIMiHD13InT/V9fGQujkinhkxm6SXAyuRLh5Er/2N3t16n0FhXMkGJL0bosAdfRqzW9/LBW0y3bk/Na5txyjAc258h0NytBdfe8A+pYjQWWsoiivYU617CNvqx1nXQ0AwLUUB9lYN703qzJA+XE7FbWYfwAsF2OgNWaZy1+G0AeoojHOPl3BbRCLMJiGORPYw3XhSQFVe+7vRJZTRsezf6/M65CgWsZrlyslOZ2js/1QyyPrlZMlZ3WmnrUvqQ6ScZ28fPF+VUHE1qf6xAMQ4azH2fjwaQOWZiYPEOCmMmGvL6raz8/JdPmmsKEx4ohVIxBmbTwDi43Syst+9uqpay2QRWImkWi2Rjkn9sCvep0kVw4/DzlNhd5LyezTLHdgvDP4VYreUG2LRqRN/IaWD4YtOvHNkA1DSxTH9T3GaeOVeRxtLorlU2thxOT3DjqS7pXxhEtfxI8wtMFeEz9KPO+8KFOhoEyhA+WtwMxJv8qxMU4dO9r1H3qpBEEjSf3MiJPgwSQanmxT/JNf6utC8OAor5a X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0724a80c-c02f-4654-f48e-08da6ed273ee X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 06:45:39.8116 (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: z7CcddovCXPRMGNytXKWKZEbdlzw313hwONr//3FI/0BRvgAOJu6T1n0zu6SttZ5YSQROkDgv4Rp3hfDybDLiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_234547_048180_64AFA848 X-CRM114-Status: UNSURE ( 9.79 ) 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. V4 Change: Add Reviewed-by tag. --- 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 Tue Jul 26 14:38:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12928753 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 D2DB8C433EF for ; Tue, 26 Jul 2022 06:47:31 +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=64JHvFbcqxtJpIFa2p3npXAbgYFkq7hicPqjap0oSSg=; b=EHuZshK1QlAlc6 eI9AqEvf3xuykiW1QmBB3KW1nNEE7vf5qu2YNSLSPidya3mW27NKBLVeud9jBR3qy4fTgOttd9p5F gzDxGBcMlv2fpMxH26CebnO3TrSzppWWxRGzcfb8pvswbHvMx4F4ACFqraWPuUf4waSrLyEuwPfzF iwIU8CJ6kk9aYSdaDeo/jGC4ItkiefTUg6gFlc1jwO57C0jLbxU+ZIjJxCphR4JYsnS0i+7tFXEK6 ZHBugJRbxkN92bZCSWAY1V0aNyJvEnb5yKTa2kN+2Ujz9twQDOUR5AWsyMSMMue/eJo6gh86Ox6K+ HUddMWjarQOr1uvRoYIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEKa-008znc-W1; Tue, 26 Jul 2022 06:46:14 +0000 Received: from mail-eopbgr70042.outbound.protection.outlook.com ([40.107.7.42] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGEKM-008zfB-4F for linux-arm-kernel@lists.infradead.org; Tue, 26 Jul 2022 06:45:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C9hLSui0PEkuw2YPb4Ydx9kEPKpIFfAt48wP/12yHLTaC+RjyJGAskQiBPdwL/OHVFGY3XxxlOUCidmSQDIGjacjO6US1LwudjmcyjGjo7cv5sP73SGsBMUWiahCXcpwAPJ/tjKXBTxttjJmOJ4pnAZeDKISm4Ult9j9TN7HUQU3qYije+5lLgDbGOpQM4LlEAKxIw5ij2Ou7FPazZTxXn+mFo0FgM6+4t50woOadI896SeUa9zfHyHacYOFGsYIC2+Pfj8hJnw+alI10Zwfz5KNWbLy/bRhmcGq7u7HGILxCWvP5KXLlE6pTd7yOQLwI1LSgD3LAfsmRVkqh9ZQnA== 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=FlXIpfRZB7DEn5CS+BDtMxj+y1o25GZe4aBuWpJ1QNQ=; b=dp1n88mP3Ou64ph0WEp/tO4ylzDrMCktYlqe+bVxEMXRsZw2Z9ezN13oDgblwqvjDrAYNDw9zxF3hIpzdaGS0TrPdkLi3hyGJEuTyevaBMiND+DMFX8FKZHMd6zeMT6zfO8dLfRW/ynUdhASd9TVHoEpY/qkKWEIpZ52TFIMrxCNV+U8V37S9iV6iaMHtSLIoVVU9LJ7Hxg9i0FU2W9n9NU4dzN8B1YW3lNfWYXS7anQU8UeJNDf/vebB+zgWWDzSgr+67BhEGTtc2AmvMKDgYuKUnL45W1FNntk9wOcDPO/zLvke/sbLBHoxZOmTDtAhSECFwpprmPjcERwjK2n7g== 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=FlXIpfRZB7DEn5CS+BDtMxj+y1o25GZe4aBuWpJ1QNQ=; b=FQxoQ3wEGFpAt/L+vUWcV4KUasTfsw8mcs+XAKvto1cRX8yNNYi+fPq3bZXpbuXGDAmnaLl5j56W9CDJASmhW8ZDNEWhcWNIZw49MdCFfY1FSlNkNY5H0whLT4fWweezuzlfLorBZoTX0HiguFY+AuxIKnPG2wV/xlW7y2S2Imw= 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 VI1PR04MB3247.eurprd04.prod.outlook.com (2603:10a6:802:8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Tue, 26 Jul 2022 06:45:53 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%8]) with mapi id 15.20.5458.024; Tue, 26 Jul 2022 06:45:53 +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 V4 3/3] arm64: dts: imx8ulp-evk: Add the fec support Date: Wed, 27 Jul 2022 00:38:53 +1000 Message-Id: <20220726143853.23709-4-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220726143853.23709-1-wei.fang@nxp.com> References: <20220726143853.23709-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) 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: 84325a7a-18e6-4416-e694-08da6ed27c21 X-MS-TrafficTypeDiagnostic: VI1PR04MB3247:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f5lb0FggFwWOeQA+wYMG0ILGZLBf/ibSO+rQy+kC+HxaGBbZsx6zYlGs4xrIhUC/FmH0WeR44AHRM4euXcvspVALg3cJ6oPL1oAAOqq9g7lkRRm+IyeC+XuWahVk+y4MFrG9rmo+0PMAsoIk+62f+CMe3k264rpE6b1/LE6ZLJ2V8I328PhLkVpiVBUf5a7sKH6F8+M+LYI8BnRShdYa89KTwnIsLCisi3fA6HTONpOYj0EyA0AWOARtvaxcbUuSFvkgc8mPpV4EhUO6iIPK4vwKzPBxBLgykVR8WVU0hdP6FN31/ZU/qI+RUkmy/LxPMo5rjYIH27AlrA4XLQnskw232cfXVlLXygZnMTy0HdKHAGIQykDo3OwA5iqljjURMm94+vz7vd7ZjNWkei0+fo7AyEGJ1n2IYmgtzbayjOp22p/fQliDPgchPgbaUrrYqkYHbvO5wXF1dQmrItjhe2gJPyu67Qzz8urBwBl9T6EGitzXBQH3XHcGvdEXvt7d/ttrzzRXTqaHGNK/L2A/pLmwM/GtGm6lINXSd4OSsJ/AE9ZxmgprFgCOtbGuNreDN3OwLIJT1INkBGV8u7A3vezRjzjf2l1VYpwVoOQuYt2Bbg2Xxq+DvVBg/O6ImvnxJDHOm1H6YjFXCvelEQ50VL32b7ZgMP+Xdn+8kNxWXVqFdwZP3CPAMhxuWr5GxyAaL6MLe4aamyY0jT7P68whzPtaFQI7UhQ9Fq3rjpxJJmFuqoyfpCxWxER3bOxodPkQ+Q0LIQqQQaxecjZ63FyOcV1uC+czhYInBMrPTm2us7soQilm29C4IgKuFofcwltH 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)(396003)(366004)(136003)(39860400002)(346002)(376002)(36756003)(1076003)(186003)(86362001)(2616005)(83380400001)(2906002)(5660300002)(7416002)(4326008)(38100700002)(8676002)(66946007)(66556008)(66476007)(38350700002)(8936002)(41300700001)(316002)(6506007)(52116002)(9686003)(6512007)(26005)(6486002)(478600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hLlUKDKy7EJ53D8GjRGZpYuAEC8SBeElu2q7SB8egeiocqpqwQbyolaQC1lrnczoTmjSwmP57RFfl0KP8vNeszpIxm+QCzypNAd5tXx+YFQb5B4DBakamR5rYxqgw16/xLXXn1ufxSyUwj4cV7ItMeu4FlzDIcjZn8G4yZLchZlr+eMgB7Af58S077DZfy6cfJ3DASadpyoEL+KsXkJOLk+tGjt0UXgeN815eZKFj+hqzwgNFSwY1O6Qy3vK77wSPM/rpNHBhFwGGC6lhCRIDePF4B88/obfi6Sx0pLjWL5liOrA2uIh4o2ED7+4mRTyzn3IYDhyadDLotuQRu956GN3+m75Yt36udImYg2oubb7h1fu8Fs/9cLTDDBE5TS+PHNVx7QPqd6AdexPEFotNJDldyMV4jUxWDu1o++8XUc+vixgEmey++3758jeHEzeKhADcbK3vdyIEdXztoEtk0fmMtjNA0GUsYAcOrJg+lwLpDBxC7fJTFSNvV87Zkhh/mqnk7L34Cp0YB0oU3S59LXpz5NNrAV7pSAOJ7KXLdF10EPZ16ghNg9cfDzXp+AjWBddUKfBYV1lDxPGjHdNB5GAzhoNpkR+gxEPUlIz5BrOvupZzag3OyTMDxlzyT4EKXc5yEHwOgnObboDCvaXev0PL8us7xC3lvPre+TwQbvkrdMzjWLYLgh1WYbVis6TdrqPMXeP2t5LfEKYbIRQafKoDm18ronee9WBf0Wvf3mMNSWVkfBjnscq9KBAmqCy8Fsbwak9ltafL8REipdnkyTsbD7zlqlXyWZFsVjfoNc1Bce6BsPpwXPGz5jaCpyamHBYurMqqGCWH3l0J2Ovqcu0GTtzaJ378BmvZ8+7Z/FBY1igsnsuGYpTRrdLswX1cad0Z7KWEZ4bRZHQ4t5cwt/VPKoXDCXwQFqNpXOxGVHa2gvhdhDzFerKXrcQS394u3SVqSTIsVDmjT+AFfTj5TA2YF/CRH0D118+jnX0y/iLn5rIWT0zU52Sfu3gIKcsIaxN1jXOV8k/j5fhVT2zf5K4CneayTyv0z6Ws9PhFcxUwuSm1XNe9dwbAdtOjbmhlxG5fcVe+L3la7Oxb/5SlkWcbj88MXyvHaa1mLvijz5A1xey/INX8Xxni4VxZPPxan2IpbNUZeJTv573qWaT9lvHptkZy+H45TxBs/5/96kXwSCJ9p5KxbwCL9nwEVJfVddDAtuT/OVPspD4FWZsMC6AI4GNWdFRFJ6lV/ei435wERUm+pDgzzb4Yn6gLKhUsf30YCQPpYUQYrr5DXafQ4GDvX1UJ0pryIU4xxyYdYn9iYNRuZ1HqZkV3NobvF9kRZAf4ovdP8+IOvoxJP+ZZ0GVkada52AKniGrscLChBHsloxy/MWC9M550nOj3IZZIoZyOuCX6hw03GoA5tbloSQGC5YE4CwGa++oYkDm1ueqsnvS7viSOHXOhpEgjJyaGy7sZkCOrCfHNYeF/qxosNU5sP/P6dkCoz5btUolLGyjXvkrRFBWuSnHZ9uefrcpOJwGJXPWcGCz3usGJWagNvUYI3UsjVdy2MlMEvJQtE+DuP4Kj/jPtxU+Txt6XWy0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84325a7a-18e6-4416-e694-08da6ed27c21 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 06:45:53.2848 (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: Z02NgQ+FlQFzT8SMygi1KNUAvLVoHKgM/IvgjA31V06Tlk4fvp7iM33YqYcBXXJQr9csphOujgbEiit9m6r8aQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_234558_209114_85AE575F X-CRM114-Status: GOOD ( 10.93 ) 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. V4 change: Add ethernet-phy address "@1". --- 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..f1c6d933a17c 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@1 { + 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