Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2383679rwd; Fri, 2 Jun 2023 08:41:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4X82e35RxEzOoFhmikA4ilTyoxv7eclcXYk6czyU+9CRfIr4Cj8pF+DwaHzJBi1dwDNXJS X-Received: by 2002:a05:6a00:b50:b0:647:1cb7:b714 with SMTP id p16-20020a056a000b5000b006471cb7b714mr11108393pfo.3.1685720464018; Fri, 02 Jun 2023 08:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685720464; cv=none; d=google.com; s=arc-20160816; b=B9A5TOYRMsqXeVQqiPX55ACoRC6njnBi7yc1oLmNb2owgv8w6Go8AXBMH2Kcw4OtGU 0WmSSkmy6/WYuNyCOip1dQWp/d31Rd1hKMOPABi+19CYySq6tWfUlDsMFc9sMZTGtaPW nL/4/UYoBJ7yxYN2+oxJWdRzqwWw6743oOSszxXzMTTJqgqqWVX/p2CvJvKU9urbOjpT sDI21ZlfbI+B6l+MYX2WRWTEU5AVOO8hJqa2LE5KJE7T4LhutNGF0yREociC4+V9ulEG Y8vObBFkl9HN/4579Dt2NbS/pl4+ruM1P1V1z5V7RqnoDSBbKiDAur/p8/UwzH9dy4Sn 1i/Q== 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=huPiAoEvdS7zJUZQYpx9KJeHkoC09FKyEF2tnc0eb6o=; b=XIfPwoXy0UvL/og/muqLlKrsd9cQm6r7LAd07TWzPyaTH7W3gmXvZVCzIOMbkUaV27 +YbkQB5QAWJKexdgBocy+M5d593XpigPWfLKNKgIDdyXlp9M7dB4P6aqBbiuDki+/GKL xRhIl++tuI4mzz3j/FtNtPXvqpwQxqrdkKQMrb7DlIQ87qEbC6C2gjiZIj7k+vZ9kjpJ hNWLLLlerRU4gCxBw4+GN7G5qXQrnAaMEr6rFA/56j38zjLP33X1UkAmzNUQDtB6ituP +nWIHYwLboYyZ3lEG4AklBmRMv309lN714B79EbQOBcvQHmGtSQZEIg2TLQHbRY95l5K 7VtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=EmMnPUFg; 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 n127-20020a632785000000b005287f5fbf5esi1172004pgn.254.2023.06.02.08.40.51; Fri, 02 Jun 2023 08:41:03 -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=EmMnPUFg; 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 S236726AbjFBPgO (ORCPT + 99 others); Fri, 2 Jun 2023 11:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235592AbjFBPgM (ORCPT ); Fri, 2 Jun 2023 11:36:12 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA38618D; Fri, 2 Jun 2023 08:36:09 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 352FZwbh118409; Fri, 2 Jun 2023 10:35:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685720158; bh=huPiAoEvdS7zJUZQYpx9KJeHkoC09FKyEF2tnc0eb6o=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=EmMnPUFgCLhPZ1VD6byTwmcIPmPg8kc1wjM1FkVT6PrFqkbU+b+z2Eg3LcBSBoohE Veuqj6HSG0uF++wH7MOMIS3w0/QJbhO2oj3vLLnvUjggKfwnjxXLmRUfkNyOHVqWHx xn49gbm2PXzNtGXH37U0RPIRH5b6rPYAhi4GDcNY= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 352FZwki018088 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 Jun 2023 10:35:58 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE114.ent.ti.com (157.170.170.25) 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:58 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) 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 352FZveY065991; 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 6/6] arm64: dts: ti: k3-j721s2-som-p0: Enable wakeup_i2c0 and eeprom Date: Fri, 2 Jun 2023 10:35:54 -0500 Message-ID: <20230602153554.1571128-7-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 and use un-used pinmux. 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-j721s2-som-p0.dtsi | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi index 6930efff8a5a..ccd69640a5c0 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi @@ -39,6 +39,15 @@ transceiver0: can-phy0 { }; }; +&wkup_pmx2 { + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ + >; + }; +}; + &main_pmx0 { main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < @@ -55,6 +64,19 @@ J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */ }; }; +&wkup_i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&wkup_i2c0_pins_default>; + clock-frequency = <400000>; + + eeprom@50 { + /* CAV24C256WE-GT3 */ + compatible = "atmel,24c256"; + reg = <0x50>; + }; +}; + &main_i2c0 { status = "okay"; pinctrl-names = "default"; -- 2.40.0