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+EwoNQIt8WFriBinnLASe3ev5YubnGo0Iq5xc8fkGL86UsmEAd2fWARUDAI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FAn1/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>;