From patchwork Tue Feb 6 22:59:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 197669 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1871770dyb; Tue, 6 Feb 2024 14:59:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEU7rpTsfdcmZt9puKnH/XmbVNXaBOML7tbd3aexAJdtNIzSUsDSj13m9LlRnGSsjF3gtO X-Received: by 2002:a2e:9f02:0:b0:2d0:b738:2ff with SMTP id u2-20020a2e9f02000000b002d0b73802ffmr2840803ljk.49.1707260387903; Tue, 06 Feb 2024 14:59:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVw+2fn5I3zbWmf8vjn2/R5MCAb9UPEQuOk54J6w9EprMMZTBXRNot1vJG4Va+oewDs4oFantgvNES6h08kA0iRrMKlow== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c5-20020a509f85000000b0055f8efcea96si22013edf.499.2024.02.06.14.59.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 14:59:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55703-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=faS2cI7p; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-55703-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55703-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4EEE41F23EB6 for ; Tue, 6 Feb 2024 22:59:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 392EF1CD24; Tue, 6 Feb 2024 22:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="faS2cI7p" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2069.outbound.protection.outlook.com [40.107.22.69]) (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 864066FB1; Tue, 6 Feb 2024 22:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707260365; cv=fail; b=pVmwxAZmGiHdgylJfDqTh6oIcoVk4Z2ykt3lm9nFAAe8FJoGz+vYZiINl7fsl9Y6V81HPJ94THcWg404eXm0ESQGSWnAfalJt1FKaQBSxfTksjguBmkFSAikDGuf0/Fa4qpnrNWXcSERcefA+SE6SAlhsP0I8uzx2+s5i/BugKU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707260365; c=relaxed/simple; bh=eoSClNdlcVD5D0ny0/Gs4JmVdcow0bwnX4Jw8pGgvDM=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=joz9bFUDJqrmC+hAx4/hq8QFpN0hWoxdtFMN8iPhNQwRQgKfYHgw9rCuCvUZ6JGfBFXf1ILbMipLnaivNi9E7huF4me4POoVjmYqHYDy5Uqb1zK7/WcmZh+g7ASA5os9FHGM7jiPUoS1H7H6O8rSYxwqbedlLu/WizitgbOdyrM= 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=faS2cI7p; arc=fail smtp.client-ip=40.107.22.69 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fDFZ9G9SFeSXFaKb1dv6yWW2HPBnntOFi9Ztob9fnkt9lrEdto/strV9qhgDEwiYddgKu8ARUM1G+bzP3UJV5Uk6QjIqgM3UZVkANQmFNKrYJUZMfHLEqmBO3WAdZS4XfhMhanzmzYKIaTXMX7uLbrnT6WfW1tisVXAghAxzqmT2apLKCtqEg7F3XaiTrKuKuxURMrWufsHNxheW230IUc+l+Cu0ACjlpA4RmhInRu4yLRS/VsHhxHvafLJr6Bip7a6jGE6Bhn/AQK0xBI74M0JfyIEQkWjK0g6O9bjb3hl9uHYWQ8oZsKK8GyYhJA9ffMUgStXoWH62ZVxRQgdMIw== 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=hvDb7vBjThHZvf36phv1oBwttLXZ9vnyKblGLjJP/Iw=; b=ctyTS6MaQAycvjCiSjJ6AI4GY8jZUTwMM7wvweoIe8lwQy3NxdR7Qw5+0KqUHmUnRHSqxwmXIyPVn8i2jsTrZxLTVO6Y6r7BFDVwoqGGhAdYbTeomng+i+St+zqetuuJxvbYWXj/yUAzmgkxs2ovgTT/IjNB0iYvJLSfcUvesgqKlw8ASa8qX8CTo9oOdQY2SIji+WdC/5qny+m5UUiNmKfYAHbmtcW0E+JlIDNR+Je9N274CcDNHK72xOvXNLWOH3nNiKjnllcjbDsEqGmuaQCmAb5RTOiYrqIM5pC2LbFBAtQI63sRW7VevXQJ3jQKnnzlF1ZdP5bRV+hQsNLL9Q== 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=hvDb7vBjThHZvf36phv1oBwttLXZ9vnyKblGLjJP/Iw=; b=faS2cI7p4+icXGwaP1ZPl/JklOJUKSRDbnkAWMxQ0EQ1/OYCxekah2I+PA7coxMSh1bbfxWvKm0SuYH3H9kkHvE3l+c2yjvcpmrMofGneHXHFhJ7fMQ6SVz+KhZ+6Rgi9NM66K9M3OxDsWFL2yylaLweaAqYdefYM001J8X5UCM= 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 AM8PR04MB7988.eurprd04.prod.outlook.com (2603:10a6:20b:24e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Tue, 6 Feb 2024 22:59:20 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7249.035; Tue, 6 Feb 2024 22:59:20 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), 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 1/2] arm64: dts: imx8qm: add i2c4 and i2c4_lpcg node Date: Tue, 6 Feb 2024 17:59:03 -0500 Message-Id: <20240206225904.3565362-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR01CA0052.prod.exchangelabs.com (2603:10b6:a03:94::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM8PR04MB7988:EE_ X-MS-Office365-Filtering-Correlation-Id: e6fa1eb7-53bf-4148-3c68-08dc276740df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b4JFA+HBGB8Vm50ZE/q/6B5a7fUGhI7rM7AyTRQKOeLngYRBBhQcbrwz8X9fZwMkrW6zimtEuaR3U5LA8rQrdEutKlBVrJ+y2t/ADjlB3BQJ1NZAc7+DcrIwwCW0Xj2EvorvwLkqvPC+9LPycAn7uUgvbsUr7qVa9ujREA9K6GOJ3G4ZxiNuZVkkOzD/KdUWzBtaQ9FVCFz35oYIBhQwGnq971Jsbrv3S8w8YhXuEV8YVsUg0MtdGPpIEuPtPRuqsQIoKKv6TyTj6D94E3tyNVv5zqSePmR3WSn5BY/Tv+8qCoqTDdvrm8wikRJFZUei+Ui8loTfFBHAwR5MDUG4Ufd/Ty9HnGWDFQKQ0PbJn4CcNG2Llne2Ql2L/r7FLk6fLOwxnb2xqvEZDBGC1NdCPGdP8vhS/vtPmDYWx/H74v/OzjXtxGlrwkqZozin4kZ9RtLnHIt81EBG+DUkmb6SNuA3a7RER4CqAIKIOSCSRBlA1728hyP/9UX/XGROivlwtgSVoE/xpcTUS/UWrXjIkrmLP7uKWm5YZ174GTQt5CWU9Xzlk3WgWUNZ/7x1GxLhNzLzlQ9Hm8vyXI9a7BGEgd3iCwIk+n+8xlIVKwtqFbKk4UKuhxtHWAfY0/OK4Wbh9lZbwrye/E6SjtiW/bg/EA== 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:(13230031)(39860400002)(136003)(346002)(376002)(366004)(396003)(230922051799003)(186009)(451199024)(1800799012)(64100799003)(41300700001)(110136005)(38350700005)(66476007)(66556008)(66946007)(316002)(7416002)(921011)(5660300002)(36756003)(4326008)(8676002)(2906002)(8936002)(83380400001)(38100700002)(6512007)(6666004)(52116002)(86362001)(6486002)(26005)(6506007)(478600001)(2616005)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WeGPxprIQq4cziCRb9dPtyddLO1klmVyh8UncVbH4QDPDjAeOg7/XWyxgZqYmdkpIoumKixBNwKgQfTvvm4aXvwxAIAJk/qVLmREbaZNdYXmZ922VaWox18cHymnS2alouggae1n8WcMvo6JCLRR4wh4Bkza8KC055u9XBIeAX7BR6RJYIiPT6etSYDNxuLoN0PXQAx1VnNUj9XyOpBFkkUgW5eO3EDSi93JruUh27nSs5iZx0uDWya2cv4q6gSHcHUTPm4nFQ/UPaBodhWk3ipMYPqXvuOVo38OYA9zLpOiUbHalkf/yYfq2zoOeHcYkSSH0vCcMxnh6hPrz4dXZg+o0XVULwb0vs33mJ9kaWsc677Nzdje7vUyC5CSY26qSugBeBvLTC1XvJo5WV7XcDncVFYkEptjBMO0+u+d9psIqEPhE7JeQvFF1HOaYCLaF8rnj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N31dBcv1A+TcqZSlmMrqwhD+wQZOaJL7tRmfYNTZ4L0V2bUFdN7oxtJV/w51kLBCVc X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6fa1eb7-53bf-4148-3c68-08dc276740df X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 22:59:20.5078 (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: NkPS/SP9pgS2KRxlqY8KelK2HEvJ6OPSYooPqi5BEwWpouuR47Lqzyogm7BNvJC+kOE9TIz4Wlx7dXh71GF/XQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7988 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790192268728854241 X-GMAIL-MSGID: 1790192268728854241 Add i2c4 and i2c4_lpcg node for imx8qm. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx8qm-ss-dma.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi index cafc1383115ab..11626fae5f97f 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi @@ -17,6 +17,32 @@ uart4_lpcg: clock-controller@5a4a0000 { power-domains = <&pd IMX_SC_R_UART_4>; }; + i2c4: i2c@5a840000 { + compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; + reg = <0x5a840000 0x4000>; + interrupts = ; + interrupt-parent = <&gic>; + clocks = <&i2c4_lpcg 0>, + <&i2c4_lpcg 1>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_I2C_4 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_I2C_4>; + status = "disabled"; + }; + + i2c4_lpcg: clock-controller@5ac40000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5ac40000 0x10000>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_I2C_4 IMX_SC_PM_CLK_PER>, + <&dma_ipg_clk>; + clock-indices = , ; + clock-output-names = "i2c4_lpcg_clk", + "i2c4_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_I2C_4>; + }; + can1_lpcg: clock-controller@5ace0000 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x5ace0000 0x10000>; From patchwork Tue Feb 6 22:59:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 197670 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1871861dyb; Tue, 6 Feb 2024 14:59:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIzdopiRAt+fEcZWWTkbSRoRQR3f/sgcgVPJKo5OQvOrG8rLgDhqRtJjwPTBzLYx6ctjyt X-Received: by 2002:a2e:6e10:0:b0:2d0:a90b:e4e3 with SMTP id j16-20020a2e6e10000000b002d0a90be4e3mr2558263ljc.27.1707260399494; Tue, 06 Feb 2024 14:59:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVBV8Tribo5pGo3YHdIjdCDtp5V1SORu+V8OEyZt16FDSXassfvRSmCanPJhh3lci0tJgaTmL+0JScfg2xoMHjb52nlQg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc14-20020a056402310e00b0055a393e15a7si30422edb.173.2024.02.06.14.59.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 14:59:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55704-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="G3/sn35V"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-55704-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55704-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E64051F23A6A for ; Tue, 6 Feb 2024 22:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14C5F1CD3D; Tue, 6 Feb 2024 22:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="G3/sn35V" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2069.outbound.protection.outlook.com [40.107.22.69]) (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 BB64B1C692; Tue, 6 Feb 2024 22:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707260368; cv=fail; b=k+edqhKqFJ8nWgqg8HkQ7GVU7Izf0gSVfI7mP0a5ZkVHE+NPk2zjm0hey55+V2J4RBzA6xuUIwxBiyaW4EB5I3Zgm9gEqD28P/dqLv4WRjT258xr1iiMzY3CCnxPnLKCXYt/8R9ns0KgJiqjxDU/NZzSaJb6yNTR0XOQLmtKpFI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707260368; c=relaxed/simple; bh=pJ0HtBmEAPbVNQ/dBOcJhXStc0Q18etg0N4FKzXAnlk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=h8OGVkXHAEqQw+fPF1OZrZXukyZlSZF6SruelEHyX7n/7rGZyliihL1dWqWO2uqmlKbqn8PrDcVTPLqryynQ305H6w+M4vylXzmb5l/hjXAS5iB0IDqAkap4LsDtv6mS8Qaz7ItaHtELWKbWrjTvknDSZ81cDBHltBzOn4hmZQs= 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=G3/sn35V; arc=fail smtp.client-ip=40.107.22.69 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kP336opBU6Gx8rkNM41fYl8Bp11NL6ZEdbDx/bOoZT2pw4OUqrl3HZveJM4pHpRSHHsAg4kIyQ8iKg+0XSkj1irmjitTrKTRQKPvsfZmJWwGFmUYPLDzkoM7tt0yaODknnmIMcvDpEYCt4nAT37riUaRbJ6qDXghVOGQyInFkOn9yzZuUiHE8GoOkYuN0gVFVElj2mvD4gIVeg8OiPDnB+WrGenrECWE9avPYkncvtEGc7X4qYXGtj4b3+Ggxae1t6xZBvPICC5YfkfgAAI9uqBe0V1kzykbtUZFrx8h7fwpG8GoSdIXCLxB+cLL2odmk0ZwYeai2P674RqN744qQA== 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=pJGW9x98xoumygXNL80o+j3YG9L79ihJ2+McEfQsXzQ=; b=SBuy5HlGBiIqxob0hMZ/KuiV0YrIP9IyqriybTQ4MLIEo+VN+lG+QZyhxd7SG01QiOQYVuVmgr7LoQl9ewDpnV0K2VJ/+cFDEs0Au0ADJ1LswE3r8VY/5hJdwnSYeN27pLnr5Jl1ZHq6TigYcW+E7ZrCtGq5ohnG6A5zrupV+akAzM4E/VzcU4pzlc01dcuaZbQctq5PFbUArSBFD1g6SI1rZ2ZSuwem+8ugoCo6uytr7h9gGRbbGEOn9MND8gYagn6XEYaahPiI5P9z73QpPRh/1LFBAQqHtzFMo1mmDwS5qa08hbprs0xQWI81fJc5Uo6krB1vMBR0+kSiVOvwPQ== 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=pJGW9x98xoumygXNL80o+j3YG9L79ihJ2+McEfQsXzQ=; b=G3/sn35Vvh/T/GBUXzXLHHB0yIQkn90WaBHLb52PrR0UWaKqMgHT3svCJG0JGJF3+YlbYvD327VY+9rCBSYujb1MYqLHdK61bjIsHnoDTPDrzhJINmUP4fTqP2RMfCV1rCloCffsnm84G5LDDssZ+YxRYZ9fnKWbQJdDSKkXdW4= 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 AM8PR04MB7988.eurprd04.prod.outlook.com (2603:10a6:20b:24e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Tue, 6 Feb 2024 22:59:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7249.035; Tue, 6 Feb 2024 22:59:24 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), 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/2] arm64: dts: imx8qm: add i2c1 for imx8qm-mek board Date: Tue, 6 Feb 2024 17:59:04 -0500 Message-Id: <20240206225904.3565362-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240206225904.3565362-1-Frank.Li@nxp.com> References: <20240206225904.3565362-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR01CA0052.prod.exchangelabs.com (2603:10b6:a03:94::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM8PR04MB7988:EE_ X-MS-Office365-Filtering-Correlation-Id: 049847dc-1404-4c5c-a090-08dc276742de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0YGOPQDxqGolqkSmdan2ScSurjLaStbfA8tvZUTRA9PexwSDd+4hcJ4XtafVT/znFsrBKICURvno2ijTDX4n41FVGs/hJontqdnsDfACE9PqBqhyFHNZGumzuVBviRC7otDs+h9gCcDk371SxBAAYtZHnwNtAYqD5gt5wMsIa1l5ngGvCX1cIm4O2tvdofi7fWrMs6RGZ6KSzIXwnzU06EBfzoE0qfqMROXHRCmhgPgpgdN4b4osLoi/NJVRSar4LmDMd+dXUO4oC6MsDsFp6dao2DGKzklxeRYd3rBL45WiIvgTPkgGfxEY0iNOFVceQZqNdNn05E/hOX2qyaydZ+VX90tBl+L/Z6ZZKrAD4oAkS/ooJH3J13Wf2vfDFTu1m1vTYXhkRaldIOez8V4/AjmZ7Sl+mdypgJ7+bsE4Hn7Jh7ptiJq5eDTvI2iYdArZMzQS5POU57pp783ZtKWBDW4T+1IvywoCuDwheLY4TFM1hSFc32DB3RbFny1cuRR79ajYr45ghRbxf0XfqKWYL7mlUTm7J28XYcv7efLq/zDvR71CGnr5aKp5ghKm0QWcqsH2nOhIAU+EN6x/WJU3q0aRAm5f83m5JiDVzqf7x2737IORS1ssxcxBVWo1FfPt 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:(13230031)(39860400002)(136003)(346002)(376002)(366004)(396003)(230922051799003)(186009)(451199024)(1800799012)(64100799003)(41300700001)(110136005)(38350700005)(66476007)(66556008)(66946007)(316002)(7416002)(921011)(5660300002)(36756003)(4326008)(8676002)(2906002)(8936002)(83380400001)(38100700002)(6512007)(6666004)(52116002)(86362001)(6486002)(26005)(6506007)(478600001)(2616005)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiS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pFNqZoQYzkNWdAGiRT6Zza4LH0oMfIgfv0se2UVdTeKIbPjZ4ukonjh3bW7wFkQjmrUZGUholvqxwtLf0RGDdC/kl55C96hcWNrV8tSEeHm/6LD/TAAPN+pR6+/DbLHeoeAk3pclvHqIx1EQmeGHzOPiMwYWdaPeK6dcRZKN+0FzJcQVyHmC7yDaJR7Si0xeF8L1MY+UwCpaM323SARencpPQeTorBE4Wd7YQe+FEn/ny3T8442uE0VuBOIh5e1h0+hNnndymMcrV/JUOPaOUKl8qkmNttaHqMlSTcbznPqWva1Z6knQQq2gSu7Yzijy/6Au9RMz54udo4kf0GlOt+o0iT7spRu9ZJYbtuDuBWBgMU4mk7rd2OSw7unyPb2x6dBqD8zfB5bnjc22hfY8rYTX2pj1tSc9xvoX+lrCcJq5EWXP5Ql6+Yy49c03OH2xHHgzpO+JlmtZll376Ld1VOgomnqeEvFlp7zXqF7PaiKJ2J8YzLXkl/X57A94fPqXrD5bXf94PN5YC50dK6yjBviBP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 049847dc-1404-4c5c-a090-08dc276742de X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 22:59:23.9717 (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: E+z0GIWp8R0nb6zOacKLC1XvOcbxs2IUA+REPyttmC57MamNRXzSJsROrU6we90tdvqBD6y4iQLqLsvbxNuYwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7988 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790192280415473846 X-GMAIL-MSGID: 1790192280415473846 Add i2c1 for imx8qm-mek board. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 6d50838ad17de..77ac0efdfaada 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -41,6 +41,18 @@ reg_usdhc2_vmmc: usdhc2-vmmc { }; }; +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&lsio_gpio0 14 GPIO_ACTIVE_HIGH>; + sda-gpios = <&lsio_gpio0 15 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; @@ -104,6 +116,20 @@ &usdhc2 { }; &iomuxc { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x0600004c + IMX8QM_GPT0_CAPTURE_DMA_I2C1_SDA 0x0600004c + >; + }; + + pinctrl_i2c1_gpio: i2c1gpio-grp { + fsl,pins = < + IMX8QM_GPT0_CLK_LSIO_GPIO0_IO14 0xc600004c + IMX8QM_GPT0_CAPTURE_LSIO_GPIO0_IO15 0xc600004c + >; + }; + pinctrl_fec1: fec1grp { fsl,pins = < IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020