Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2804181rwd; Fri, 2 Jun 2023 15:14:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RqSoMya8h0SJgQarIOLZa/5F1hrt8wPgBqnQuS0/EEwjtYXjolqKk7EqRUgXO1zeqP9/I X-Received: by 2002:a17:902:be07:b0:1ad:1c22:1b53 with SMTP id r7-20020a170902be0700b001ad1c221b53mr1077813pls.40.1685744086068; Fri, 02 Jun 2023 15:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685744086; cv=none; d=google.com; s=arc-20160816; b=uTYFabi8YITkT3AGecdOP/5Q6K8L1YpcRTPBOMYn6H2Qjp4+NE5D2M/r7W1+CiWmz7 2ASaEAD4uIokmZpIGrVFoxS79DYdYV8b+xqVT7tTwxD/PliIFWe3jnLIXcHlh+hZ+hgq PwxguK8h4hm7+gSjJCDIphwK8+HwYWee1DB8rWcEOC0OFgt7eCfbnLXiUPKd44nNrZhR /Jke5t7I4qYESqC1lqG1JDDO2RXSwZPGgdrcWXlkMZKzfeBo9mEAz8GBSdYM4FBuoQZG FgQGfzM+AOcHqFn5D0+3qSjLVIFWMuwByIpnBVs0df79nMt/X7WdgIrDhW7f0KPMgh/w AjTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nTqoUp0d1qwKhhcDAuclUKx+BmSubT2OP4/R6niDz4I=; b=ZCwYNNC9saIqC8d5BWSCw74AEDq1DcZmd6OH3BS3BCgjw1Vj6c9V52hCSTuH9XvXJ5 Os08tSrbRoad8mO5en9ULVBO0TQXyzv15niFZxEsfhVdGJo072DyHaPmqMKNpx18kT71 XlE9RdVYaHE721lyBTc488XTGTHgIt8V+hhI6Y1Lok0ljePMHVGjXDFLqAc2u4RE+mMn S3oaTDR1yLEWJh/1x1b+FV6SRRws2v0qdliMNJ5l7fJ/BRNFLLYAKFyKmLANOzRYVQbH LfMyuMI83puKtNkr9V7IJcQkgyitz7O3ereXaOy6ASMwNLViJMoyDO5bpm4FI3rwDc2M hSow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tL+vqdTU; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a170903120e00b0019931c82e24si1601955plh.195.2023.06.02.15.14.33; Fri, 02 Jun 2023 15:14:46 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=tL+vqdTU; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234960AbjFBVuD (ORCPT + 99 others); Fri, 2 Jun 2023 17:50:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236616AbjFBVtv (ORCPT ); Fri, 2 Jun 2023 17:49:51 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2791E1BC; Fri, 2 Jun 2023 14:49:49 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 352LndSH072493; Fri, 2 Jun 2023 16:49:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685742579; bh=nTqoUp0d1qwKhhcDAuclUKx+BmSubT2OP4/R6niDz4I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tL+vqdTUfe8h9D1Rfh72N6mgmWqgOf6SPhoxhv9zhxPyKxhS6DSp5sPad1SF3VcYd 03sC41002JSs5Yj0kZeUKHKHbC32hrHRSdaCYZwzVryV5w8M9jXLMXXmKLgwmspZmB OIu4f0hujRWJlEf/Zw7FhwbkVw4UTAJy9IDyZM1I= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 352LndJ8059497 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 Jun 2023 16:49:39 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 2 Jun 2023 16:49:39 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) 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; Fri, 2 Jun 2023 16:49:38 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 352Lndo3119895; Fri, 2 Jun 2023 16:49:39 -0500 From: Nishanth Menon To: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Tero Kristo , Vignesh Raghavendra CC: , , , Nishanth Menon , Udit Kumar , Nitin Yadav , Neha Malcom Francis , Sinthu Raja , Thejasvi Konduru , Dasnavis Sabiya Subject: [PATCH 7/8] arm64: dts: ti: k3-am69-sk: Enable wakeup_i2c0 and eeprom Date: Fri, 2 Jun 2023 16:49:36 -0500 Message-ID: <20230602214937.2349545-8-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230602214937.2349545-1-nm@ti.com> References: <20230602214937.2349545-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Enable wakeup_i2c and use un-used pinmux. While at it, describe the board detection eeprom present on the board. Signed-off-by: Nishanth Menon --- Depends on https://lore.kernel.org/linux-arm-kernel/20230503083143.32369-1-t-konduru@ti.com/ arch/arm64/boot/dts/ti/k3-am69-sk.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 409fcbaf0126..a0e7872f31f2 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -25,6 +25,7 @@ aliases { serial1 = &mcu_uart0; serial2 = &main_uart8; mmc1 = &main_sdhci1; + i2c0 = &wkup_i2c0; i2c3 = &main_i2c0; ethernet0 = &mcu_cpsw_port1; }; @@ -152,6 +153,13 @@ J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (K34) WKUP_UART0_TXD */ >; }; + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ + >; + }; + mcu_uart0_pins_default: mcu-uart0-pins-default { pinctrl-single,pins = < J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (K38) WKUP_GPIO0_13.MCU_UART0_RXD */ @@ -191,6 +199,19 @@ &wkup_uart0 { pinctrl-0 = <&wkup_uart0_pins_default>; }; +&wkup_i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&wkup_i2c0_pins_default>; + clock-frequency = <400000>; + + eeprom@51 { + /* AT24C512C-MAHM-T */ + compatible = "atmel,24c512"; + reg = <0x51>; + }; +}; + &mcu_uart0 { status = "okay"; pinctrl-names = "default"; -- 2.40.0