From patchwork Sun Apr 7 05:19:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joy Zou X-Patchwork-Id: 13620003 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 A317FC3A59D for ; Sun, 7 Apr 2024 05:12:04 +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=GBN1FG7uA1Ej3Iy6s/NQfz59dYzUNR0Bx4Cm2Nabj68=; b=ZJJ0Ykbzmc8wyZ lm47ySnIEeBogOH/D58RiXANY4FU4IIKAtqmaNhHaVhKcYrCLa/7Xu4L5eYTevedyrKQrQiHkSvX8 OFT1KZ0gSEf2O4tgLdls2bBdEMIpXNJ/vJASlJKWQ1YBHwiIvtQIBRYXAi9c2RgoePZfa68BeXL5S +U2VMLI7eePCEoqgJFwgcRx+1FY9jJ6NjPgOR2P153S5DmZDYq+t/bRKsj75bmMLCoH2IbXLPjy3l p/svLzKjSj+r2WpQOg8Xz/j+rXdXHEPVpnnvsB5JP8ySU2QY9BI3Jf6jZSiR0/EqZJm53XzUFy3wi SH+MpIMhmmAAOzsPmtfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtKor-0000000BmLu-49ZW; Sun, 07 Apr 2024 05:11:53 +0000 Received: from mail-am7eur03on20701.outbound.protection.outlook.com ([2a01:111:f403:260e::701] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtKon-0000000BmI3-46zU for linux-arm-kernel@lists.infradead.org; Sun, 07 Apr 2024 05:11:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yk8Pto/mL/6IuuxHj6luOMMjwS0vW1C+IqqkduadO98iMZJGeIlPR/P7XChbeUoQGMQ6blz3nZJokVOVl+dMZmGOvrMUoT0jK3Q9aGyoGV1fye09qVNFU4+tUAMXGDMLl986AVsMAVMWeOnzFFPVkPq251PxrrUryxkG2589S7rKPVYxzfpYXJjFjBrDAYegPQD2teyHNnaPjOlUMe4dm7s+056v3qjrUOUtEm+Z+939Xqh9LAdi6jnvvv6ndLzZnmNgs2kMyM7NZaxEKnAGk+7D75KM8rdnHxg+u4mkHDfTUqozPMPOvi3XsBUewIqv6LMkqROBk7Jdq2KwFYllbg== 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=vSGPbRK3Hg4LsgDh0uEry2TcisjDNcukYsD9mMH23Q8=; b=bcdDhl9QS4eT0VM9ghW8PxjSEDJbUJswo2sX1M7DDznwjfjBQA12a7W+MTLCbRNwv5dQVCDr1DMsaqCCD5CDMZfZ77U3/Qqaj1qVDg4wRX8Po1VkEMT1oZLJBNVoRndzr7Kyrrk28siENzoJAUzjl+d2vnBXXSmT/p8CvWVSNVyagHVWhCEdK8eOpN3+YGGdXF09hcFKehsCyCcFaErtoe/m+YYH4iOv9Sj7YtAZEByf1EqS8+nKvywUlOj1UuvCdYlkGjwVIy8NjQz01gzCe+bINfx27M4olQAs5QnRXcrSpE15GVCMWpPu+29kKaAQd2aLSu4sj0RINCqYub110A== 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=vSGPbRK3Hg4LsgDh0uEry2TcisjDNcukYsD9mMH23Q8=; b=NpSqf5K4S/6bsc8f5UCDmNBddQpAq8e0yZG6RVPdxIixxlWn6+rorvv6HJp6lWth96sJRT1bFlFhQs+faM8+MrC2n65u5fLVXTOvYBcCeFpP2n8RmQbvv8gG3xKxrb122X4mbs2Mb/xuFLIxqaScDk61AeQA8mh0jjBOOr7ohnI= Received: from AS4PR04MB9386.eurprd04.prod.outlook.com (2603:10a6:20b:4e9::8) by VI1PR04MB7008.eurprd04.prod.outlook.com (2603:10a6:803:13b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sun, 7 Apr 2024 05:11:42 +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; Sun, 7 Apr 2024 05:11:42 +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 v1 1/1] arm64: dts: imx93-11x11-evk: add rtc PCF2131 support Date: Sun, 7 Apr 2024 13:19:13 +0800 Message-Id: <20240407051913.1989364-2-joy.zou@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240407051913.1989364-1-joy.zou@nxp.com> References: <20240407051913.1989364-1-joy.zou@nxp.com> X-ClientProxiedBy: SI2PR02CA0023.apcprd02.prod.outlook.com (2603:1096:4:195::11) To AS4PR04MB9386.eurprd04.prod.outlook.com (2603:10a6:20b:4e9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR04MB9386:EE_|VI1PR04MB7008:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I5w2jZDX/xbNSOPDT17j9UOjXNjVpvaZUfwxCcXoYUkxPkHc+4WI/qXbt1wKd1IsAhugQil6xWBt7OzOarfKKY2oXXKDXeoJbQSqvk6dU3N5mIDqr1q00J2tBwF6jMzW0aJ8BKv9BtiHrg9voE6c6CIoeaWXAY1ZCanRlykAOlOLNxQkA1fusS1YWDav1STxldQ8jYKlbp/nWAIPsqC7CCs+oD8kNeJwNafYqCrgSf01/yPoutyCS1fgfMju+6czEgEMqVexa97ddKERrK57FA9fwwJwtr4T4FSjuI3597N3BVORfDa8W0Sm7jTL55reI7HHPjOrf9yxO0iOPEFOCWtOd/Y34jCn2bYYj5cm5rnlon9Xb6SMCZsLcq7fTsDXiFXBLhICusor9Xy2ylylY93bpEM1xieACfUMDD3uGE/RBqNyQKTLS8RDGai8gJLt+hj3lshC0SF59WMTzqRsrwmwhX9R1ACB7lL13mmlKnhxRXT9kg90vvBNvK/hhQVu4W2zwzjbc38mTuvewyVBF4ZCCNCrpCMeDoAyt42ZyI2VehoY5xTMd47fiC/Ec3iaxj+OItqsgJTTVCLQGOJz9CuUso6tAbeTDWE7gRCBmXaC+0NN1aI5WnSh92R9FgG0z6VD0Z13VQnRtLNjTiqtWWKozFn0AuUfetZQau4uGntBee5t+9oB0pX/bJMv8Pj+ZwCqN5k2qhpTf4twtD8E/A== 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)(52116005)(7416005)(1800799015)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: baABYpcsKxNZJUAAZMA5yUbK5idNOJh/S+TTP5PaCFpIHtXvCzErs6qAmRKP2S3RVLTG1e+naYi3dHOaiKo3cmdDyvvIYpRwErKg+kCVoDaFiI2W+2cJ3H6B63O8UlvQ8Vd3PO8aBgOmy16NagAhsxWReJHMwcHpxlXqPYkqxuGJbVZQo2m+Fnt6N7H6JyaxHjRh6tuXa67M1f9GrnGCYOl0/qqEQY/AzfDSU7pwKoGrK8JPpVwYLZJ4ufOnCmmeWvX9ap8GHHYpNZzG3dl1ZZtp/ZLFLqhn1AXTRjIueP5fYyXJiAFgwsCBqDuKYlTHCH6icUrDSkG4wUY4EgNNCAxk/FbIqfCEemAkoGvyf7/lFEC3mGEPU18sz1RDHpfc3xrx88JagirDGtc/E+7jVnSl1uGqrVGaLgWlOfQeVjug92VlqGcHcwUY16J2jlylWDUMuz/z28F2y1wyXyNmmHbj/HHdVPDtM2oKp5psJ2q40J+/XYF+Vn9iG+LDq83o1SHQjikxixI4MI0KbCm3qdqEPDN6ZDXOCAz6YnkdtE/3d8OU34qw8jKhyW/EQHSoy4fHM43IZsxmOMv8mE/RbF9nhZzvSYDD/0yQSgHEulVPD1aZKloJ9GLuhaPc+k1dWHgVc8bfOw6SFE5J3h4fgezQytqBgGo0heQsSVv/qpBYIxrFc1I/RawFGxYBWW8PmXtwGIfUeEtjLLw3Bl1xAUVSfR469L3TaF2Tlu8LdbZtT/l8uupp7BIHZ1Hb4zNFFtolagyKr/kG0N+txt+aBBRmlWFhMhq/asj/OcOYTovOb/UMeaV1Wk1uDnzsGZxRE8zijSOA/ct1wNqDttY6+ZVSurpCRUPKtDLYUvANoKtNnYuKYssZYgNa0U2MVAjLud2ntl7e+uBXUu3QtlUCUjrDsnfHqiV/tMJSGKUCJ/pw+6BA4tkz2MrLCE0UiBwoykYWeQGGcULyqtRKlLht3XXcH8xLuSDDUBPYUnaxlTJcZnmTqZ5u+0/eiSkMbB6ZaTqMTdfuSnYPQwSV0vWBCOUye66vaEW4I/pbNwuV7br+aNRAwEBJndoFvCFxGGNapyvoLZTYLpkGKwCCDTBGDWr4MgvmVgCojBFvGR791hfrtA4ODMuuggNsI6tH3PPMGdAYH2jK5Lhg67au90VcJVSjCfYonmI23QpmD+cbdfig/5tlkdeGlEKs7s7NSKp1R3D8LMde/tf8EDsqXIBGT4XJszTxdIOE8ChjPVtwaQdnSrsuvTGkJGmOEtNrtuTuarNFLyvZ7Pj6Jlb2lU61rcGcr2aRos6J5rhY/avvCfsIJQzyqo3AWuAR2cUWu1Cx15+U/CLD1gZjvNnPr8dqdjRhNroWdOdu0qn1GKKauZP5xB+OennG77AX2sigpiPV8PTTW17Geet5KAcbZu0DSy//c7kEhEJtlJP/zUUXzvEwNFuH3f/MK89f+XuAr996260ixCsvcdaH6YpFl/yZOaxeVJov4sVcl0QfSvdeR2UPR8N7zR2Wn2j6V4Y/rBkfn+v6kkWNfPrAhIa2BZVTtnVthM73Gzg61eaMVcnW/yPGtaxjelp94vUMQC/yNaGl X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7f6f192-e3f2-4246-3531-08dc56c13683 X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9386.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2024 05:11:42.5961 (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: 1sm5U6UnWaJKoD+LO03ziphgxI4m7viherJ4MXRqC/L00PpAsZ2iQFith1zbG67c X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7008 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240406_221150_050703_BEF1FBC2 X-CRM114-Status: UNSURE ( 9.34 ) 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 --- .../boot/dts/freescale/imx93-11x11-evk.dts | 25 +++++++++++++++++++ 1 file changed, 25 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..065fa3390791 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -281,6 +281,24 @@ 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>; + status = "okay"; + }; +}; + &iomuxc { pinctrl_eqos: eqosgrp { fsl,pins = < @@ -343,6 +361,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