From patchwork Fri Jan 13 03:33:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099697 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 8D15BC54EBE for ; Fri, 13 Jan 2023 03:36:01 +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=h++fQyIgMerHs1CnxagQO9xeUBT1LH2/2O2e6XySEAw=; b=ut/H0wjMiFzI2y 3Cib/y5i3XP13poQCHTClMzq8ckjLe7GDJKoG/QB0xWHguLb6M7U7n4PW5DkR9LZkdIFog0mph3VB Udbm3zD7goDEcLAw6dfOvIRBergz4rauBVif8Kffj6D5LpW0E6L4t83Ik/ATrsdNFSfKbldT7UCVb 2s381A28LNM13gcHr/0bYe6Lbg0Cq0SJzTh3JbUhDiB2PYrLONyUAZZ7d4+uzTkqNOwLQ4mpQcy2Z GmkYx/cRwURwYSxmILDifdcArj2/bU+atPCNyQvcmtM8vACm3TXu5O93mwS0gQVdbIia6VhGShqX6 BI5RUwqhRYjqjLD11arQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAq7-000GVQ-6O; Fri, 13 Jan 2023 03:34:48 +0000 Received: from mail-db8eur05on2083.outbound.protection.outlook.com ([40.107.20.83] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGApz-000GTP-Um for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:34:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bmL6EWnZOZSSS7dJCFKIDgBr3qthlvD+HxpD7/+UWAjrmdGsY6j16ss/kaP1N01L54rmsFQv10eO0jyKSFdLqxOAvFDz1twNj39VC540icpvXggtCjRIFehD8kYVQGChA61puzt7+g+wmtUVMaGUbIjj0Owwlq/+BcBX4MwOtaJibYTSLI1nzpjar5gIUkeTvoHAhQCB/QPjPkPwOM6ObBYVcnNkDBC1ka2UomRARTjDB3+faP+X1PtzftHfFdnDTjoaS1rfNCzzfR1Xzw1wSpdfhGifJDaOCLEHkx67dD0Cju7j+GbxWgPXd5YNUHcnmUpjhhLAqPHLLTsLZG5Glw== 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=WfwlIPzxhBo4FftP1VTgL6Pxax6cnJ5Xpjbk9za5f/4=; b=QM/cXS207HtKerzKaUKSTq/JUMe41w11pr2IXWUNV9RSa2QQN/e0Y773TEiCTWAhvNBZGyGVRjkvRVA3M+8OyutmwkVppj/eOTzPpVxMBqZI+TIYMoQBJll/+3x3ol+nqcLm0otfqQm36WSe+KDHr/fbctypSt+hlv2U+29zjOFEbStr+YZyb7hEmu08sCwHIK7RBjmGiFp6Su5sFOwd8NPzUOG/o1B90bTZsY5pAj2bBn/nJF3rGhWiy9QK0dOwb0SryUWl1Bu6DTNsoeruOqEIMG4l7N7u6kkMFz5Nt0aLR1w1LIO1M3n3x9FYBtq/KY85RmzqozUyy/GXhwS6lQ== 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=WfwlIPzxhBo4FftP1VTgL6Pxax6cnJ5Xpjbk9za5f/4=; b=myHOCtD/PQf3e3kxyDpuPeK1aZBDhGjX3J3+r1TPbw35XNbKjHwXGqTprvFkxKlm9AaHY+BiBoasUjp+0Q7khLIeEpHoENocnSSFoR15hUiBjI1O3o9qu52NZqrzR+VaU4BoZWfmdOK5ZuWC/RDSjyXMAoYLaIXh0bmGwpuhIaY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:34:36 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:34:36 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 1/7] net: stmmac: add imx93 platform support Date: Fri, 13 Jan 2023 11:33:41 +0800 Message-Id: <20230113033347.264135-2-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: a8f6d421-f85a-4018-2f49-08daf51717f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4RMFIewF9gCG60ud1eGc6u60wk9Nn+W2OgHHJsUY1xH2ixech+iNhwXxp1ygL1AExVY/AcGNtYadJpjmD/jkulwTK4wXLA+b+mvDcEXEBPzwZdqLl7AiI7MdFOEwYWngoVqmIaFpUjQs3QJZYUv4zjCfmy6g8RfRqKTIvdnGlv61R4+Vj0+lL25Cl1CLOGz9YQY+hGoSEml527zIR3/ECL0HtKjgbGnNAOYvb3RUyu8i/579azx0Ohk4b3/dmEtJDkeBh1lgqDCb4EPSEZLb8+JZIArddA5SA1/ihkpTK/kzBqRecYqCZbyH32D+19DCmq8SRAiem9vbRT8d/Zx/EK38+M7i4slWdRbwYMFZDaJxszFpFa6ppNdhNQvrFih/SHY8es0NxLxh2nrWsNXTPouKsE3mn3rdrXhL//9NjJS38TMK7tpo7Q/KEK0+aztqJl5JJqmarzzENOF5s4X8E36BGNEPQd9vu8+uFkx7HAkHtNSlgesxt4zjlhmv8ESVmi4EesrrM7SMIzueAn2Wo5f3rZFhuJaVPY/zSJtV42y2QXzGfA9rB6AhePNcYpsJ365Xb7LGjrecJhMNkViHLbFOHWQsrs+ACh7Vv0pOpnbQhvog7MgU9S1c2iv/f0Tn5h9hwFImaroU9i5jt46A/djtfVEZlhuUhoySfnJ6ooPdc8oNgJnzfsIU6QXKV8/A7F4KpzaQmyS8NmMBxzF4Fg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HzDTkk2ZRwXAVfOKtDGkDjUkB2eHB4gkEEPX/g/lrZ01SV6RobSy/LJEqwmcWvSdCU+eCV3KxlHrxQQHj8ppHJyhdUWx5yosvMBNVbB4JLzu/d+2m+fmi0HXKzMogusn83x1lIXkOoGzO/Pfxjqv0KudoL+hf+fowR4Q1ZaYl9+PFgltddewyVJXUTy9Gyi4bBIZW47RbcSznNyjOe2J2eHMHeKEHr9srRE8nYBVKY/Zdt4qi37kxG1vase9HKlpD633k3y0jmhwpAs0whUOP5+5gfg+X8Awx2k4xkCAYpglCRQ/9PlygujQM78AObs99BjAZfvV6LM0qJAd/L6bvz1Wzg+DAu9EGmjmK4aYNnHhLyZWLur3ep4DzE+8o4iI6fnpcp4DHwzKb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JHpwoeoM05JsOsq7Cjn74rTIDWT4YiUnGJJIqWe2NVgbWy3zS7yu/xHUZWngAcRoL21+qZDFjEvkGE457EiZdtX68LBXDmm4gYcuYf5GrhXrht14IDvTIUG5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a8f6d421-f85a-4018-2f49-08daf51717f2 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:34:36.4115 (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: y3c99ZvMjLuu17MO68m795ifGudu2sydDFjkOOlpGcGwmHA+NJV2hPGujlChPLEjc2ZFH56LAjWLTEntrYPXtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193440_017892_D27B7E94 X-CRM114-Status: GOOD ( 16.78 ) 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 Add imx93 platform support for dwmac-imx driver. Signed-off-by: Clark Wang Reviewed-by: Peng Fan --- V2 change: - change pr_debug() to dev_dbg() --- .../net/ethernet/stmicro/stmmac/dwmac-imx.c | 55 +++++++++++++++++-- 1 file changed, 50 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c index bd52fb7cf486..a7ea69d81c11 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c @@ -31,6 +31,12 @@ #define GPR_ENET_QOS_CLK_TX_CLK_SEL (0x1 << 20) #define GPR_ENET_QOS_RGMII_EN (0x1 << 21) +#define MX93_GPR_ENET_QOS_INTF_MODE_MASK GENMASK(3, 0) +#define MX93_GPR_ENET_QOS_INTF_SEL_MII (0x0 << 1) +#define MX93_GPR_ENET_QOS_INTF_SEL_RMII (0x4 << 1) +#define MX93_GPR_ENET_QOS_INTF_SEL_RGMII (0x1 << 1) +#define MX93_GPR_ENET_QOS_CLK_GEN_EN (0x1 << 0) + struct imx_dwmac_ops { u32 addr_width; bool mac_rgmii_txclk_auto_adj; @@ -90,6 +96,35 @@ imx8dxl_set_intf_mode(struct plat_stmmacenet_data *plat_dat) return ret; } +static int imx93_set_intf_mode(struct plat_stmmacenet_data *plat_dat) +{ + struct imx_priv_data *dwmac = plat_dat->bsp_priv; + int val; + + switch (plat_dat->interface) { + case PHY_INTERFACE_MODE_MII: + val = MX93_GPR_ENET_QOS_INTF_SEL_MII; + break; + case PHY_INTERFACE_MODE_RMII: + val = MX93_GPR_ENET_QOS_INTF_SEL_RMII; + break; + case PHY_INTERFACE_MODE_RGMII: + case PHY_INTERFACE_MODE_RGMII_ID: + case PHY_INTERFACE_MODE_RGMII_RXID: + case PHY_INTERFACE_MODE_RGMII_TXID: + val = MX93_GPR_ENET_QOS_INTF_SEL_RGMII; + break; + default: + dev_dbg(dwmac->dev, "imx dwmac doesn't support %d interface\n", + plat_dat->interface); + return -EINVAL; + } + + val |= MX93_GPR_ENET_QOS_CLK_GEN_EN; + return regmap_update_bits(dwmac->intf_regmap, dwmac->intf_reg_off, + MX93_GPR_ENET_QOS_INTF_MODE_MASK, val); +}; + static int imx_dwmac_clks_config(void *priv, bool enabled) { struct imx_priv_data *dwmac = priv; @@ -188,7 +223,9 @@ imx_dwmac_parse_dt(struct imx_priv_data *dwmac, struct device *dev) } dwmac->clk_mem = NULL; - if (of_machine_is_compatible("fsl,imx8dxl")) { + + if (of_machine_is_compatible("fsl,imx8dxl") || + of_machine_is_compatible("fsl,imx93")) { dwmac->clk_mem = devm_clk_get(dev, "mem"); if (IS_ERR(dwmac->clk_mem)) { dev_err(dev, "failed to get mem clock\n"); @@ -196,10 +233,11 @@ imx_dwmac_parse_dt(struct imx_priv_data *dwmac, struct device *dev) } } - if (of_machine_is_compatible("fsl,imx8mp")) { - /* Binding doc describes the property: - is required by i.MX8MP. - is optional for i.MX8DXL. + if (of_machine_is_compatible("fsl,imx8mp") || + of_machine_is_compatible("fsl,imx93")) { + /* Binding doc describes the propety: + * is required by i.MX8MP, i.MX93. + * is optinoal for i.MX8DXL. */ dwmac->intf_regmap = syscon_regmap_lookup_by_phandle(np, "intf_mode"); if (IS_ERR(dwmac->intf_regmap)) @@ -296,9 +334,16 @@ static struct imx_dwmac_ops imx8dxl_dwmac_data = { .set_intf_mode = imx8dxl_set_intf_mode, }; +static struct imx_dwmac_ops imx93_dwmac_data = { + .addr_width = 32, + .mac_rgmii_txclk_auto_adj = true, + .set_intf_mode = imx93_set_intf_mode, +}; + static const struct of_device_id imx_dwmac_match[] = { { .compatible = "nxp,imx8mp-dwmac-eqos", .data = &imx8mp_dwmac_data }, { .compatible = "nxp,imx8dxl-dwmac-eqos", .data = &imx8dxl_dwmac_data }, + { .compatible = "nxp,imx93-dwmac-eqos", .data = &imx93_dwmac_data }, { } }; MODULE_DEVICE_TABLE(of, imx_dwmac_match); From patchwork Fri Jan 13 03:33:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099698 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 5CC28C54EBD for ; Fri, 13 Jan 2023 03:36:08 +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=CR+uMmLSVeJzMkZhqdF2T0a89rN8fCASV3NYTHpQiV0=; b=pL6iMgSn2LiGSp epQsGldZ1yF15FV5c2kNqV+CJIxqfpLCYAuPdYldTAtUdhB7j9J9nmpxv+/IL1OgStcHQSFrxbnd+ HagHu6RM037vpY4VWwaac0yheDj9x0kIPrDG/bHzPWD+FNIuvmrwFSpkARD+JWaEgZBbBVVnAp/FM lnw//vuoQrbx13fbTFCBUUokdxjnp7KiVnp6avovO2XKcRtttYi5NQODmTjWgA4vNHz2jduA1xemj f0PvfD5TV9WXAOvpsoG9vZndXg8bwC2k0CGMjRPTw4wrmXySeehXj1BrDHFgqgh+IPUZCJ/RLa4QD zKAEljDMsYfCZl7s5Z1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqJ-000GYx-Py; Fri, 13 Jan 2023 03:35:00 +0000 Received: from mail-db8eur05on2049.outbound.protection.outlook.com ([40.107.20.49] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAq7-000GV6-IW for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:34:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJAg1xfA2DTd6pSMMSyzLXCVO55Vb+Nn6Nwd24DmQNwqOsHk+mk36bfD1roD5dx4/ZvHyOXY4pssOXiYy9y3Eu/ZECurhyUczYt88OxExOGs0XWQI7brVXHnzBQG2TXFHuAuVY9u1cllkuBVilDmMyq36sUT+gPs1U2C30wyAsSJPDR4XwIROPxgpp3++C4c2WvAm+h4vHSsVRpbgtnLH0MgpVxslKIVLMXr1fAXm7F5IfcAprXDJ5kBs4g6B/Z16TNEqfmC2xFDLGT9IiwxN0aI+zF8cVjGDCD9bT5/qFl6WUzPcHMecITNyYIjysewPPyD7nA3X+HfH0nW5DcKeA== 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=LWPRI+FCdMvbYDNzHaMASK8u+UbaJEbfJC8qyUl2utw=; b=Y9TQb/romd2QK18Frppwyxj28m5mW38ni6zAKTNlvaKlFDXZw5iReh2p7vv1DFiYi4/bQQlmoMb0nnVsdNSzh8mR5vGQPpo2d8XdSCTnArJWzFfavtpkdBvtJbd7gYw42FmgitJcv9wGqxA7q5PGJS0TPs049b0vYP4rbdWgj7MR/x8jzMyFzRkR06DZXO096biHLRQdAia6V1bbLM/613KZxqvzmEmx/yPtmk+rLSTuR+h4D6YeadiupXxn2HNSorhSOvJ8fUriSniOlhj0jPk4gTT8uDycrDqZ/nOQzkl8LwPYPV22WfJoU8VO6GV6xnePRCt1/fV1Y2YVCjT8iQ== 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=LWPRI+FCdMvbYDNzHaMASK8u+UbaJEbfJC8qyUl2utw=; b=AT+63c/AjZ1W35OTKYk/8OpeXIjfo/REBFk9VQGiabT5mlXhOvUiSa5DKPo+DqIq8N3B8j5CGlc+BGuvvBqXmPUaSr45BTvdG0+vcwmZv4/lx27KoZGw3Q5v6T+5Ij+Rnyhlhjl6nNT2ADOG3baFRFBPtMnn+j6KCkjCsOB7Udc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:34:44 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:34:44 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 2/7] dt-bindings: add mx93 description Date: Fri, 13 Jan 2023 11:33:42 +0800 Message-Id: <20230113033347.264135-3-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e163986-2d93-433c-805a-08daf5171c6a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BGvJQSv49rKoOO4aHpvROulIPlLGn0KIBLCKvXHqJIGtcMxYFGrf82+Kkq72HkaCaKX5R3BlMJ91z6o7ARNaICRvbauR/8SWl6jCyzQ+mBYRvD/rEPcSAfbJ/+E33iD9vQXTDR/hGu3qzFuPWSz5S39nsKk7kCZOYUOjmlygLisghSp0n2lMwzeKGlA/MOHME1Xmgzl0CyXefDXTNghGBEz3xpu2DqRA4JidONiDvD2mKuBWWw4sBr3yH6430M1Sgqqu74FkhTwTZ5ylLN7QosfrAm2HOYxJmdoUHhuyc6qR8QtwHuHD+i5KDWP8R242flK+uFYL0W1CeMboFcG3+mraazbW9a4Xvj+C9PCdTSWwp8bzXOxyA7tDoT6bZjcFf5UXonDL9r+aSCrKmiqfOlg67A3q+3/6caOy11M8d4vU+2nkWNu9KH1XCiKsuNOznTJnyOFKhYAQ5kfeWrWfXVCG8AoshbiuWovbPsmuh9F92RtWeYAuQ7+93jp4uP+Fv5VAOnnYIMI0mra2ICr4oEKd3JidNp8RBAVVgfExrCMtlbteUnSnQCB9m0Irdm63zU6zS8Y20tRtvqwiYS3tmXccEkDSJiEU5NxwzPtcDX8WMH/VxSleRU8DRz0tMDD4rUH+1obm/n9B522pTWyv4YCS0OhohIBUiLy25xQBNe5K1FBTiw8PlfgFf4pJFvQ9uOxyspc/LpDEPOPXKFSydV4TRMUIcwBoozcQRgi4b6PHm7l6uycoTCMYsijHe0yXH2i7qye8LFrfAoonfKxMSQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(966005)(478600001)(6486002)(36756003)(52116002)(38350700002)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: KdPkjwXXYM39vxe/jwMeLqIdKocbG0P5tJrpxCcLp4d8F3jo7vo7yVHUCGqH1bQRzC8Q6VECc8+4dzL119j2z8J0YvVsGgxzNMgbQa1GEn44KeMq+UGJGZ7PWDD8dhaLOLwyvTUiu2pcGv6yMSG0zDbKWSPMH9b6FHwFRTBPIWptLBPJ8x8OG0Z+bmpzgqWfqmK9b3G1Dvtd/vypSVsUFKKj3dxgMsJOA51ThSunzUrfrcWkoZt1ceQy+W8ZJGjQXK9yE8GAcy9n1hPC0S6pKaQeF5epacYkUQrdueVbRMKLwNVOcJcfZKJvWdqIec8NQBkayXmxIYVI1Ox2ZCS5Z/FhnRv6SYCQLP/vEg9HTiVteoM49qcg6Mml3xpnYMkCEtY/beF2wopSQvI6vAX3DVnhPFZM+nzdd8uhdlLGPqygJIi4ZGQlX2MeQ5o22YCnGtJlp9Lcm3J3HN+mluT6liyRcyZoC9yzAdLK7zpE1yr5ZXZf2pZS6CO2XjRWAXbFA1i653091tGF0Y/YM3majRENmhKI4T3vgB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CrossTenant-Network-Message-Id: 3e163986-2d93-433c-805a-08daf5171c6a X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:34:44.0515 (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: gGMJdDm5YbxyrVOGFNLAvHCJeaLVi+ECmPW7PsQ6PA4b488tVcZ9FF7jTvR6vk2/rGkEunDcqRwafDeWKfrUnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193449_465204_4861E725 X-CRM114-Status: GOOD ( 10.97 ) 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 Add mx93 compatible string for eqos driver. Signed-off-by: Clark Wang Acked-by: Krzysztof Kozlowski --- V2 no change. --- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml index 04df496af7e6..63409cbff5ad 100644 --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: NXP i.MX8 DWMAC glue layer +title: NXP i.MX8/9 DWMAC glue layer maintainers: - Clark Wang @@ -19,6 +19,7 @@ select: enum: - nxp,imx8mp-dwmac-eqos - nxp,imx8dxl-dwmac-eqos + - nxp,imx93-dwmac-eqos required: - compatible @@ -32,6 +33,7 @@ properties: - enum: - nxp,imx8mp-dwmac-eqos - nxp,imx8dxl-dwmac-eqos + - nxp,imx93-dwmac-eqos - const: snps,dwmac-5.10a clocks: From patchwork Fri Jan 13 03:33:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099699 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 0B1AAC54EBD for ; Fri, 13 Jan 2023 03:36:16 +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=VoXveSKj4iiZ2At8Xc3mkWiK3O00ZYS/dLKdEBuwmb8=; b=GvW/GYyP0VQr3Q 3X2oG1qKo/RlVPsLXxnNHf8e/v0yPXgTxP/hMdpXWQg54FxJST1FEfqqEKT1eCFPzaZIyz6VpGeiM hI5ZGaw6GV2bGLIDD8QYxp+/Gl7EpkIVWivkxlAwzU1tw77v34VbrqhCCRP747Vel2yuQfW3LfgEq fEuKk3c32I+0f/1uIY6ix69ubgZAz3heD8aBfa2S4PP3icKyMVTcxrIUMQpsXH+7tqZm/KSCPfOsi zSmLmYjXZKT5OgCTM5DcVgNQzTWL/lV1oFbWFJo+SEU9oJUJGd/YIWOekgph5fwrAeRmREs4TnJXn vkDJPhHZQaHVBP+61O6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqU-000Gbz-Fu; Fri, 13 Jan 2023 03:35:10 +0000 Received: from mail-db8eur05on2049.outbound.protection.outlook.com ([40.107.20.49] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqC-000GV6-Sr for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:34:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GXz7dLkXucPPQcmuPso4qK58kwft2X0Ui4ZaoCk9A2kJR0FZx0IKlqt4AguS0uh6rZZh4gIpfrE3sFoj2995u0IOPmXApMbN3etDVFn8vvVcCAkVdb33NJ6mZxgUfrKYsXyXDgr+U6+7U7kpL864DJgACHeibowkZ34WbHp2bqF58jCEdmuXqpNfkxjZyY/YTshkhMiWFoS/U+66QBuNhDKdaO/zxqJVSauvnzkhp/Sy/TqFhYPrb7YTgpxfcLT34gYd+/EWdTA19/v9LzuVe/eZydQBdLZuzbHghP7UyItJL1tbDCeKjN98gEd+o84xUdkoKYLMXPlXJTEPe5RXvQ== 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=XEtchS5dleUyXMBf13Gq5hhn8uF2x7J1NOLe8pdH3aU=; b=AKmrspXF/ieQaht0JPLSCnBYmYuA0mY1k95KnUqzpXncdsQJ0T9Rp1aXlqSOIxK/FYuW6pD/6Q8sPqczjL/5G0psF8ElPdf7cAJw6v5/YMlq2iXCW1zBJCc/WmvYFEqk/RjM4mUZdqGW6vr4pKnfg8MXyBFcr9OoJ242svPF+oOLh77MS7AtqiYUFjPQgnuYuE9Kw1LNVfTpm+Giisng/Q6W+8UkbKbWTMWTeMb9Kw1YDmomKCMFy5cDIOxepqPGtJXU52qotDvaXBXGmFR6a7Jh/5Pbp6s0uMi+rx1jcyjWl1bpWhja7+oywv0FUgFr4TrAm2Ia2GmaAgtavM/k/w== 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=XEtchS5dleUyXMBf13Gq5hhn8uF2x7J1NOLe8pdH3aU=; b=EsJoKflipnMLHqG+K0HPNqY8AONMOPX85pPPtWebFjp423JnpShm6EKGoxCTjmNK0/S5vkh3SotHH7jD9sknJjx/KTwzpozQTVWSMU+izoVxIk+jnmxnU8BHbBBS4i/Jvjbs3lMpFlSt+Xq4lI6Ntq8i7cHIFhI5V08bA8L4My0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:34:51 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:34:51 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 3/7] dt-bindings: net: fec: add mx93 description Date: Fri, 13 Jan 2023 11:33:43 +0800 Message-Id: <20230113033347.264135-4-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ddc621b-18f5-408a-9610-08daf51720e7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: meM2sUdVHkU+ehRem7TsWrl+yljY/SjAUOLxXFDqgpSqn0Tk4VAgmnvIuCr1Vl7i61wBBiriJ+1rdHbPNXQMjaIQYDFb7B27ME+gKWjQEp+8mWMhtha4tduCaaqg4wQzvsA2cVFQwtJMGlCj5IKfwfPPcoCnDT3R/OLvDgf2//gQ9mx6zuLVHcpmDNoUO2yt71FrNFsS60X9vNuqcFIBlPTiaDWwSat1LkQdAm67Jd112m0Way2a/P93m0hRt8bWhvNWMKQaTvmvwFjdcx6OHJ+OVsMKHV2NMkB6tMiFyS7Lm3lDFP4d02P9bRQK5QzDAoU85URDn3xkrz5qh6C1Ks8dctdDJWCXt9oZ5UP+W6EXElTT4e4kS2GDZzx69yU++4E6I9g/5qKyGuNfkE9p3oXnwbM8WBc1eRhWLsKMzK3qCYGDQ6kNALy7Gi43ea1ZrFrEGrcXpgao11pkJe5XCUIDFJUniOyiuhEn2CZRSJkcXb7iDz6A/ZnIJN3O3M5y/BBYTwOpWX8DEV4gPRqiDYnavLwm16tAWRwiAmvOGB9cCRQBzDabhiDHgCB/98hTlr7gDDl3n+dU0bhYJlYfIoYVPLxLFcLUbNp5t30xHpoyacteWoEwFMLSX5gpCOVpz0zSt/hK0RZzmSbEziU3E5R7d+DY99v//erUm2bxYFzcKBnPlOW5qc9eXr65qDlVncSWWPsd6HFzovhSZ6qe6A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(4744005)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nEweTmK8U9jhoVwopn/kD0c27uQJurExl8hsWd4SQk32V9cfEztiBgk9m8pv9LkD5wgkmkJyM9XhjguKPJOxS4Wkn8UNDFqnwKQk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apjVFCaGHq4V2/qu8qokLM0lAABk0kj0/vVd32xGHAL7IEJV8gI2ZIuW42ZWBxAxQpqxVrye4q9s+uyv++g2KtVEIr8hD03O8FmOcdqSJNsqfGJH4u9mU4CRFI+BHU8n4ZU529zxdiOJuPMmrotI7Jrduc2LcD+mfUl/Ow6d27CT15xCZ3A+Bhd/gUf0ktjvc13jxY7pHjXbOGOgV7Eg3PQhfzM3cLRG1zTa5R8tFxG+WJqF6lCecjtMIfm2AIGbx4HnjhUDit/TIDTAoBIEZD8+Of2bUGdkf9d/Du6twQ370kRJI8SL7TZNOL2S0UrNisBDb2t5EZ/O30w28fHOIsfwyqUfmb6ETpOJhb/IDQ/MDVgK5EFZu1gUHEwfuNzLnxFb6IxkwBh/ljoGqvIMEqBgw91+S4yJMce X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ddc621b-18f5-408a-9610-08daf51720e7 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:34:51.6447 (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: lvLk+JTvAhrYSyrizrTRDtNpMWKuPHATHAEtwWRl8ZcH7cmW1v1lG0G2ktxl841V187/umHo0j05qriYiOJMww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193453_048868_AF8E26A7 X-CRM114-Status: UNSURE ( 9.42 ) 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 Add mx93 compatible string for fec driver. Signed-off-by: Clark Wang Acked-by: Krzysztof Kozlowski --- New patch added in V2 for FEC --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index 77e5f32cb62f..e6f2045f05de 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -51,6 +51,7 @@ properties: - fsl,imx8mm-fec - fsl,imx8mn-fec - fsl,imx8mp-fec + - fsl,imx93-fec - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec - items: From patchwork Fri Jan 13 03:33:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099700 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 54246C54EBD for ; Fri, 13 Jan 2023 03:36:37 +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=V35t1jN5yvnEe9rvQFHGeuk89tF7d3b76DGULXXKs3Q=; b=PbljYVNFN0JSuQ Av1xniDzCRDgHI9nYR15tPuQ4a00dSkQsA7JzM+9JjtHKZcATf9Qk5cTd41KbonD+GoFqNYdqP6de Thc26od6U29kZM4n9zOXMpuIY41bLeMv98NjNhKWPBW/B2w63bsc/7e3UBgtiP8GvcluTrpn8MBNA pUQzVZ9b0Y9kjIj9n+zGvcdXJYIfUTurbYaO0IiOss0Ef/E+1SEg6VfdYRnJEpu09j08RPlSvqjoC 8DmMptGEPXOXhPsueVcakbiizf1HezDk1OkSy4zqvL9BZHfbBDrTTh8kP4tlxYVLrCbDlyyUhD6eo XMN0+47cQJC/WCZnT7/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqj-000GhI-Sy; Fri, 13 Jan 2023 03:35:26 +0000 Received: from mail-db3eur04on2055.outbound.protection.outlook.com ([40.107.6.55] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqM-000GZR-H8 for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:35:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eQrc4qHkSlxpSIws78NQdNP5GMz87BqRMm4vkVM7xEJAKITmGFi8OL2dUTKN7JAfhI9ZpA5Qoe4z2MMm8HDHuvM1oAZUrUd9QxeQHAL5U0UQWlaScFuNg/4BXWMzu7Gm7K/RehD2aADIjHdbdbiUT5p3986qSTHiVHq6gyc7TusIKJay47jPipGlyx9Za460PIUX/gFVS7Qd395mtmPZ0wKoBpHC2ulfZmiK/ic699AKG8WFnLWJ7kUaBGYC0XnPf1uc6BkyR+w8r0hmX/2GhMdWRDxza01FleekrENjAPJPbLn4gVtyMrJ9Rsb+H5hPx/0y83xnEOizneQnJi9H1g== 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=IET9tyMod0cGIFgLHsSsai8dRQ7jHHtxIRGJXSMiZI8=; b=eCQCle4HpCnPqK79HuVyoEiZ8Z5f8u7MRlP1Xog3oSVDPMAl1556IXleI/D4WEFlxcHGg1X6PvBXzU/groz+tPHPV9RFt+V4EV/gElbocdfRX8RcqY7+3q8n/5bwF+45LbCrn7B+8VxawQFWRWa90p6007j0+io/9H1ImwPwXFKDBwLfO+cIcoSqDBtCCA3UfeygR14U2f3zua3i0CNVfZIkEcNSa2bNo21JABYogZ+zYOkFeAvDA7/nhCNY+venbqSyYGCJ0v25kVJP1ngTmox3lR0yn/ktpojbekCKNGbOFheUAqfaoJ+6hOyx9SvhfUgHqTY+tkpqrKewhiNJvw== 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=IET9tyMod0cGIFgLHsSsai8dRQ7jHHtxIRGJXSMiZI8=; b=Fbqs0re7g0NbPjkMLU+M9Sax1d2pu7yGkLJMNUL/Un+IP3c2p5sL856ZkYb+KGFgvYNCjDqENBMIu2j9anpjMXG6DWl7Ejtz0WH7aq5nl3RP5N1i9KkLPXJ9iH+R1GDcHyDH87LBc7GFAu4ZfsJTPKdYcxajdEdp3JVK7Pkb/VM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:34:59 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:34:59 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 4/7] arm64: dts: imx93: add eqos support Date: Fri, 13 Jan 2023 11:33:44 +0800 Message-Id: <20230113033347.264135-5-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: 2dd1e3ff-b084-495a-5df6-08daf5172556 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rPZhxDTRK0oOfiULu5yHYSDjV5aEVFtI2gh784fSe06hhG4hsUkwf4mHK7vgEPCI1MQ+VWCX5DQJ4ZK8az9UyZ+SgAPaR4I+fVCfzAouF6MiQQd6Hsa5XUqYE7JKRWCUkk5klKXusp4/8o0+LW4BJQuiMrceMgzpQRzWUMLf95kqvwaLYnPSmmaGEQu/dj3ZGVn+r/Md2ElvJJq/mJg3JD6gKeiesnSLHHCcaG5e8pSn5imMde7PbuRj+iZnDAWr2l8revl13GTRxSqqwoobFI3h8pzAmJWjWES3xY6QVPlJabRF0nowjuhu++UyrssytsM5RRZVRrXt3yzJSFZSDrU87d9c0k+dizxPaUvD3AFRZAV6bBbws89e4LJ9p0WuBay5MppZTSe5qqK6gt/DST02OS6drxw/ZsDDBkrCjuFE/FmhE3/C5pQGzDCyZZpHhO4oUrYIRVGM5ACuY2cg0KbpbDe9pu/anCRZGnu1iMtBQ1pfwkMYLiV+BcrldXPDlj24L96Y3dt8r4srfL/hY5B+A51640OrT6W5pdNnAa3550tULC9ElwcoyXExxJJpXdpl0/mjZu2yN+k9YTBejkkJzk7x56SveHqAqVVtr2S1Rl0QIio2lTYPPuE9z+fosCaEA2VF418WDcgl2nsiO78s45XFCAZrEmJyP4GqXs+gBEu0mjrCx5UTfu8hwk8z/pANJJ/s2hjDyCLWQ9QfuA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 66p33hH27Jpj+Fqv3eiZ+mgxFDb3rTu88tWAJ1lKnT2joiwpAgG+5Ngu2dN+tLICF2szM0eKDWwsTWCgdBrPapHwfnQI3aQXVX7h0AEqcK3sontAPJE1NTIlswgx7IKCzQsun/IQPpRk9A9Urave2WaTkugMQuI8lHI64tyWwNTLO1zHwy53XH32SiWFCgAewnP0IrwbAQMM6lpxdcMqtqOB5Skg6KeQgAZEmHUGCkt+k+IgH2gBNq817+/d9TyxjeVgvCKckPPWPvkQ0kP+0K8hZBmqpyhUrbvG5SmD0y2vuFSV51imbz1x+lBuw2fnARfwuTZHXzG61K1JCrkr2JCg44g+EwoNQIt8WFriBinnLASe3ev5YubnGo0Iq5xc8fkGL86UsmEAd2fWARUDAIvrp0I0WU6d+dnDjUpMijhMDAiwsQn3TfrRxwi7dAU3vSTENDLoctMccnAFxAqDFz4rabJ81Y2J6KXn42RrJvNibYOie3PDQjEBtmHypKH0p8PaGxHUSxG+aFZbmcUCJzshv6W/n0aBP45CQduyv6W9p8KJ7e6mLa8HeMagIuD8KJhF+dLbX0o8+rYRHV3QLe8dLfNXsy0Q6JI677PCsaOR0y+biDHm6LT+17DJyKHfZzQRlK+G/NdLlPldG2PN7cdBDCl+Gkwl9+mVN/ZDE5OQ3jCcdeKd5VEJLUABPwUARb+YzN0fBnl40JI/ZAUyuGOzbuurjTNZUjkDIFsqGsCv1W98Np6MEWUSpM71PHquEmrypnXqRNvbgbzVmI8zn/Q18OoyCELbdWStN9x8lF4lcVb+bN3VPlFcHW1/TcGi05cI1j5kDuAkor6mTBx0Q8m3pOzJZDfkIgbqLpmnvbn0caJFQLt7stVsQxpZ5G7LKHnBHQc66wWYfyV/YTz6gr+mVsVKGAJgCKJxGVUwcktSYglSuAvIofWprm5HUpvd9meBph640xFoV1yxN8kjzOrDCAvg2oJCMiXJKt0LFLrqk0Ca89n4kJC6YG2i1I3w/wpq6qcrcaYddEa6YtnNLTmUz9Cy8hEX5FjwjMgxNWsABE5DiNQmg2KjWGjvbAYI+OW98zWpRkbHQZUCRWR2yuIap71HhPFRa+iXR1VZfsCkiIWmR8QB9p498mHGDBVdPZrfRCmjREQm/pDOfo/F1hxgGBbn8B3YL1Scpejbdr774XHULUCwu6yjW00Z0K0rOljuBhyVkH7dUxl8Bc9RMGdJFkm0uuur9OqAvLuVGmrPrISzabpdzYGIkwivcEF7rY4i6FtaIEPE/CSCJz1+UCOXmngXcpVAyp/5xzF3h/GNVLK/sVmVdtGcmBDKmTZOpHR+hAjNUaRA68UWbgE1LILkJgjhhxqy3FhHy6Q2+f9ZBuoQxP5CsECROeOsrY2xUOR+oy+nvlRnLhc7Xx++Fyuh2dPhBl/kzGLXvltWtqblus/R9DwiHu8KCEd3Xd4ec25ZCtKXLFAn1/l0FrKzcG/nfognqLX0M32h4qiEwpTXw82VVWREuT954TfRd0Bj+aYFAkpKVGJuLvxOPcWmgXeqW7oWbavvxKf+vAHBr99XlIvMxh8F+RTTTzrbOrYY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2dd1e3ff-b084-495a-5df6-08daf5172556 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:34:58.8785 (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: yS7UnjsmVMWxqxQtjZsUJlFYBWfG+sY2VzgKk0kjGp56IjcPDesHR+GFlTr4QPrubnv2iNtSuewxmv1PVRqK9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193502_635656_FB1E3D84 X-CRM114-Status: GOOD ( 10.81 ) 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 Add EQoS node for imx93 platform. Signed-off-by: Clark Wang Reviewed-by: Peng Fan --- New patch added in V2, split dtsi and dts changes into separate patches --- arch/arm64/boot/dts/freescale/imx93.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 6808321ed809..ff2253cb7d4a 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -564,6 +564,28 @@ usdhc2: mmc@42860000 { status = "disabled"; }; + eqos: ethernet@428a0000 { + compatible = "nxp,imx93-dwmac-eqos", "snps,dwmac-5.10a"; + reg = <0x428a0000 0x10000>; + interrupts = , + ; + interrupt-names = "eth_wake_irq", "macirq"; + clocks = <&clk IMX93_CLK_ENET_QOS_GATE>, + <&clk IMX93_CLK_ENET_QOS_GATE>, + <&clk IMX93_CLK_ENET_TIMER2>, + <&clk IMX93_CLK_ENET>, + <&clk IMX93_CLK_ENET_QOS_GATE>; + clock-names = "stmmaceth", "pclk", "ptp_ref", "tx", "mem"; + assigned-clocks = <&clk IMX93_CLK_ENET_TIMER2>, + <&clk IMX93_CLK_ENET>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>, + <&clk IMX93_CLK_SYS_PLL_PFD0_DIV2>; + assigned-clock-rates = <100000000>, <250000000>; + intf_mode = <&wakeupmix_gpr 0x28>; + clk_csr = <0>; + status = "disabled"; + }; + usdhc3: mmc@428b0000 { compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc"; reg = <0x428b0000 0x10000>; From patchwork Fri Jan 13 03:33:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099701 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 1EAB3C54EBD for ; Fri, 13 Jan 2023 03:37:07 +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=U0r17uptmEIap+Y6IWu1zF6SzVkaJD4yMx5OgXodn2o=; b=BukQ+Xhn9UIP03 vWmXcJIhuNxj8SBPVq4X95yjc1LjErwjqqLo7Jl77AhppIC4WRWO/wl/i7dC/5CPfFOCo1+z1Dk39 RD6o0LJVEZm8c9YflO/eB6lC/is1I+Jtf3yAuQ+nnk6QxheBq2NWP5VxBGQjJ51wiBfmGpBc2cfmY 5Qd/J5MHxby1Q32XE8ab96xf8yfSMkYrD3sCr3R0s1rX/GwW3u7S1vQohBj3GbM9DRRVtE4njsZQl yg+XshD+rGKuKGYbn8gA6QZ3qz1ZBgoKrpjNGWgw6G6c1u0lR5cEZZbCe40uFaujDGETQLVlQp5Er 31GR6i/dZmPEMuSpkBbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGArB-000Gsl-Ho; Fri, 13 Jan 2023 03:35:53 +0000 Received: from mail-db8eur05on2074.outbound.protection.outlook.com ([40.107.20.74] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqT-000Gbb-TW for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:35:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bTo9i8GaoLlXUUSU0l9fWW85ASUqLtBux9fhA+a6qSzMukkhUznz1xeA2omffSEl7fDzel+rJAyAxtIPKTFvVmeCMgXmw2tDn78IjHr/8PrrZEuHMI2mS0F37Wn0GWLcEgCnGrl+3MxsaUulo5j4rQqoZMIMUDueEUidLKY74aTwKrB5SFgo34VisfA0u75HOqxSy53rnvYJHZsJbnXrkXaGD1VUPJMh1t4sudB3o1mThS6uL7pcy6PVmb1TxRBSYjdt2ZTe3kMWD3TKhsG+W+TBu+5flN7Yj46x5454IPCFw3qF6LQc0qKGzx87Y8zT3pQFwpRbO65qcH2ok9QKHQ== 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=rjVSMwgw/1OBFcekpx/NPA7/lrMdZ8dc4ZcV50mZO44=; b=OeBivRL+fzSIT0Vu3Tp/0y3OkuJyWUTd0YBcrSWgON2Ivmx5WzIw4IjrNnZ8G5dyd4IowWMIHoy2NZtrEGY8h0hQK3sXCj4k0JT0j9LxEwv8mPZwT14htm17b4UwCbR1vixWX3CnAA/5oLbIaMS2BRR85Epvwq0nF8En52YBXBjphCVqVag0baBBAtCyoIlIduxTBIRVdGmFAxvk1OyErEMsSj5kslYzBSktv8n7FInfkI+P9uPSUKwV9NzKCqa4nA6I0UOZE82S/fRevDex9gi83TPU1gCtSJg6llyf4Y+9kE483eNmaQCFSZNmmqlVrEJgLVp53d1dRpSMu6gvRQ== 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=rjVSMwgw/1OBFcekpx/NPA7/lrMdZ8dc4ZcV50mZO44=; b=cBVC5A9gMhgQ5w/tt6WNlbJaTzesn1r2L4L1HNwdIeMQJwvzXkhDPU+eNi+N8K0+4sNtvne2DKmVgNMQNNNR8VNvNg03ytIMdkhzwViEnI9fTCKA+9PCqxOyVJAvoYlajW7AMMZRuUjADxxu8lC3lLvD/zWM64j3IyoKtToa+Qo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:35:06 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:35:06 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 5/7] arm64: dts: imx93: add FEC support Date: Fri, 13 Jan 2023 11:33:45 +0800 Message-Id: <20230113033347.264135-6-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d7618a3-f82e-4096-010b-08daf517299f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qQZQhpAI3otWX5/iGs9UYtOiD9nONmk2K/1Q/UcSYy8KMHydnnRn/dMK38OB++WJ8SKgkp4QqsWrwAzEJoHEgJONCBqllYuDpOGdenqDOJbDiVeZqckrH56JC113dwvTJV4mb8Qjd6AGdDJlo7MCdXdDtecsLSr1vpmkvcO6hzbYO5QdtKHxjYzuiMIJqOjrhwm5RTsgfTdTMGjqKyXX+nj4CdF85deBavUog8SyhbBE8TlsbDu9A/ej5VvX8jKoYEpigl/0gHw35q1y7MsPZiwp4BAxU457dvMNYU/35ls3lvUEgsV/qPrTB4mKGmY6vZEKKvULEF2+wXzX6xlw7A4SaM/SodnIfyB9bdeb9VgsfUw0q1B/rxAH5u8cRS9RXmrqdl9rLKcAUEzOmLjVvBc1lZ84eC66RAOsbehNMNUgSgpzvYsMKL6iCpSZrAcd+UeQVtL+kssP/xSwyv8Lfrv76JgARqSOr2gp4irPDbdW7sCyhYPfZS9YexNjxdiPv6ZYKqOyMsQZCKFT8pylzXQ4X7+ZG1vSnVz21+H1rPR/HskZ60OrJ+OpMhIjAW2nlqWF9qmVvqcnwY8CuEzXIzB0SmXsp3XUbi3h9fFhyfpZP8MYkmzh3fKwnJIxYj34e4ALkF90j/eB7ln3q0+TFszV7IZf61VAGHhIS7WS6V0Pv7vWj1c++tGbx+1cg827w3b/s40U5QnN9kW6i5iyPQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mcXB5w5pa/35o4yGo1EggBzA/+/emTJbx8b0e1S/6UllY6v7SGzmUyqUtMN+3BqhY629k3Ja9hzDQ34MrnNaJITMC9DcfYQajrFxkOzPGqZxsFaJbDxgy8Ck2TosfM9A3vxCGCJbP66zRgucnZw7m3Otbyrns1lHTvNUxa8LyQNsNVShi+ElxcjBaRrcT/IUdozwIazJ2IbRT2ZaY6Ms/5m8770xvANym0RstE3Xw1VSD6c53QC39AlOP1BcJ/Jxe4Dzv7CdrbvaahfaLwPnBgWXPaO/rG85sS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glUKyZ20SDPA0az1nDF3WUahaNery9ao9rkmbnRzjtQNSBd5Q0tJ0xw96Vb8In/zKOqEH/Fy2QqeqnZEoBmPTCn2RpSomTY124UVKEWNBXumGL6gtnDjhuQb/u2TSiOzdsIvvRNNftEjzMj59P8rs7ytWvNOnagR5BZpJUtXZvfmBKCWEcYwGURm/AF2d7PiMhUry0egKeBe437Re6rmy7bG10msDT9vMANWydf X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d7618a3-f82e-4096-010b-08daf517299f X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:35:06.0654 (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: AEsbzH2Kcxy2wuk9MvuWM4Lqx1bTg9agMWfp6mDwd2oOPPhVbVvXhxCwTjBw6+vJMhGaBvwLIDZZDmaA1IHmLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193509_997103_2FDFC908 X-CRM114-Status: GOOD ( 10.59 ) 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 Add FEC node for imx93 platform. Signed-off-by: Clark Wang Reviewed-by: Peng Fan --- New patch added in V2 for FEC --- arch/arm64/boot/dts/freescale/imx93.dtsi | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index ff2253cb7d4a..12e0350ad35a 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -586,6 +586,32 @@ eqos: ethernet@428a0000 { status = "disabled"; }; + fec: ethernet@42890000 { + compatible = "fsl,imx93-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec"; + reg = <0x42890000 0x10000>; + interrupts = , + , + , + ; + clocks = <&clk IMX93_CLK_ENET1_GATE>, + <&clk IMX93_CLK_ENET1_GATE>, + <&clk IMX93_CLK_ENET_TIMER1>, + <&clk IMX93_CLK_ENET_REF>, + <&clk IMX93_CLK_ENET_REF_PHY>; + clock-names = "ipg", "ahb", "ptp", + "enet_clk_ref", "enet_out"; + assigned-clocks = <&clk IMX93_CLK_ENET_TIMER1>, + <&clk IMX93_CLK_ENET_REF>, + <&clk IMX93_CLK_ENET_REF_PHY>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>, + <&clk IMX93_CLK_SYS_PLL_PFD0_DIV2>, + <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <100000000>, <250000000>, <50000000>; + fsl,num-tx-queues = <3>; + fsl,num-rx-queues = <3>; + status = "disabled"; + }; + usdhc3: mmc@428b0000 { compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc"; reg = <0x428b0000 0x10000>; From patchwork Fri Jan 13 03:33:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099702 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 D09A7C54EBD for ; Fri, 13 Jan 2023 03:37:43 +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=swkuBarL07zX2bWBh0a0WvFZd0f5s2Ixzpx++z931l0=; b=vHomB3aaC1QofA EkxiJqS+mN24zfPSXBFbEVqPOkNjfgZmamVIXelQqVvHb51cCWwut4NqADGHDAHUbGnmbWCJIm14B TofT2jRt5vxKS95o1kIUA2MAKBUuS7u8CXRpjTJQweYYVqPpGaapdQI7fUThJsMuTxxNCs9EQDsnh vXWKFnW/RHDBaJWHiesoFKx+hRJqiyywZbHTd8olQEfHojpjXhZNN1Ek3MSRswH9vIo+1BQCPK5kP lvWnRuPOfDwdPnL9oJdK9n9mILCt12MrI16z4+ZQchDZ2/JCMrPdXXLEZ6DnAfKxQYvD/+ba+T4jK liyOygM94wyOFYplIsrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGArm-000H8p-EY; Fri, 13 Jan 2023 03:36:31 +0000 Received: from mail-db8eur05on2075.outbound.protection.outlook.com ([40.107.20.75] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqa-000GeA-Ra for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:35:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SJST/MWouw9Sy30Tk+K1GSvSakEUsjc2/LS7QRsXQP7RKD0HFTZ6Cj/3JtTTq68z5FEcnPmjmJJ0HVtZLiS1Lm6Bu/COPDOIdfiaO1ylqdIUo4BbkpTiOFY3VWawzl+GI3BFD86IKc+Cq8lBiyjrw3WqkU5haFB93l3+HYiUhqV7aOW6ggVSo0pePCpQwSPZ7Kko3wFxdk9wttjKYecrYCiV8dtTFtubdFdLGXysulxVLbsWWF57suH+IAzgVFvJSroZdsKqnEJLQ5YeogJo/cR+UrqEMxG1mFDuWeaOOrcGS0vv5kGTjk7ECACXmKwh6mtvMx33D+fC78PUbtlTPg== 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=B5iHK2LoDlEv2s3dTLu8Qv2qejvPYPDwPyDoG5Vpqmc=; b=KNYgDjRGwot43NPZhR2df/ojSfkxPdE2JTsSXI/1n4HvRPzMjJjBvkFzv6le/rJrM9DVgKApsnwN02Ve5xBrVDKYYEyPjlkx3g+RkFdwhxnY5WiY1e0yCuwRw5v8Rs6Pm7D+WOID1SC5Fs929t8qbHb8JECWMPmIjqkOje3K9lZKybFgB4DdP3KaZ0Cc+L9Czvh0+xPLkbPNlnB4QmjOacwe6WuuRFqMj2kkbTPfUGoXb84gLV2y2bfdW2ivEy0v361OykpY21H5yY743l1LT3xPc+nHuFKn0t8WrF7rKwP1ujeDCJD0arACBThU3mQ+rQKQ9DoZvUuiuUiinIE12A== 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=B5iHK2LoDlEv2s3dTLu8Qv2qejvPYPDwPyDoG5Vpqmc=; b=GyJ33vk7iZJmwJRP5rmvJB1TmQLTpo+oR6emQeGuerY8JMbn8xLFJClU1Gtijg3NR8RFqLpwfyGuqQvwZ4CWGCJFJjcPWg8YaiOxDfkEb6pJ9ZU/l6RhYMm5tk3gLQpgxfBRkM9TNx+on5qLfo5L/74OgNug8cMK4PdqV0gHvzM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:35:13 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:35:13 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 6/7] arm64: dts: imx93-11x11-evk: enable eqos Date: Fri, 13 Jan 2023 11:33:46 +0800 Message-Id: <20230113033347.264135-7-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: 53ffbb11-e8a8-4e83-f1fa-08daf5172df5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 54JkgwSr5r0o2iyDuWQ/uogoVuN2ZzCMXhJwX2Gw2kuclAzH5piJt+WSDDaO+G/ErSUsuHYWWh/oQV1eUsrqTiifKNBuWWEM3PldHJwUUyKuss+BBTdVo9jTSDGPW2bv2BKzenp8U+gPu02ASoshMZI5mX7ZdcCIU+wQcSTXeKJCafoBFG21slUmkHe4/WyhE/fVTMG/oQ6/tAUbZDvVyv78uhUE5vMFiH5PDUCr3Zm4Cp5MkSWBna3AnLTH0CbZGUIYOB+Zngr+psI++tl+ircg2bG8Zuji9DCai+fFLUSL5PtkHQCgl2UiXOKsCw2sJv7T/ugW5OSwVn1h4qSuCPUPwvgHjzr+jLp1sPQYsS12IYbuPbkjQyjJeqm0dd2B4rWzSV6RPiKJDMe5tv7PEIeMF0czlJMAcNdUzjcX5pyhWFO72c57QHVSokaURaZ8U+zjENQsXPiVOX+Pm3VXqoLN72Ytmb75dNm7+YLtcY2B1pZ1GXn9+qoRMud5dpj7ImrjBi2b8beqNaV4ixB2MRE1Sug0GcpJg5J+043VUq2Gsqwq4q7EjrS+H2G8BPQl5R8Ofz9t1lzoN82p3L1YjUTWC7YKLleN+kyazXUe8DnJztGp73AioUjnMYXCQzl/AdcyFm5fwTyi2zRNkJ+vSknJJco8My2UROGAOwYoszrSHvRNWcxzjRihSnn21IvzKNHkeMVIq7fVO9cwUEtRvp+bKM9+ZMe99aI3BICcaohtRvuCnQGgtdslwLtXMMDf X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EcnGkfDnBL1FIL6TKFH5Jvaq5DIb0F1AAJx2TXvcA00qALuirnEJIANy8fnoMhmsihGL/PUat5bcGC5eciVjiGogtkYVXUcqSBbQVagLU5KpbKV6u46u6iD0Rkdb92UesMzpn9gVqVj4+3lMYgX9995b1+hqYHvLza3gmVx4SvgeUIauE4DESvQGadLHN05LSvzuETOYUaT7dwnGytNPWnHNn8BLxbi5WQijKOr+CEx7e/PjSlDtZ6mR0nx2CsQhUTr0xBbk2Jp+D74DpNhpy0XlGIKlOPX5Kfd22CXdnuI9z4oIzbaSbNOvjVYETVZ9XuThrO6bD5jGH69QXxBcLmX1G3U2/OWEfWlE9W6TiyNt18wBuY1P2NIxxXd/4B1uBk5GUCqtixBcfde+O9glr5S4JPyrWct8nBbP7WsxQ7NhRhe14wNfEulVyOFf5yNIMaZ9RymMxgMtpKRo9VSGcyyNVbEi6YmRNn1rNWROKIQtO01bnpFf+nWHOTJM7PM1QXYCnK+hpPXGdeipzVCLH9LQeOkxZeAyfNz5pcadcPBmyPRteyT131CtWuN57uC3E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11-e8a8-4e83-f1fa-08daf5172df5 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:35:13.4242 (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: Gk4d/ZyVMdhCtpJjerWj+XcnOq7uPgOO5yIP6/vPVt9DGfONb/2Q80YQ7AfA1SdqlEQBBo/30XXo1CQ1FIsQdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193516_947012_A0069332 X-CRM114-Status: GOOD ( 10.15 ) 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 Enable EQoS function for imx93-11x11-evk board. Signed-off-by: Clark Wang Reviewed-by: Peng Fan --- New patch added in V2, split dtsi and dts changes into separate patches --- .../boot/dts/freescale/imx93-11x11-evk.dts | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 27f9a9f33134..6f7f1974cbb7 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -35,6 +35,26 @@ &mu2 { status = "okay"; }; +&eqos { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_eqos>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy1>; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <5000000>; + + ethphy1: ethernet-phy@1 { + reg = <1>; + eee-broken-1000t; + }; + }; +}; + &lpuart1 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -65,6 +85,25 @@ &usdhc2 { }; &iomuxc { + pinctrl_eqos: eqosgrp { + fsl,pins = < + MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x57e + MX93_PAD_ENET1_MDIO__ENET_QOS_MDIO 0x57e + MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x57e + MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x57e + MX93_PAD_ENET1_RD2__ENET_QOS_RGMII_RD2 0x57e + MX93_PAD_ENET1_RD3__ENET_QOS_RGMII_RD3 0x57e + MX93_PAD_ENET1_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x5fe + MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x57e + MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x57e + MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x57e + MX93_PAD_ENET1_TD2__ENET_QOS_RGMII_TD2 0x57e + MX93_PAD_ENET1_TD3__ENET_QOS_RGMII_TD3 0x57e + MX93_PAD_ENET1_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x5fe + MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x57e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Fri Jan 13 03:33:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 13099703 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 8B5F5C54EBD for ; Fri, 13 Jan 2023 03:38:10 +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=VdKmyqZV9pieuVoSjtdYnK2JwoNnfkxHd1ENFeyY9OY=; b=vJJVE6VhsaQVuq rFi3SHtvZbctGS+NgijiT0rmP2+Ugir6bMGOdTcTSwGv6bLn1PmCPmfdYUee6zRlYs+VEm8ZcVTxY LZZdCN2H8Z6YcWrw+2s1FIB3djDeBtxB7stp7E0JfsztlV8+tQTOi5BFcpuuXjP1vQu65xyr9axQe E/r86XyBfqh+wICr3c2bwVHzchZ0TkJ1aBQokPdYaoESCEg4nKC06musrvsKfApX8Tou7SgVR0J+H H1bje0wtJHNggw9pX+J64P2ZN/debsDFnAc2RXQz9cTCWZ4U5kZE0+1vOuYwdApxXzGx9dxjzEhdi s0+smUiY6FgtXV7h7fxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAsD-000HL6-CE; Fri, 13 Jan 2023 03:36:57 +0000 Received: from mail-vi1eur05on2087.outbound.protection.outlook.com ([40.107.21.87] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGAqj-000Ggt-0m for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 03:35:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGMx94EqBydJnMYy/tf230X4reny5kPC6YqWHQ+6uDaaPskFFz4dbgc482f1l4UKmyLD6RYhB4eF5Yvlwar1CPoeWaaRQqRoUJR6TfHQPEZ7o4Ayzk2kXmAHSXR+/vPfRu0qvLyoyvkLXfkdEDglfPHOCVZbr/2Bkjo9OYbMVm+zAcJtxSKras23dEAAmhiBiexRPstNun/lQWIXLLYmuDNpLrMqy7Er7PN7BZRQvH1D9+byjnD/ZlLrs/IurcjIW0wA3tcLrZTpo0Q2xYL8soGnm8zNWQuRgSIRJM0N+YG+PdYC+5Gav+rnWaU+0sw/pZcgsbdRuGZfhN8WdNipfQ== 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=QXa8M+G8KNPlvAU4FbLbbSvCwweX4FklR9YyAUkcKWY=; b=V3VQXRIuL+3qKo+5H+W+JlU8ofZOGG5SSbLMROBrzXYqMpCjEfis1d1kifgHSywQg0g9zqLc/5LG4E3KCRo/WYnM2Yj6kfe8QwrULZRSqFO7W8LcbsKlbkx0+oF6kmtQDsvm+8rkfRTqVQZIZBWM1ypogMxUUovpvhrys03vZ9J2vlxomNgIdg/zJfHNmfqGcdVIkr/aXvZVSweDPbm1iQgoycuQh6UjtJBvIAq37m+diGxA4OSsK7X51MtHd9GZFmxXaCP9EWI+o+leNmwxGZgPtcv06vcsONuQH26SdOnRp2bG85vl7zGB8Yysri3zhWIWcpr6sC3GNbY7AMrnbA== 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=QXa8M+G8KNPlvAU4FbLbbSvCwweX4FklR9YyAUkcKWY=; b=oM9N6TY/ktIX7H/3lCqjJVo3G6LROwHvuAygXPMnLvXXbuIOVKKeoM2LBR1raYqH9wg11TEdenRCoyG0l3a0Be3R7FfRMTRPWlwgKV5znlTugiihEMoJU69jMpf77UCWhiXR+CyTL0OEkrhMYeAwaUwYgUVrqxsfqTykjkAn79c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) by AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 03:35:21 +0000 Received: from HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c]) by HE1PR0402MB2939.eurprd04.prod.outlook.com ([fe80::76a3:36aa:1144:616c%12]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 03:35:20 +0000 From: Clark Wang To: wei.fang@nxp.com, shenwei.wang@nxp.com, 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, festevam@gmail.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com Cc: linux-imx@nxp.com, kernel@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH V2 7/7] arm64: dts: imx93-11x11-evk: enable fec function Date: Fri, 13 Jan 2023 11:33:47 +0800 Message-Id: <20230113033347.264135-8-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113033347.264135-1-xiaoning.wang@nxp.com> References: <20230113033347.264135-1-xiaoning.wang@nxp.com> X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To HE1PR0402MB2939.eurprd04.prod.outlook.com (2603:10a6:3:db::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB2939:EE_|AS8PR04MB8247:EE_ X-MS-Office365-Filtering-Correlation-Id: deacf900-0f46-4fcd-30bb-08daf517325b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6BYiBj2wJMHd7Q48vM6MTE/RQcPzk+V3k2Cge3dey2Sctq7HDuBe5l5vrNt0BP5Q04JCDNCnydGL5x1c5rMqPQ6zADzpawzeiHYbEHiiAthg/K1H7aWu/bk7lsjaUjlrsIKFEYPaOXXUFspg3z/S1rblgUusQOB6iowkHOvqzX+MBx5s9PixoqMifgFxYGKH/DKRsqYIIVV45d46HV6FJ4vZ0UyHyvyToOj0CGCCfrLEOz6iIkutLiCQp0F2Ty2vHwDXEhLVhm/4yoi1R5Oe2oYmt+F4U8j+Vq4hgYEnqQhxWXDTCERzGSgtyu3YmMAqgUDaAUo+cz4wmInlsxin5NgCFdAe2rrQ6720a4MNbWn8XtygZFzwj2ui5/aaZPicVRmzaj5rXWLrQ3WgfIJlXERtb+M4CKJWowz1OGBrjQRYndZJnaS0v5eui7aKTrt3DnQD19gwIKPgiY0jA7zKikatj8PSufnZpPvn8JwhOGxqxs5aP8Q1ElbSVw3o5h0uVFOLjtrO2QvRFiO7UeZo8RmvQuACxqWmJ/rQ0YzISyN7RWTjmBZkMupV8/OGuYgewKHIC0cTvnZv+1LH6DeXPqu7lL52Z6YTrTi6Cfsc5hNoBbrcI0RuzNqc+KhwwT3V3/Ocgg3bYV7UpkFToc22nSxVxi45Kg9aUpOIVogVarWq5dDgW3lP1wU1G3f2FIVS5dP/or1q7J8FTK+t4UMgetwNSdikDwtNIH7f9Z8MF/8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB2939.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(451199015)(41300700001)(66556008)(8676002)(66476007)(66946007)(4326008)(5660300002)(7416002)(921005)(316002)(8936002)(2906002)(86362001)(38100700002)(478600001)(6486002)(36756003)(52116002)(38350700002)(6666004)(186003)(26005)(6506007)(1076003)(2616005)(6512007)(83380400001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: U+1eXERge9Z7ifrGcfksWOIZ5y3Kxf7hrLLCg6Y1mjSvW2oFn2EM+PGy++xnAidBS0d72gnE9R3eKNsTipeZRpS2qCDKqSDWpicsNSjnHrwBl90F5EycDlPKHOaEjRrq1jwOVPqAorPRKiLNdhOqvUYw9tlraK2qNosEwVUvJ85U0wB4Lv9ro7+ymdHRbkDJNkkCubMWiE0DZuup00JiaALesVZvuKlR6rxzaSBZLi0+N8xYcwL0mrPsxkektYDRbEMDE9dNUkzZp1CtXJ0pVS9PgSYxiiROvydw6UaNolZ9nLisLiHa8SfJoxpx/UrEgfhpxgwQ3ryg5m7TK18BY9Habbwjg7mt0a/enCawlNZiHjca9lED9b+chOUrgvQRcg+BeL9uv7R/1QnoVP1+PyozyuBLr56MRk/9WRptgFiUJ2R653uLjSw0AlIVn2SU8677Ko1CbYGTBJD6Y/ohy7AIozlHEC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b7g4mvI3xlFpnLqI0z7g+N2+/F+Om5Qze6IPe+P12bvIdDBiwp4hxsdWn6 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: deacf900-0f46-4fcd-30bb-08daf517325b X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB2939.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 03:35:20.8142 (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: wVTW2KNUo3TLoeUrc6oreWXcKHe48w3hAXiHmBYZwxh8rrzbwCZYyt5maZvdT6cnJ6hY/gwJARgyOq2NnUyxkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_193525_160967_729DAACA X-CRM114-Status: GOOD ( 10.40 ) 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 Enable FEC function for imx93-11x11-evk board. Signed-off-by: Clark Wang Reviewed-by: Peng Fan --- New patch added in V2 for FEC --- .../boot/dts/freescale/imx93-11x11-evk.dts | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 6f7f1974cbb7..cdcc5093c763 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -55,6 +55,26 @@ ethphy1: ethernet-phy@1 { }; }; +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy2>; + fsl,magic-packet; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <5000000>; + + ethphy2: ethernet-phy@2 { + reg = <2>; + eee-broken-1000t; + }; + }; +}; + &lpuart1 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -104,6 +124,25 @@ MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x57e >; }; + pinctrl_fec: fecgrp { + fsl,pins = < + MX93_PAD_ENET2_MDC__ENET1_MDC 0x57e + MX93_PAD_ENET2_MDIO__ENET1_MDIO 0x57e + MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0 0x57e + MX93_PAD_ENET2_RD1__ENET1_RGMII_RD1 0x57e + MX93_PAD_ENET2_RD2__ENET1_RGMII_RD2 0x57e + MX93_PAD_ENET2_RD3__ENET1_RGMII_RD3 0x57e + MX93_PAD_ENET2_RXC__ENET1_RGMII_RXC 0x5fe + MX93_PAD_ENET2_RX_CTL__ENET1_RGMII_RX_CTL 0x57e + MX93_PAD_ENET2_TD0__ENET1_RGMII_TD0 0x57e + MX93_PAD_ENET2_TD1__ENET1_RGMII_TD1 0x57e + MX93_PAD_ENET2_TD2__ENET1_RGMII_TD2 0x57e + MX93_PAD_ENET2_TD3__ENET1_RGMII_TD3 0x57e + MX93_PAD_ENET2_TXC__ENET1_RGMII_TXC 0x5fe + MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e