From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98209EB64DA for ; Tue, 4 Jul 2023 18:11:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C124861BE; Tue, 4 Jul 2023 20:10:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Uq4u1TTa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 73459847A5; Tue, 4 Jul 2023 20:10:28 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 349488615A for ; Tue, 4 Jul 2023 20:10:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 62FEB61353; Tue, 4 Jul 2023 18:10:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FFDBC433C8; Tue, 4 Jul 2023 18:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688494224; bh=1so6axf7z91o7/WYYkwYnHRqlS9BD3DEGNfQuQbOzd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uq4u1TTa9/yd3ZMfsu1RHhkIqGObjSdQ7KyhdG7YmYqbPtyqUW4veP9xzBNnmrrrz 2uZBVIQnZCG7hkw8lyj5IkAyDSuCcIRByr8wRHd4CsBx0yvshIiTEfSC4c5IRoOPXv r1hl56CxO/J5CbmjWRAdaqQbT5+bOXVzR2tbAREubWwYfHS/R1dKurn/fyn35AMmgn 7M+n+1eWLagfoed+pWOOyq84xUnmxMxfP2XC73FFuGSRttAJrl7FiwgMO73WnnE60W juP9ENsY13aetdWJ/FCN2NpBo9i3QCZEWe19HQPDQmUjFEBjjr9zaMcc7bOXFVrI/M vveI2+y3qOZeA== From: Roger Quadros To: vigneshr@ti.com, trini@konsulko.com Cc: nm@ti.com, srk@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 5/6] arm: dts: k3-am642: Add I2C GPIO Expander Date: Tue, 4 Jul 2023 21:10:07 +0300 Message-Id: <20230704181008.305561-6-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230704181008.305561-1-rogerq@kernel.org> References: <20230704181008.305561-1-rogerq@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The I2C GPIO expander at address 0x38 is used for card detect GPIOs. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 ++++ arch/arm/dts/k3-am642-evm.dts | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index 80c04d0117..f274d11697 100644 --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi @@ -40,6 +40,10 @@ bootph-pre-ram; }; +&tca9554 { + bootph-pre-ram; +}; + &main_uart0 { bootph-pre-ram; }; diff --git a/arch/arm/dts/k3-am642-evm.dts b/arch/arm/dts/k3-am642-evm.dts index 529eb81538..bc7e6f29b0 100644 --- a/arch/arm/dts/k3-am642-evm.dts +++ b/arch/arm/dts/k3-am642-evm.dts @@ -353,6 +353,14 @@ compatible = "atmel,24c1024"; reg = <0x50>; }; + + tca9554: gpio@38 { + /* TCA9554 */ + compatible = "nxp,pca9554"; + reg = <0x38>; + gpio-controller; + #gpio-cells = <2>; + }; }; &main_i2c1 { -- 2.34.1