From patchwork Wed Sep 20 05:38:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ravi Gunasekaran X-Patchwork-Id: 13392096 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 EC798CE79AC for ; Wed, 20 Sep 2023 05:39:12 +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: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:In-Reply-To:References: List-Owner; bh=bQPkWje2kUZU+Fo8NGLjyQlOBrwxvRoBE3POcIMjPOM=; b=D88A8MYg+pKfWp h1Apn31mSmmnwMC1roDly4H589uiZr66QYMo70SGtYwgVWj4TMLK98T1GkWlxgSoEl3OjUeTiQ8lP rMhKuwHMQ+f/y/U1iCSwM8XOHJZQF6HIO4a+e5y6NH9GZbDVVUGCR8rQNn5A6r6tC/oZS43qUVMEB mchahZRX2saffN8frRCGZS7nrt0+KhA9PY44RG0neVZmvk14aogm6NVzr4mWDQdjmE+mvUfujXjCr rJLbTqmuFXcMlDmpoj3R+5mnyLicfatFu3rUGle3qUOwmXSJeWWI7iEpKWsDEmH+kZSNUVYMb60Ln KmKlGZn1cYYhSeFbVi5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qipvG-001vfO-1j; Wed, 20 Sep 2023 05:38:50 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qipvD-001ver-2Y for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2023 05:38:49 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38K5cdt1060939; Wed, 20 Sep 2023 00:38:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695188319; bh=jsxVevMY5Wr7MEriWYKMlcwyv1u6HIe+qc9KeoSw6N8=; h=From:To:CC:Subject:Date; b=lX8J1F0hugzx7V5LhH4AyB1DMnGQbQa6ibwh/T8CawrOQaf1BRjxqmY+KLW9rqokB PKSLL7v2tyLPVOd7UebgJiSqmB3rfL4pkKQFJ5MmHf5VGoMn83fHfquS+HVpeQn0OI baz/VyN4gCLyT/bFc/QHenC6q4qerEPm9lVIkkU8= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38K5cdJo096820 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Sep 2023 00:38:39 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 20 Sep 2023 00:38:38 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 20 Sep 2023 00:38:38 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38K5cZ7r041938; Wed, 20 Sep 2023 00:38:35 -0500 From: Ravi Gunasekaran To: , , CC: , , , , , , , Subject: [PATCH v2] arm64: dts: ti: k3-am654-base-board: Add I2C I/O expander Date: Wed, 20 Sep 2023 11:08:34 +0530 Message-ID: <20230920053834.21399-1-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_223847_956472_D5F7F446 X-CRM114-Status: GOOD ( 11.32 ) 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 AM654 baseboard has two TCA9554 I/O expander on the WKUP_I2C0 bus. The expander at address 0x38 is used to detect daughter cards. Add a node for this I/O expander. Signed-off-by: Ravi Gunasekaran Reviewed-by: Andrew Davis --- Changes from v1: --------------- * Moved the expander node @38 to appear before the one at address 39. * Removed the label pca9554_1 for the node as it is not used. v1: https://lore.kernel.org/all/20230919050340.16156-1-r-gunasekaran@ti.com/ arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 7 +++++++ 1 file changed, 7 insertions(+) base-commit: dfa449a58323de195773cf928d99db4130702bf7 diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index f5c26e9fba98..1637ec5ab5ed 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -369,6 +369,13 @@ ti,enable-vout-discharge; }; + gpio@38 { + compatible = "nxp,pca9554"; + reg = <0x38>; + gpio-controller; + #gpio-cells = <2>; + }; + pca9554: gpio@39 { compatible = "nxp,pca9554"; reg = <0x39>;