From patchwork Wed Apr 10 07:01:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joy Zou X-Patchwork-Id: 13623647 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 954D2CD1296 for ; Wed, 10 Apr 2024 06:54:05 +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=pQsR2XhFUzTFGL928h64tVt+W/VyEPw5Uyam8i/84Tk=; b=4WY4kJc+yEZrN2 WShih26vyKP1g0ApRpZpJdLZJlGoB2jvvi1ct9Gqb12PExkcxdrr0uZNBvt8Ee+aLYSGE6mC6Zteh bLp8XJILTPsvM4D9UjEbU5JAiUBBdkiMm+9NeuQE/swrbdq5vI6SnZaPqzG38PyOv7QTXhUXAmOpF HPxzX9e+9U1f20jzKdyVG/WDB7lCKy4XJelwWL1Bxg6Hi2rTC0HQeWO6lveOkGx54+pVeTeajXbzD 3beTEBEHoexyrd0nX/Yz3SK8X3PlfClBIwHRb2xxNE6lrAPJBbZoRvAQicsXZiyOAs4c4943SZvx0 cznZN1cS77TGbooKf6OQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruRqE-00000005Ud2-0nb0; Wed, 10 Apr 2024 06:53:54 +0000 Received: from mail-db3eur04on0719.outbound.protection.outlook.com ([2a01:111:f400:fe0c::719] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruRq8-00000005UZ4-2v6d for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2024 06:53:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bUE0z8wDC3Ayr0ZgDREy8rzvgkstQ2iAf6N/zIm5L2Uq3A4X9vwEX+KLi3FUvZ6AFRf7JoqgihsxCcAFBsKCwIFpCcniXG6v4DvsJ1oNBVb1J4r+nZMLTJkouqeyZBzfDc42xdiMhsrpaOshnYplzP1opRA6g9BbbHxA5tkeMSxlM6F/JpJfZU4xd+EOBaLqVgxCkQA/aKp1Yh7DywbuQ+JjJ0HJ3rcjxBKblosuKYR/faX/3BuDpgGBlJTv7DHFcP+Qg3Z0Pzv4s8xBxQaxW6aceEliuHp5Zp5u3qd9KTSaz/+ldBU/YX0ZJ9BsRJmaah0kptXszbJY8g1G4gpqTg== 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=Dxl7/m0qUNhnY6R72lpDaaF3WX6gYKYl9vpO6j519K0=; b=ZtvqN0ouNSSFINZ8BZub8bHYDCX4lS6bW2z2LPCWmhgweRyevv+eYW2EIOaZEOeH+b6IKATfICZe7EtRGV2oTcucvga6nYKB2hZn+Lgc9ZtLHXs7j+UOJ+TaBwSYUoocaxwYTLaaZ8UL+oNqKcSyFSGURK9qlN3TH9J3TQmEW/lEiuJJJlmHUp+XnFAxMeRjKjbX44bBIxJl/c5bja6zNcuubSMUcFtt+RnOtp0jy7kdo5t6BAqQMN54KTsTlrC/URKI4sCCpM08iSzlQ5Q8GeAyM0aGxQVhcW0iOBmtx3gJPTWfls0A0i/yxYcoN6hF8iwiiGlcwvG7AwkopsAhQQ== 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=Dxl7/m0qUNhnY6R72lpDaaF3WX6gYKYl9vpO6j519K0=; b=EQgM8NtnyoR4sdW4hT41dAfrjTY+aE80JC+9H6Z2STSsm+eVAFPUOBlwxMXNJnhmpPwnlvVoHHGsg0ic+SleiD0wz1IGKZ5BYkWLTkHQjtPEFWbp0+s6vwedFSjvfh77lCmBRcE00IYNVTlg25TSm2c9WiXfscQ/c3IfgOng8AA= Received: from AS4PR04MB9386.eurprd04.prod.outlook.com (2603:10a6:20b:4e9::8) by DBBPR04MB8010.eurprd04.prod.outlook.com (2603:10a6:10:1f1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.54; Wed, 10 Apr 2024 06:53:39 +0000 Received: from AS4PR04MB9386.eurprd04.prod.outlook.com ([fe80::4f24:3f44:d5b1:70ba]) by AS4PR04MB9386.eurprd04.prod.outlook.com ([fe80::4f24:3f44:d5b1:70ba%7]) with mapi id 15.20.7409.042; Wed, 10 Apr 2024 06:53:39 +0000 From: Joy Zou To: ping.bai@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/1] arm64: dts: imx93-11x11-evk: add rtc PCF2131 support Date: Wed, 10 Apr 2024 15:01:28 +0800 Message-Id: <20240410070128.1506555-2-joy.zou@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240410070128.1506555-1-joy.zou@nxp.com> References: <20240410070128.1506555-1-joy.zou@nxp.com> X-ClientProxiedBy: SG3P274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::20) To AS4PR04MB9386.eurprd04.prod.outlook.com (2603:10a6:20b:4e9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR04MB9386:EE_|DBBPR04MB8010:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: olKe6vhXYenghbEMCkfM9oo80tHPDOCObhBF9wVQsl2SiK1eAy9IEDTQrxYSKSuQF171kdSB/KpxCYfgJopjAnUGSq0QFg950PmTOB7KHyMuwyMgPY+xuN639HIYlpNHIVDSBGScQwNPA+h9Wm9kHk3sFomRKeTEDqsRXl3wZ9ahLAslfbwkskDQVr3Ur1lIs0/cebCtqc3LbNDtrZM6UzLCj41gDNc0sdeDpr9rmIuG1kriomzuWgRcYUtGQ+myRGhzT+1QswvtRUNwHMEkT7uWMFLiBaxbwy0LWsHhslgWZmeYE9EBMmB2vCW9ycLJfBgLyVDasWMHdw/7Pkvr8Gx3eAhrlzZUzUlf8hKxjNElJiSDeGp7LOVlrtEB1BPLd6ZLGPCL3TuvnGnsLgnD6gtI2HK/xrD53Y8K5Y9zmfD3/JcPNTTrHE+f8FOQ26ZL11Z2QGvjUT7Spw7nTvJy5rKHgL49DyWr+NWtQZ3SaPmTuIx8J0zgRRaS6hMrYmG0YOw+kyoREn3WOXtRMMArc1+eO0DzPk/pQmhv4BV0rhZ24a4AJHUG5yS/phTx0kI00C395r29Jr64FzlZOS2J8ReozK3QBwKXXxz2IoBk9Lp5wEn31A6lL2Opi2lHy2QJCKflo8+/OYehzv+ADZpoOd2L9fC14/y5vSFDQgP8iDu1v7RJXqBo/GPqF/FQrsZPGDFgj0AeRgukg1czJRTWoQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR04MB9386.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: w1ZiKl5VK83LA4r4XC/hOAfV2YHg2TdJNq/K0r9tdiSmabG/EjVN6Vay/xw//2Pk9UJk5rycPLDktTcGCNpiA1FlMZoTj6KupAL26DICWI25Lt5vjoaH8cSDVuaP3fYfALe7iTdF9MJAHXhh/B873twQBXjAnjE7Iyf49r35WCofKOuE8wAYJN38e8Qzh7iJ4cMj/t0qdPRdgtawNHZmjnli8XHjv7YUJzJAG0zWJz+mV+rhzfck/Da46rM9kUOXT27/EqLXQiNMV5tNAvVRidaw/JB+bRQ1PUCtEWe/XvYH5Uwat0AodTfOivqWUASgV0TgHD2Q/0hY7i5ew4RR9UGYlu1YkNNfmeZ6hEkQxTLnbcEEtxphNrf75esnMrh5dB9U0Lt6E9Ys5v+NQ8N3ctovCGl23oNXdJfozLlfFKuwXFlL8Cyeqf3vDF1wgXd90GYCRuug2vtlXK4ItD48XQkTUzLeZkbfG5HNei8fgAMZaaM7Xomd480rflvb2qajbE/qTyH7Y4POU93/FbZ5OS5wy3+4UzcCBYPMTZtNH4rH6DlDmrX/QA512Z0lqf7+4Av/lDfONSlCMHHdBBYjyTUGgkqlEWLaaW50rJzfiRaZkGIAysI31RAtVf2Htqq8y4HV3H3rEkbAQBFcNMytaQ76zSRcNVselYDK8Tzz0DLy+1d68rnbIcYrzgUAuCn4ZoxDAJAy+eqPkZwxMXBG/YPNvEWZ/YpwVNgNnbhjyy9uz0DxmPKy81iOnY8RtSfnvHE5uesyJeqJbekf7iascglUjVs34Vjw9n8dTq9MpG9Q42pxngJPlrvlo5mtIRKBDHk+nbqsUWDFBEzenkKDolsrnWeqaWUqpaedH2Vsgda4CtPrpJn2YVgqGm8HIdf1WUUk77t54B+OT/6txmaGQSYRgbWsy7V2VSjO+4TVG8ftltc4MPKL2g+YZZyY7shtJyy1heL3z09BV9AYinb0kWQAExJlWB1k7T1pZ6njUAVy1lS9U/TPfNayI55sqvJFqeu8+Ug9rhzN9V2oX5551GwwILhYxqW5phqJb20kCqq+BOcFLxkw0Ihvkroj4y/5RCzGdLrr7bbHanNPBuN0Af5jU7xmxRrdYSSgG4mlwxGBje6rx69QuU5kPlMI65V8fuLrhGcDDW/q57rYfqftfKLKhra+pyCmAHun0XlKg0w0z5ztzT37oZJWDXcexTcmjQa5m1f9Yasl+KW9CzzzpZtPykn1OzbYfLpyOa1HusOC2De0ZrGEgMKrAdLzm+jb83Z7c18aNCN0tZBemQ0te6GTjjKzymf5099onAaK/i7yPH3kZSRSQA0wFbYvFA5NZ5optuTMdsoMMQ3IrxIx0pkn+ZXlAb0Tqecwf/SWsuyliSPrySn6uU/8NamU1Rk7Vb0IC7nuCD/IGfQNPjYYgApP8l/xZgYFtFb28SkBz5EIk7NXjvt1ni9E3Oa7wHmFOQhFPnp4NOQZGJ+NE2shQArn+lW9iaKCnm3zC4AxblSXQdEJ2WK7WPnjD1OsPWEU7yQO7h3/1kt3wYcvaDAkg3cneJGvvPrTSx+R8EPvC5moxugQygfwNPLZmQiq5qEG X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40124464-8a20-427c-9567-08dc592af3de X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9386.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2024 06:53:39.6619 (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: mG7cgLITdjBgF0TPClahZ6ThvzLw9cdDX/IcucK1+CEQOIiQISWbcYBf7WKecx93 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8010 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_235348_775927_0EC28B7F X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. 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 Support rtc PCF2131 on imx93-11x11-evk. Signed-off-by: Joy Zou --- Changes in v3: 1.adjust the indentation. Changes in v2: 1. remove unnecessary status property. --- .../boot/dts/freescale/imx93-11x11-evk.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 07e85a30a25f..73e0bca36b81 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -281,6 +281,23 @@ ldo5: LDO5 { }; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + pcf2131: rtc@53 { + compatible = "nxp,pcf2131"; + reg = <0x53>; + interrupt-parent = <&pcal6524>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + }; +}; + &iomuxc { pinctrl_eqos: eqosgrp { fsl,pins = < @@ -343,6 +360,13 @@ MX93_PAD_I2C2_SDA__LPI2C2_SDA 0x40000b9e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_pcal6524: pcal6524grp { fsl,pins = < MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e