From patchwork Mon Aug 26 20:53:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13778445 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012058.outbound.protection.outlook.com [52.101.66.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CE95199EAC for ; Mon, 26 Aug 2024 20:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705635; cv=fail; b=uUcS4ssRNYVVsh5fqbeuB2bVjhxmlUTsrZPkeNOw0adHLhlQcMbq4qCgALefMjUpvRhZUMKovmqn76bYcjEVu9VHY1Bjw7embSyWn4nB1MOUwn5vBc0IOLDEk9lpHCjhWAJGP3HfgVn5vJJiZ3x65fvQpzJmfMzH3zuHmDqUdxw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705635; c=relaxed/simple; bh=9859Zj7j3dvKIFWbdrI6k95xziCKvXmbfENk621qLMc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GkxK1c+Xsm1wRfsKx5X8jlMLIX05biOMWO2vfyin/STovQiRsq0DifEF6T64EmbNi3LGmIQWGbjSh9ZyUNvEg1tab85fNRWLhBAXH/VLjgEt0f8Ti2OFKjqwVcP5cKCwg/dvyqaI+c8//UPojYFVn96HWXoCiW1vIwyN/fR3JsE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=VbmDwyPo; arc=fail smtp.client-ip=52.101.66.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="VbmDwyPo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FLNwKts1UD4n1hm6fhQ52NRRscL5ECpMa7FjOrZmM1VkM+hDFLzDfz8XNGy+cL/EJbPZeAs9fGbF7wQ65zRdrzg/DSg+s9yapW8oeH7tyx+8g9UY/0BsJ0ExMJ/GXTIe1f3NhQq2szOsZCZcGNzybIZ6F8DumItaxH2rhwDEpNSgKo9YtZdfnD034rVntiMbSfaVkhUnHeVgSrSy4xM4QRbxqFoGmGxvN2AzijEb76L4azyfjLAOxGsUJes05uByFJtpTAWlpZioPYbccbi7fsYyFCJ7skPOlbn1cL7XbEr9ZDiSYxnJOg/638iRor/DEbenG3ri5mw3Y++jb7/EQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=x70BgxwZyrRaKDvDfEhw8nbjPwQanM1oDdbKvdcdQlU=; b=HLoCJ1+iZyKSAjW+O9o/ge+AVAnKZ46vEulJrOzAa3F1z50s2p7vhbPWeunP6L89f8p186pPJNL5MKeJQj9KP/sip1LGd0aaa9seiWgAjrh4sCQgElqf4NZt6tKDRbITxPkBSGulCDuAPvRKYDIT5Swvk+x8r2GbXj2tHPbnaZSF3fGW+jE404Ky/C2aG6HbhV9ZfEDt0cZ+soh6hUw6c6vDZWWyoNhLm0kU6914pAV3M6x45TGcLdSiSSVVTQaJsR2hF+PciS1igzTmWZsZ5kqB3X/gkHCp3/N6F4KV/M2jFILfbu5iRVRF/i+uYYzfCNtyZct/ETHImkc628Gdtg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x70BgxwZyrRaKDvDfEhw8nbjPwQanM1oDdbKvdcdQlU=; b=VbmDwyPokYQ01C2XlhyB01Fo5lLrSfXRFu8bF4QapZBnKgwEJezQn4NtUvJZRUqP32YA4AR7ncjrzv4+JbV+oo9JdrN7d3KpgynBBtHkluVSohO3g76FIgcpswcRYaRLbBofTuoUJ3p4weyXPX/mCrwPkS964wV789ZFjEzk/zqPKGctmYTyiSrYwxrw3AM10m9WVkITdyGWaQvercnjf5L8MH0Tx5mrP13mad3epn0O6nFa0G128WQoaDCjY9uOVrBMUrfZU/0olaQHu8UvGT8B24jDgphWWURLz3RR/ev2hl1vtd34iuEdTpO953ZLSl72ey63wHHESabcF35vlQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by GVXPR04MB10681.eurprd04.prod.outlook.com (2603:10a6:150:226::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 20:53:50 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7875.019; Mon, 26 Aug 2024 20:53:50 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/3] arm64: dts: imx93-11x11-evk: add flexcan support Date: Mon, 26 Aug 2024 16:53:33 -0400 Message-Id: <20240826205334.975272-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826205334.975272-1-Frank.Li@nxp.com> References: <20240826205334.975272-1-Frank.Li@nxp.com> X-ClientProxiedBy: SA1PR04CA0019.namprd04.prod.outlook.com (2603:10b6:806:2ce::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GVXPR04MB10681:EE_ X-MS-Office365-Filtering-Correlation-Id: 79ee578b-2389-45ca-d640-08dcc611301f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: ITEF5GpN3p20xJ0bx0Mxov6BvyMNVWDL4sMvd9FD9iNNoHdrdaMsuN4SkOQg+DN/IileKs34JQHgakmP/jErn57Ov40IUBwqs8bfS3DztHvH+SRoKxnbjnpsMvyJe1Z7m/H66n0c/gGf6kKg4Vx31+5Wyl6FjEP/B+BeDW9ePSl/qcoXZX+nKaqOIetQJeC6MGuo/uLsVUfMyH+6l2wz3E05jYzRvv4d7PrUwCj2oQ0hrPbY4i7sPX9h/XQyoYP5FI8SACXtQpx4cpFz8aFJedcEIvJfo4NX7cwnPwOSz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159aDickmxzDEeFgYr4wo5QVvOn1CIinezvHlwgDxTvLAhjupcOJUBaTVhMhQCaEi4Kc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TV/kbHNgh1I/28DNty7dfJUf2+N1qRejPCj9CJ5NW1HlpjfwpkKmwmRIndEfI8OHfuGKIPq7g2kfW7NLz6e9LOzhiTr4w7dsHDsb4IkHfujehbLVl6p/G7GhplGgvxf1fG6vhpfsn9hc1nv9cQGUWf/Kh+q3n1YXaIkdGGOGA0yeS8cPQH38j2p/hW5IykF3SHGf4NrPQF0ZQPDretQIfcjTu/9KuDqXK+3ioV5fVhJuc3/N/97691fQA7oOu5X13JxOAiL70bhA3mUvY50vhIjlDyFCjq/MvLzFiMcla7fS0f26NeAaHBKd398AtZGBfkEh00u760vhMDFWt7JiVFyQqf5Crj3uz6+Foa3Z6VV5n+mlRxMIz7s0HulqXKV3VxRWciQghcRtznyrkFS3Yv6jj7nnbt1EdQJzQ8xvOMKCu3CgYzrjXkwKAymCOrp/6gG+GlRi8e1inzyCeZXv52caHD4IgbQN0U0Fn/Hd8LEcT87xcLdlBwpNqrjLyTgxVN6z6taoZDSOUbV8KeN6XB+qPmiMRNoZrqQi3I6Hy0YHY5gzLhQKDIQX8irajmpERqORgxW0/f1j6jg3NW+XhdGoeU77NoNPWJLm9WnfkjTbcqd8amhcCblmWpH4mTTcM985AW+roS7kY88zOpVjmdZnzsQqlb5LKhRHR3nIin0VeUQ0uOt0IGeldUxwpfd+stM/JMM0juFRP0IwCtznZ2FlBP2nsVZDBHaRgTGAJ8ENlZeEqeOj8Vni8wJaxbqEr0f8bXeZfqhaH98Kl6ecnTRJ1OqxlZgBAQQrJk8Lkr7fstG1xBpg6EH0I5kPgsBlimxCbSNTrKZjRxO8adaPkfOeZefz//1/zuxw+q7ghtBbkb2D17kwYANN2cpTYFmy65uunf3w1rbDePYXD85JW7fAdKLBqAgF57WJz7bWyyBMeYFQqfHhnuG15US6/TXzh7mGKauTGvU27eImrdgquOztO6twkvezexkZBMzLQBF1V5SvIkX7GiNL8R1qGj1DdqlkhPLHpPb8Vfi1Jhwzs+SSa20WJjbOLYpIQN6+CsKtfRD2bJ9ETGt/2SVPSbL09hjjtCMGvO2VIQFNjk9Yk/XKnjqChwVOkQBAfexnMHcxSVDtK6Kj0ZF7XkMzRQ2QjcOXe+HXJIkn/MXfzUNU42aV6zHzS+afQNUbxKTqbsxSDvVkouOl2l/0F+3GMgcPnnzUsU2faH+yIGiEBFiv3S93WPH3P4m2rH4ksIwGYz7xZASQOmIO9B3bGeGDtgCrJhYMb+F+Bblp40u5b4VbRse9wEp42FRfXlBC6hCc6flPC461we64T9mGVSGMf2pFUMh4UGPoHn8iZu22n5YM96l81tizGi5fHlFhKcfLccP3njnGVoYaC56t26AGmxcLsX5ZvR+mVaJNULAXnn+WC2Mst4Z3QYyYLQdb8LJeLUTc77+Sgck2QFjceeng94A1YesZKwoChokQ+X9sF+6K2SUzh/K/iA/mc9NXidt3UvbZH3tD3bOSFouOawKAabiOGI+bICmazYDIN+0/9rBseglhu2Reet2DPLrY80d5yLXUMoGAXzEIDKIPr+bXuXOx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79ee578b-2389-45ca-d640-08dcc611301f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 20:53:50.5170 (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: lYi0WHJYk2TLWWNXQMZ7gvloJp/8gORezJpBBxKVrghvLnlgPvPTJ2JUgTvL5YU6qOZ+wsmUaELxKPVRomKT0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10681 From: Haibo Chen Add flexcan support. Signed-off-by: Joakim Zhang Signed-off-by: Haibo Chen Reviewed-by: Jun Li Signed-off-by: Frank Li --- .../boot/dts/freescale/imx93-11x11-evk.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 7629b6b44aa43..f20d281531734 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -69,6 +69,14 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_can2_standby: regulator-can2-standby { + compatible = "regulator-fixed"; + regulator-name = "can2-stby"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&adp5585gpio 6 GPIO_ACTIVE_LOW>; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -196,6 +204,13 @@ ethphy2: ethernet-phy@2 { }; }; +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + xceiver-supply = <®_can2_standby>; + status = "okay"; +}; + &lpi2c1 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -602,6 +617,13 @@ MX93_PAD_ENET2_TX_CTL__GPIO4_IO20 0x51e >; }; + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX93_PAD_GPIO_IO25__CAN2_TX 0x139e + MX93_PAD_GPIO_IO27__CAN2_RX 0x139e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e