From patchwork Mon Jul 11 09:44:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 589573 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B3DEC43334 for ; Mon, 11 Jul 2022 01:49:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbiGKBtu (ORCPT ); Sun, 10 Jul 2022 21:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbiGKBtp (ORCPT ); Sun, 10 Jul 2022 21:49:45 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130078.outbound.protection.outlook.com [40.107.13.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FE8B175B9; Sun, 10 Jul 2022 18:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K7zAsvtj3w5F//UNH2fR6y22HEpHTRGdC6tzVigyT9ibEt1LD+8crhHEx9TwhWnbGT9l5w8WqZ9CCQ0WluU4jjGTxhRMaSp+TnUOxWzVAKX1vPTe2HKsY5rUkSDu6yVf/0Rvx9LwmHcFhQ7nqSCEN0NU3ef0mNrYIutVuqtWi31lkqdTUIOcVhosr0m9LoY3fk82MjMElhOvsTfQOhi4IMQ5IC1bhAUDZSB3BOAWbMoAcNdOOdJutIl/yZBh0Id0aczb2s1LIWe3ktAfSZHB5rxLwKO1x/PC4gCHP2B+HqAIfV7t+8uQD/s/r/zWu0qYT5YLoF12yBqSgpC0lRnaRw== 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=UgKlF6G8z+V+Pu2PgETKtXu0crrck6/9/jSV7dpvQKA=; b=Vard7RZWaYcyYw8QrgoJMCEBKqnODlxuekFU1Q8n7pkdGdiROIvNcutrOPkzzIc2Ms58E6tHD6w4eEu5V17UX/bGovoLx+UkmBojmxRFpRJxukEpzp5gaB3JB0/255vlPaY+FlKHK6mC+PlNJBZ5Sq4dYUCT2JrcUUZAVJjs/3/79FVjSAK+nhGMmaHeyG0nmHGNRSyvRcR19wTuJwoewWF3eRjfBjrS9hqDwFSHFS9pxIxXFTFvar43gP+fm4rxa5xoyvUnj7iOaUF0n/lJqmD/PJQf2anVinR7ZPP5VDh49KAyX4eO+LusocP+FwRVYiVmOF5LHiBBxlz4DOANaA== 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=UgKlF6G8z+V+Pu2PgETKtXu0crrck6/9/jSV7dpvQKA=; b=jeb74qeJSoFv0JP2bqrO03dh7nNbJ6TEgK5CDp1R52DFy9tQmPvzI2Gfj8bc/Gp8V2IgYIjczrLyvS/0Z7IOxHoViy6bR3sD9U+TEtTDmbu1LIAH1UrFpL6QFJqcFLVKt5eq8jhSAUjdxQ8zvt96vkzchreQkPo1Hi6hq8gb50w= 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 AM0PR04MB6673.eurprd04.prod.outlook.com (2603:10a6:208:16a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Mon, 11 Jul 2022 01:49:41 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::a9e6:66bf:9b6f:1573]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::a9e6:66bf:9b6f:1573%8]) with mapi id 15.20.5417.026; Mon, 11 Jul 2022 01:49:41 +0000 From: Wei Fang 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 V2 1/3] dt-bindings: net: fsl,fec: Add i.MX8ULP FEC items Date: Mon, 11 Jul 2022 19:44:32 +1000 Message-Id: <20220711094434.369377-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220711094434.369377-1-wei.fang@nxp.com> References: <20220711094434.369377-1-wei.fang@nxp.com> X-ClientProxiedBy: SG2PR04CA0169.apcprd04.prod.outlook.com (2603:1096:4::31) 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: 962011f8-658c-4231-8cac-08da62df9f1d X-MS-TrafficTypeDiagnostic: AM0PR04MB6673:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WoETVQVHpfu7hC5ynmtf086rpe8+LrKDMZ43aM88toovs/LpsfMAOpGKwp1bF9OTWYy/h6UKUN+mH/m20nsxHy9g+8sqoRtXMGF7B80acqUy4uJZKihE3vHRArdFTPFdgwhm7utZaWzyOzml113dALvVfg1JoCoN5z7qNjWcnJ3FX6DME7eUbbFh5sY/MHRQkrDcZsKaQ6A/DMVc5H4ooAa55U9dDuadiz1Te2f6LYPy58fxlZDiK4MP0ZYbv727g/EgLiEAmpA0WKnghCFEFKf+N2fIhjLGdSy+mnjLpwdpqWR5Ko7NunltGEQRQ3gSe0c1GUnjL9HIcQtLNjLXjdD8ECwEvAtU0/VpiTfbFBeHI5jOu/QifWar3wc6N7tBr72QUFnV3nL+CjEUfuFTSsyhKZz6MY6X3rX77Vz3p4/vt4U2gznOnpE5+Gvjt+I8Dn6dkOzn0a/1DQLQbddEVLCfIAAPTQaAQH8048fyaeG4vhmGFkQyGWAo8Em96Fq3jOMOB+CWQ6mn0CDdF75Okf7bK4KFYj77j0ClzRqHenBX0Zfl7iptJvdXca5npNg/0VJijbNzRqCkODufzh7Jz+lkKtrNsX7RMfOvhTxnIg3dKJ/C+ZdXaoWtKlPaCqwaw9mqqjQDvp3ymyFNeGWbfk54p6W1URH3liVRIelPeaT41F4+XMxvRpnauWU2UHaKAIEO7Sbi/1ggIJjBNv6iS354nkc90fVqAoN/ON2b/tMExLWWF74kJPzjHqy45uqdA/6kBCx7Z2sOSOk8FO0DJMukxOxSKyKio/o8SMFAqdhQwI4Y8eczr5TZJbUthpT1 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)(366004)(136003)(376002)(396003)(39860400002)(346002)(66946007)(66476007)(66556008)(6512007)(86362001)(8936002)(186003)(6666004)(8676002)(1076003)(4326008)(52116002)(6506007)(41300700001)(26005)(478600001)(6486002)(2616005)(38350700002)(316002)(38100700002)(2906002)(36756003)(44832011)(5660300002)(4744005)(7416002); DIR:OU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lVNZ+5+lyEuP+Gkbf65QWAU0lqkBxY733skvr+JzesMbzDpUyLxfD21ZqEFIEKK/XoVR0+tcW6Xg/uSgvG7TfU35bvq51d4AEN0cfFdEd5gdLHuvy1hwuesQyxnibM34mbJ5Unz4UqqyCTN+KHuVlBnM2+BDpQkSrqLGXTFjzRjaMk4fFPiFn74uyl9yevbKH9SGc0bcrjnFXy7xApgCkmud5+ow6QnrXptfwbXkrbNYj6xzZG4wgblAQs0lq4oGpoo9AH2fl4H/p+1/ouVcxWVkFF+Mtayrnc5hLN+V4AB0eTEFkw3Bk9Svzx6p520GaKGhwXS5vedPZrD8DrJD3wy68iWfSX1JoFqf27hxUITx21GlG8ZjOBIgrlXL8q4zLiE5RetUA9fAp+LHML3Q1kgYc8mwaIMHgWzU4B52xRB6QMZiCVXkNQi3j1GmhnF8an7Fmq08YHAJ4mZi60j1AAd9xOc4rbnwBrK2e88g6zRkZAk2z8gwJfacJHZgTnTKWBL4xnBwUAb4fKMHkycGNm31MSnQhOYnbhlwVNvNTU6x/1BKkzRtKoHVtDT64OuUC38Y67vDIFBS6 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 962011f8-658c-4231-8cac-08da62df9f1d X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2022 01:49:41.5745 (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: rKLCN9ENnlMNaQZjyLy2X6NXRRJZ0QjgR9TnIoIA6spwEWz+wZutycxt4snsI6ALJuoiX9dcA13lWGRXB0HrIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6673 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add fsl,imx8ulp-fec for i.MX8ULP platform. Signed-off-by: Wei Fang --- V2 change: Add fsl,imx6q-fec --- 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 11 09:44:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 589572 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A2E2C433EF for ; Mon, 11 Jul 2022 01:50:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbiGKBuM (ORCPT ); Sun, 10 Jul 2022 21:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbiGKBuG (ORCPT ); Sun, 10 Jul 2022 21:50:06 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130073.outbound.protection.outlook.com [40.107.13.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338CB17E3F; Sun, 10 Jul 2022 18:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=THUxVwWPLslXQs6xgHTp9M1+y+B59cSKlumQmE+9Lte3K9iSg7soPfyOLWz0tepuMu8k0aJoMyJEVkueNjIq17U7I0dDKCbKjVoE94sv+9bL5gorwlgomI+G//Bs0N1AUsIlRh/79rLyFEx2vyrJjLLdpStyOluaS0lbZrlNmfArnli9K2l7JIm60XGzhiuOc2rjl58hkOVUnMC+58OCV4WjchAWWSbRUVhT2FvUGwERIw8OIl0ZfuV4pnj9JySNMg2KQDBMrRHVMpDu9/OEl3Kcsf8yqV8X3l86xxwfJPjUSfS92MKlm/9g2ZThrbs3y2YfD1hlx7ScOlChxX73dA== 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=++vzzoHUBPEz0JcpnLfXgF8FkXFMzL3Qeb+EbxvQ0so=; b=GUo0k7rsYFxryCa7toqQWgdfuIwCcVbzwrTtigWnKbYmk1O8llhLPQm+2tiz/arw/jUsRCaU3lXd5WvzF8/Qn/Hz/b5Hf5v5PW2PTKL/vpC/UM3O64Df6y+e1k2WwC0nDsTl8WpS6rI7ffr4culmYlpvHElduQUU1TVUwGnXQFx0XQFANvHZm0/5R2J2dijM1K+SRMKPcqIJyQEpIeEtxROelGPmxGgafv02cHszijj4ZawturkNLPvL1Mgz4yEnIVM81mN4KX/JLxfkS3PD3VBNaF4EqoMzPgKiy+IQNVNh3rR/w9r0AkJ0XZdma2L3DvtUatVe01DlbF+XGomrtA== 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=++vzzoHUBPEz0JcpnLfXgF8FkXFMzL3Qeb+EbxvQ0so=; b=cJvKBT4I1AX1FyunyFpgViQYJElTj/GQscBjxcvZphFzTiv4zHtuzSECW+V9trEBdbs2WR1ROJR+qgB9vXlv4+gcfxCgVfGEeRcM+ggTUAfgGO0Nm0+xsM/f8RC/Z3cCD+LSzIz7EajUs3kNvjok3naeecJoB0qTgS50HWSoRic= 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 AM0PR04MB6673.eurprd04.prod.outlook.com (2603:10a6:208:16a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Mon, 11 Jul 2022 01:49:52 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::a9e6:66bf:9b6f:1573]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::a9e6:66bf:9b6f:1573%8]) with mapi id 15.20.5417.026; Mon, 11 Jul 2022 01:49:52 +0000 From: Wei Fang 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 V2 3/3] arm64: dts: imx8ulp-evk: Add the fec support Date: Mon, 11 Jul 2022 19:44:34 +1000 Message-Id: <20220711094434.369377-4-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220711094434.369377-1-wei.fang@nxp.com> References: <20220711094434.369377-1-wei.fang@nxp.com> X-ClientProxiedBy: SG2PR04CA0169.apcprd04.prod.outlook.com (2603:1096:4::31) 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: fcad9f76-6263-4bc4-530c-08da62dfa5bf X-MS-TrafficTypeDiagnostic: AM0PR04MB6673:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 50zlnbtipqRdHsr+xfEwagu3Ygw5RC/sxkN5/Qtt/Y2cFNLCFS2ed8ygWTtZfPmw7Qi9SxR1wx0B7g0Jai6AJFdfKpkr8ZdyJ+CVE3aM4SKqa0QEQBiUOc+of5KR4dYdrSktE2fiyQsVE1z1JUSYvovoTG/yZLfY/qAxNF+Ic87My5ISpyXqpX/h82Eplx02r2eF2Dpo6hdreo3lr6Aegk26o2dDmypBMt3WVx04ylypPnI4ywT0TFzalpnWkb5WHDuqYnl0DZdl+ABqnltXh2aQCVfVEGBN5KM33QKHSdG/ACQvv++ZL9crs3Zi+woWkPaIAQRUNYLAunLtzVwV+OEDCpvfllhIIx2HV5N5kglLOglpjCXgLFYlCoiqJG/+aKDI2GzV7C3cn68zPnOuwOD0lzzAHi/YOyBJ5X47OsJ0yfbfC7gV1eiP5sU8vUqMVLeXgo3wdllFGp3uOLBzYd7CVv+zLmMy/JrRvptUMqh3csR4BXTFfxIreCjT1TRXPfcVwJAndqFHL0I2JeBFw480W+0Ub4+2LLLwRkh8xPkEgxIPb7F4nS6zMzSDjMsgBU5rjjLAc7L2rWNOxzLr8J0Bk820YZt1rFa8f8asuDoHKFV+zR6KfLMv7LmaT7sxHd+iYsZtOGmheA7anc+ZacdTOJ+wOuq/A1HNJo7iDmnI1E78D9Gfj3fTpT3f/vwYPwR76OQU/l/hEnSAJrvb3RWOrqtlOUntKXjC/zaWyp6qFT1Znh67WbUWKz7BZgoYP7Jd3ZzB2uSUE4VlLF4xOriUiuw+RjW3560D+AWVM/rWg5xJS7D6Mq+KpZFlH7O80H/T8LWLLsvNIVaaMrIgPA== 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)(366004)(136003)(376002)(396003)(39860400002)(346002)(66946007)(66476007)(66556008)(6512007)(86362001)(8936002)(186003)(6666004)(8676002)(1076003)(4326008)(52116002)(6506007)(41300700001)(26005)(478600001)(6486002)(2616005)(38350700002)(316002)(38100700002)(2906002)(36756003)(44832011)(5660300002)(83380400001)(7416002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nzHfAQjKmaPTOkarn3yxup1SGWWGNL9dLTSZYZQl62xusICxCdjHzX8rXEXFvDhpkWt9Ag2PgFwg7w5wtTAGA55uSUbsXBGqZ8YVQUQzQosmZXc4CjH87TI+5bcd6mPNfdfT2Z+lQA+1+5/jAil3VLdH9mP1otBeJWONwCOQrSDwAWwzZeA2YtCpX7FsKP5LgDuXsNe/HG9UdjmDLITdp430JFXyoV9oe2jzPWlPssFyTIHjsQtw7o+9vmV0UOvZTKsrVxjeMe7lRpLBR6I4g8qfQ3HDO3erGtyLqp0DBIFUMMmmWeWHohoC3kVsgKBKnjBAUSVLyTqjhqp1QOkZVbFkyQNjBW7TnMLXgYmZUznUaM7l9PVctrXdRwyVW1qrAPuww/PDwRrMGVuuzcUbVR7JbK8/h1yQNXPc30mrJfkwkgNb9XjEaV0/jGZNfrwMpCX50r020hwAWU7tLpHEG0vFhF0p0X8wuXwlIIhqXcPf3t3V0l7vuhzGQdW4RnEQ4mJH8TU1a//SMlgahwoupzRTZ8cpNF+YV+8UPqGLHVA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enant-Network-Message-Id: fcad9f76-6263-4bc4-530c-08da62dfa5bf X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2022 01:49:52.6698 (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: CA41/KAYupzJXDQXdA+XdmbXBuxOSL/386j3Ik4vaRqNf/j0nfAvSwQ5hjAMAwCeDBSb4YY9MNAOcc+v5/67Xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6673 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. --- 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