Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2384686rwd; Fri, 2 Jun 2023 08:41:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hmKMigMtZXExRwyJBvcc5diaOFuW0jaKCCoju5WdUQtKH22jLCVbP+Ixy4gsuNthVRD+x X-Received: by 2002:a05:6a20:6f91:b0:10b:ecde:2911 with SMTP id gv17-20020a056a206f9100b0010becde2911mr8889418pzb.27.1685720519265; Fri, 02 Jun 2023 08:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685720519; cv=none; d=google.com; s=arc-20160816; b=0r8rHTPMdzvPGpXpl/p+ez/dy5KJmUMTzJmwY7qwI2fW8LVJ1nebgUG5O5wjaYyutm A4tY9F7PQdVkvRXuXHKfVLEs0R3uJ+tcUkkpPrL1AJxGZ1ZQqMCrz3pEZ6hBNb9l4u5p S51td8ksfoeNwAoZQUFKxN0lm8rivjdrvQq2YEVTIp4FOrmWIqthuFnZU9BNvJhor61F v1v9A3YnkYjaJhTDuusyy1dzzyEP5TTdTumMH2NG3F/nXwORhgAt1Lq2aHYCIXmBXnZ6 MU/cYZD5n+1cGvSYR1QA00nnKiFQ/yqthB6WVgfHSv0HUXhVFstx4aQDuPlzjGeeiq3V UTXA== 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=FQKIpDvMngdYTU+T+MrlZy0xtRYLeYTP/qnTcR+fIZ0=; b=FMpQz7uPsoiaNrUFxaV24xz08gYONEiL/oyW8QsQCWtwnZk+wu//vkepdcBboVI1r/ LT8okKbcGwRMn4+HoE66Lk+Z1GnmbgEp2RZBSsqtouYSd1KwUeVX2kSimQO6BtwjLbKE nEN1K9txKQvqw+t5feXgqTNqFVibTFf+AQWyN6UjRR3ObDcDgtlgqyoYOsITwhfqlFOM DnUqZG5A3pgFHaGPtYYunMx8DmfcPJeRVxvvDKRwsoj30/SQk5yQR+oq9SKY7uTZ106r nH2qpR0ybiUUOLoOnzNadgQznbE9MFdl9f31RP9c6t39QlX8XU65YpwGdHp7lyFUt46o aucA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wL4e66v0; 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 k126-20020a633d84000000b0051f74820afdsi1161161pga.782.2023.06.02.08.41.47; Fri, 02 Jun 2023 08:41:59 -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=wL4e66v0; 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 S235208AbjFBPg1 (ORCPT + 99 others); Fri, 2 Jun 2023 11:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236729AbjFBPgO (ORCPT ); Fri, 2 Jun 2023 11:36:14 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC46AE41; Fri, 2 Jun 2023 08:36:12 -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 352FZvdl128746; Fri, 2 Jun 2023 10:35:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685720157; bh=FQKIpDvMngdYTU+T+MrlZy0xtRYLeYTP/qnTcR+fIZ0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wL4e66v05oYiiZsCQ3beTkkDUwW6ign7CkS0VtAhXnix9ePvKyfSjunjBE2E5RA0X 9Ksts6f2WsRDjuhs9QHNjDiQfS3tzk/3Em5cZVwMs8omwrbpyuI9JlP2HxKneueUSx Fx1Rd6sujHlNkqwgfO7V7tvR168bJZlihuJlb0wU= 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 352FZvnM098329 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 Jun 2023 10:35:57 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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 10:35:57 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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 10:35:57 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 352FZvit065988; Fri, 2 Jun 2023 10:35:57 -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 Subject: [PATCH 4/6] arm64: dts: ti: k3-am68-sk-som: Enable wakeup_i2c0 and eeprom Date: Fri, 2 Jun 2023 10:35:52 -0500 Message-ID: <20230602153554.1571128-5-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230602153554.1571128-1-nm@ti.com> References: <20230602153554.1571128-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. While at it, describe the board detection eeprom present on the board. Signed-off-by: Nishanth Menon --- new patch arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi index e92431250729..e2c80fff7478 100644 --- a/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi @@ -27,3 +27,25 @@ secure_ddr: optee@9e800000 { }; }; }; + +&wkup_pmx2 { + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ + J721S2_WKUP_IOPAD(0x09c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ + >; + }; +}; + +&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>; + }; +}; -- 2.40.0