From patchwork Thu Nov 17 09:53:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 21529 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309501wrr; Thu, 17 Nov 2022 01:57:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6CwlQ2WhvEsgVwm43lNu4eDl62UhA/f6nNjJhMqvtwl9uCkTMBZnupwmxtz5pQcJ1rk+xF X-Received: by 2002:a63:d556:0:b0:435:7957:559d with SMTP id v22-20020a63d556000000b004357957559dmr1376992pgi.122.1668679042271; Thu, 17 Nov 2022 01:57:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679042; cv=pass; d=google.com; s=arc-20160816; b=T52ygqlkcgs0o+tBDd4U6GdbTJo+HloPySQS5pkuKvFypzWdW5ECtXVzs0TB6yg5XQ E/ruWxqfaytbSIM14R4KOQiqAXXRO2jXwGHXdXS8FsCuvbasJzbd0E/EqdQMMljFGkQy cWy4LvfSbKDKfa8rx/51pHDq938q53Lae6CO6YWOQKTdKNeFMa1QGwSyLnUZpv79kDvA qdINlnDmYpqxefd25YsBDLD6Ggt5/yf8pKDODWxKM6x7IlQS3/sQKpyOZFhCVeaRZ+Z/ Y29cIsQJLFfrBtzlsrDbQ09MRvKjTbgTsmvsIn05l2va3xw8W1NOaI5qN6Ne1wuRLV+h nozQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=iwMa35Fcnh7wNTd6Zp/AavIttZ6ZPgN86aFc9JsscFO8X9sDw6Wv+bY2bWg2SfgHm6 0avDeyHYr/aDWOsEDJH61EAcMJCxi04ke1RcCqPNjgJ5C2JVmC2lVUvtv8Bzg6z114VY MsWV/384tQF4sxZrzRIRlgwjtkq1JR3VyLozz1uHGThbF5zFCS9C3/oeaeGnPksAspzk dcJyRY0yxksO4WREgAe/Ci9nt42m6N4BZMC9QOwi72990WWsxILCiMSavA6lYHZ+btfU aX9dCoMBTbOm8hm8eE9FZTKdutehJfnEn9DL54DW7/nsPYZwhmvasPdGUgelcEER2a9m Eetw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KtzL9Dhl; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020a631310000000b0043aebb63fc6si649730pgl.81.2022.11.17.01.57.09; Thu, 17 Nov 2022 01:57:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KtzL9Dhl; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239473AbiKQJxd (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239465AbiKQJxN (ORCPT ); Thu, 17 Nov 2022 04:53:13 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFA60716C2 for ; Thu, 17 Nov 2022 01:53:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SGKz2z3BI+qC18RB5ASLxhgfVANN9Z0RKBOTPkiy4lXdDqnfLHbw0pN/PCuI7YYzAxUGTddKqDTuyeJxRoUziGt3JL83tIHxlKAFq5UixglFjnoeoqXWzX7Sm6qpklfeoQFof1m37F8jAoHCyiMuUl2jWuWDqR7cj3aSTnFrZEf8ev4K/B314wOr3qu+/1TJblhXlwOb3w1xpvfgEK7buumP45wersX2tlQ/ASkFOHw96/GsJ0IDl4juUkZT6DsaIuKA7oJk/UflLkyAxV3X+nkWWLgiA+36tf5h8xup3rzrgtNbPFJ6plPOq+JphteQXzTSLrKkbe2GAk0fz2QWLg== 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=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=Mrrbd7F8rpk4CU07RlIPlzoUldhuMHnU4dFQbE6Oeqic64BcXjki2jwJIjgsPXLWQmnzYB+OEDVUKp54QeGZ7NdhMxWbpOqz6heGc0pKKvVHBrPveTWQNDw2SmVyVs7YsPba3jZSsv3a/hXXQ38DbH0vmZTbngxBEL2ad4vb9eYvqOvkcAnwQO8QvpnAZnFBDQUqy2DYHNZkEUFljBpQrCGAsh9BHK5abBMeJvmJZKftac9m1DuKZ2iI/pMUouLsDRxZ3kGF44yjpDqgG4mZw5IOXuatMH6W7ibmHe3O+x1kZ/xFiu+FDfS6zK1PtmMRygvNXq8tnRdy2iMvAeNC/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=KtzL9Dhl0J91HLNsv0wnL+3toIDASAKCOSmfdoBzT1T6R3GwvBDvABcaFexzkmg60UFwChwpSC9s3lHLiOwkLCx07efsTmo3vFnHrHZGuvTYOAhzlXzD4Jb1aJ6PZD0zYEm2W1C6NqgxcGOjPZUSS/MQI4D1AReCx/6wu6kLkkU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB8469.eurprd04.prod.outlook.com (2603:10a6:20b:414::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52:57 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Thu, 17 Nov 2022 09:52:57 +0000 From: "Peng Fan (OSS)" To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan , Marco Felsch Subject: [PATCH V6 06/12] arm64: dts: imx8mp-evk: enable I2C2 node Date: Thu, 17 Nov 2022 17:53:57 +0800 Message-Id: <20221117095403.1876071-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8469:EE_ X-MS-Office365-Filtering-Correlation-Id: 470fe2b1-787a-4e1a-866b-08dac8818172 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CuSJ6ph2gbWTNxk9rp6fsnCmAjoUd+cIDEyI2rd3Y4LT1yioITGnd+pOfkGEmtV4OyeQOURxIpNjotm9uzJc4mwPALriqwDO0FZyhKbkkxQXmdvxub7m9meoOTH00s/gVnKGaO/MUjuMDxM+6A0dYEiJSOpQAuvMf3GFmOJEcBHGLh7pfcMidS4blLNY0buokE6/MnOIf9P7JZqPHJG/vnsKmwhs/dR+0+R7lxs/RAJwqoDWTYvePLPh2eX/O2k4jYOyK+uhpLvxLNPPDG7upc0fEsu0N7Yj0N1LSEcrPo5qTbC3YCta7hqCIwqvy0a51WKfX9M9gVxtt6+kCAZGKaFVybdUSzSR/+CcAOPvsf/vIjX0KcCICzfSnyMoqbJ4wKVWvVB9vEBp/auUE+N25AFDhq4t1y3b7JAz+sFQqnS6aeCNVZfPdP29Te8nw4pnRziFIWY7i8sxvcVs/58Mndn7GJ+UsNJKEVXL76HqwAYxBlgKhJPkIWQ25BaJQALYGNAC0cJHUI1tTGFTBKORLFOQcjgCo7oc99IGLt2IJL40qpqXIeqpkZ7LCVmStkYhE5MBYYFZ/oALXuGdk1Eas0gs0yVhGlDj/6ZKrwPWdT2RsuTmsVHqPSr15XkuWWzWBE+FYYiA1vuoApF5im8sHv+M7QdTRqqTqNVAXvVrJSlb3NHldA/z7YJs9U853CPDaRgReMpdAXKNUvEPGRyZP3JoHXlwXwBTCxlD4WjNsW0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199015)(66556008)(4326008)(66946007)(8676002)(316002)(66476007)(8936002)(86362001)(41300700001)(5660300002)(478600001)(2616005)(186003)(1076003)(6512007)(52116002)(26005)(6506007)(54906003)(38100700002)(38350700002)(6486002)(83380400001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7Bo87dsJ7P3EcTMWV1ol55jrmh/yLfKeE2oFZlueLngU3JnHXVHny2iFSR1ScDDXEyr/eVOatCve4H2fVGdsdnIANFaPDDXYtqolxodF5XOTzZLN8OMA4rUM6VCtpsekR9K/M8gyGeyL2uJEuRmjdqmt0SEq2reGBkmuNhpNm8J9UBTQz78YGMGKJnkkKrBadX4R7KPWaShyeHLApEXv7M1fwvo7aHSUA9FeH1WM7vGaVpqoT7OB8z21I9qr2rUUcFYRQX5EdxGf5UlTFbgt9ZOifqeKrrWQBbzUsSbBXVsj5JQ0pRtf31Pyn+vL+UfeXD+d/C1DoE+EZEcmrSM0jtMZo45zB+jjBmVnLG9sIRPb+2+bjLBWxKpOwhfSL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NuOYpo8N2aWjBa9wbaLl+ihqavpnLm76HE4ia2e8oGorzQP4vr9OTUI+Vz33ddL64fB0qTfUZ8W0Xp10qb9nCiquucmp1KhIQb80BfmdnLdl1Exkb9jzKpqR8T2o1Y3q1CM0pzv3H X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 470fe2b1-787a-4e1a-866b-08dac8818172 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:57.7720 (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: ru9T9nZkf8sJcuP/INg7Yf5Maptin1IXYHFNIkuDV3FDhscmCsPCEyWMFRQ+oip/J1NadlvfiEP8iQ0/JELC0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8469 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749736795340544012?= X-GMAIL-MSGID: =?utf-8?q?1749736795340544012?= From: Peng Fan Enable I2C node for i.MX8MP-EVK Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 4164f69a89a6..878d4a752090 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -331,6 +331,13 @@ LDO5 { }; }; +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &i2c3 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -589,6 +596,13 @@ MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2 >; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2 + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2 + >; + }; + pinctrl_i2c3: i2c3grp { fsl,pins = < MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c2