From patchwork Mon Jun 17 22:30:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701506 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2064.outbound.protection.outlook.com [40.107.8.64]) (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 DDF16199259 for ; Mon, 17 Jun 2024 22:31:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663491; cv=fail; b=G7T25aKdQ/Cdf4IAK9gSt14MYt95CgHypdO/H3OHXeLIRZJIEcrwmitsii4U4Gu/+jlNYiTCXaNu6grsl63gY28bUQEeNa2jMw3k6haBUFWgs1kPkN/UO9nZkQ/jaXypERokGFNiNQhFXXCUkYRp4ht/wPv6TaebARziE3OdhaQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663491; c=relaxed/simple; bh=cMLIOvUCj/Y4zmra+UheYgD7P+iqAnA+MXctfzTXp4E=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=DRZaXrzi5qWucu+oMHUVAqzCvJL+fgMDrlmul9n0IhFwYhtOvBUsuRWbmrpRDQnO84ZSiCHa/km5VGs7MkgDlaXuKIamAOL9Akj/iaEYm66TPcT2XHFZGtSH9+wMgtXx62NAHdd8SOvgxmOBAC2Q16zFebsiv95kyFdGFg/d6rs= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=IBiTEVS1; arc=fail smtp.client-ip=40.107.8.64 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IBiTEVS1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hj5YqVXjqTfcNqv9mVWbWwM5k5rmaO7RxlzP6bafAbBc4CRKixhApU3v3I4wIKAARto0XC6h6LIdp4UhhzmciE+w/TlT0E845pcBGhJckESEyOe18o40cozXjHx+Y4r4M3aWmRo6z1IxdogqWacS9gNX+Ex4zhRqV0MjOaUId2ycTNZRTEGAVHZ+1Try+jp8AtgRISR/Wv615KzilPbDuUbQcX/C2oLAiFMhU4/wWGsNUBi1ODifR87UCQMYQvxmSSyJdx2u5/6TqFggjePdn2OFRSRFPt+3Vh0P1SW0N/I98ceEIfjeLG/a7ea4U0WW4ec2uLDmgxLkl5UprFUi3A== 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=DYmxut7514DkHGP1hC7LqCbp5TlWPtrvt2IceGQBlKk=; b=klt3+e1g0pZ1kzuxMXPbAdPkY9i4XKqGYmzdQBHCAnRzRU+hyb78Qy4fAvVZt+9wtaapgoE4wO7xX0gVSenDT0w+FHOmBzR9SN6bZrFVVwjf5LrpLUEXtlYMbeQKHafodivFNYSAClKE/B7nb74mr79c4Sfx8a86UDaMQN8OQ4GVlH7OamEzSBOkgBa6fBDbCNrGJ3NlmJhOO3a+0Lemq9KSSu2dxr4AqIZ3Fj3vofPPREyK0c+B/pHxxWjqKBKkeCflvJ9u2MkHeL/v55cT+ky0zXjwplZB7i7V1huo1a0aEB/ZatBbzFKb4kFrveQZ7gOWx2fDuJ+agQI4/akCSg== 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=DYmxut7514DkHGP1hC7LqCbp5TlWPtrvt2IceGQBlKk=; b=IBiTEVS16vbOsH6sonfToSjYQRv1ReGB3KwQ+CFTc0CQp/Lr6newN3pQw3mWfepOWyrxbuF1flmFRUSpZaeotIYqsAmerWU5K8xgLxBagsw4tiDhGTXoNo8WW30fP3gfZUCZIGtvefW65kUzQtztJIm/WyQqLUW0PEYJ7MxWpBI= 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 AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:28 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 22:31:28 +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) Subject: [PATCH 3/4] arm64: dts: imx95-19x19-evk: add lpi2c7 and expander gpio pcal6524 Date: Mon, 17 Jun 2024 18:30:59 -0400 Message-Id: <20240617223100.1539796-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617223100.1539796-1-Frank.Li@nxp.com> References: <20240617223100.1539796-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) 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_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: 200dbb7e-a28f-4535-e676-08dc8f1d3aea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: S9e4Gs+da/VPRvCrhtmOzuxCgD/m2LqCZy20NcS7oRWb0u5bRfusnHsdVbimUk+tH7Fo1LWT1R0hc6MlM/TtDxrthUC1qxjrbi/VV1quYb+BqLguvXj/uPZFM1kHX2ROZiOwx5uwpfMpJ4jfYuVuAMlFvGVJJ3OXYKyfFOWDzRbuBx5JeowSNEiZ4dfhdXjgud9w9lMySYfgl1PPrUl5BeN0qcVou4Adh+e4AsEBRbyWfqh/DP+750OL00mVIKK9L9HDI9HGKuZ4n54T0a0JxVkniuk2iqIKvpHr1NDEUdLSa++im8zJKC3+k0Pe3GdLOBOffR94/WQwuDAVhr0nbfxko1alsiaX5lDvLSwsM4VfL0faGGlL3ubXrSuVhzVmdZt9c1j3wjFNYku5HQI3fv+2bOU7J6TbEArzs4LCbz9jVB9yqjhqtZeTTdlgrFMhrV4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E;SFS:(13230037)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +JMXAtbkoE/363IA1xkCLh1OyCRIkWOiGRIo/auWsiRd+FyDmkYxDdwKbg+pwLZkVXnX6ImrT4Z0BOi4p1AoYumTdvzuJarWKw/Uf1uhUQOqPt+thUuRN8Mzv3w09olNVALF633OL8ckjI3ymn5RBCw/g1F6iCsHgWWstZFb+UfN7QqSWona3iXlzgGhueTugJps4kg1XPme9hMxIxEMu6q69FrHNww3zKpoyOTKl/r0X2zYjJ5ZEtr56/lGnLgqwkn8uoHBKR8MfXRhbNpzypg8hYjaCk4ZZKfQE+AA0slxqnZWMe6zlzuRvqUXJlL+cPt+ROxUFCP9S8h9kEUiGJWxd8IItjCap/i9g+f32hN7wz1qBE1WJ0+tmjKflD2lkyTBPqWZIU1GCOtMgszsp3omKpTc1pc4UaoCHU5HaSBGPzrqQnaV63Iy6mRdZK1yf5r2Te8mvBMYL5KqxCD47PhjaQHip5x93YatZEmQvAZRAzBibnJtX2zkBdfv+0DL7M1G3ZCE4K4SJd4A0sXW+gCqo1Kob+YBN7M6wRwB5mmlTyKmdjTZknRsZTbJqyEr8VojIQ+G2wds1PGtx6UIHMM7+RcRf8zxYAhMIOR5io5AbdDfaCxJJ6ofR1guwNsc/uD0MnRTjgMy+BIvAiP4LXtLk08UoEk8pDseBraAADAZlseI9WNROk8SCDEh7E4ISg608Qrf7HkB3pfndPVK9nI2CcIXW2AWS1d7784w7wQ/YrL1PntiFrbJZUa5j+ScTJXlaW6Gm3aOTHHroKPAxCLAkGSrLXqozo15JEkZqwqSSeXtv8fa0KPYwriAtZ73fgKPV7VWmLcDz/1Ee0lpe4iVR6oJx2fcqcOz0KG7PK924x8VOiMjATTVufHNaJ/I1ePw57C92l9l9h4mK9PZtf39ZTgGKd/pPZsrZM2iJDXHszl3L8ZLOeAk7nhH9FDL0hT6OG4NY4r+nw60UAzVMgz0STtLaxZerG2p5gxZq6pwjCVTlagsiPkWa3MJgXnQueII9UWBDx9c6yRY8IwfSCihMzdfqZV1il/KlXkkmxL1KUppLoxV5ZdSFY6GhWlXT3Qb3f22jZnWR1GcEGsoP3WBqthshe+DLOklYiK5V/FBW8knf1AylTn9TOf1CHSOPtjHHB5Yv5+oHvyYXaAmX//aKOiEWlmS2oQSBJByUVEJfQe8icdD65334VBhGGjOVvxNFBzgX2R5Y6GKo/L3wKJxB78xft1SBWcVjFkERuq7cYgfo25cD5oGJWR7z9w+7JKYp0H1uk2fMK9E1B7XXThjyRztmFz8sqXx67WX56K5HA70KSTMkiy0nNprIf5VGHt+fUSs22fCEg/D7p8WRStv9SN5lWiPEeckTZ/4JLk2fmRAV7W7ly8eh/02H5r6/sMkXfu2g7aF5KXg5c9WKjCIo6lEKGbHQa+5xMLpW7boVc2FoadVp4aAzVBMa005DhBQLCCxlD4rZu+X0kPGoAj12+hQX4TUPtPPwSY3O7hnwjmaLAOUXEnaxnQUzKV/f0Vh8n7VA/197jMEXwafb8jQCmSOmcm38zM5/GzuAZmbP+NaVVI8E0XPNkrBR+X0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 200dbb7e-a28f-4535-e676-08dc8f1d3aea X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:28.6389 (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: A6d+ichqh7tmwKTlUOBdGevsoO+ogPoZ3OZQP9zsSsWObfCV8L2DZbjpNKNT08RkSweQI+tkBA+NsfI0qktGOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add lpi2c7 and expander gpio pcal6524. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 675abb70aa18d..636907c852e78 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -53,6 +53,27 @@ reg_usdhc2_vmmc: regulator-usdhc2 { }; }; +&lpi2c7 { + clock-frequency = <1000000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c7>; + pinctrl-1 = <&pinctrl_lpi2c7>; + status = "okay"; + + i2c7_pcal6524: i2c7-gpio@22 { + compatible = "nxp,pcal6524"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c7_pcal6524>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gpio5>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &lpuart1 { /* console */ pinctrl-names = "default"; @@ -95,6 +116,19 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_i2c7_pcal6524: i2c7pcal6524grp { + fsl,pins = < + IMX95_PAD_GPIO_IO36__GPIO5_IO_BIT16 0x31e + >; + }; + + pinctrl_lpi2c7: lpi2c7grp { + fsl,pins = < + IMX95_PAD_GPIO_IO08__LPI2C7_SDA 0x40000b9e + IMX95_PAD_GPIO_IO09__LPI2C7_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < IMX95_PAD_UART1_RXD__AONMIX_TOP_LPUART1_RX 0x31e