From patchwork Sat May 13 12:33:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 93518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5742928vqo; Sat, 13 May 2023 05:35:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QJ9ZndzBgnR78KMBx8mGuu6ZlU3ZM9+mwUSWLJtmiCULrOYmAxvnYEYqxpWDStpQ26sPy X-Received: by 2002:a17:903:22cd:b0:1aa:ee36:4095 with SMTP id y13-20020a17090322cd00b001aaee364095mr35295076plg.43.1683981347853; Sat, 13 May 2023 05:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683981347; cv=none; d=google.com; s=arc-20160816; b=oue588modwOoVRLg7E0zkZOe7H0LJy77SSCCs5iFzTrA0IsCNJukfg8wA/J1evUGL7 HgOFqg8dI6SORj9ARn35figy9+szwVKhaLMu++dPM0k204aaCMspmLE/PwqkrXx0kwhN qP39k7i3cf4Lu3/H38u55U7l1Ywu0OeK1z+fJK04JfN/rA3vhViX2bw+nzNSJac99g7o MTcRzSyfhX9yHLol+KPE7s8c7SzMHtuK9abSkooehtS+OZHA5fLCe6+M00/FMEldMvwN YiwoF++zf+kZIaY3Mi5jcOBp6NeBQMi2oqFaogkcwhv1macIiQGUIrxT/jMm8lJO6PmJ b2kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9fLJ2CryUPsRkwT9y39VHYcsWb2CUgPdts/JajHZp5U=; b=KBGyGewkPjbckfIsPKUs7hpEolBm+KFZp3BpplO1IbSu4lGezeLc/7nLm8pJwCoXrB 5sjRG/LketFK59roHI3DR+0lbxXP7/BEZ9RzKGx7L+seg5T+k3cDelAleCm3fukKLcka MAQEeStU0U+i25McRnLw2uq+0IlYREJCGD7YJo3UY/vG6fbdmHYk4ioUJJob7pM5ng+S dqRr/EhTO/wcI99jBQUXRPxwSOSSJXAcJ+DWpaj9eUYJUbx4ZGHTcuJn+0fvMWHyaeoZ IzzeSzJsw5UG2GiwNvioRnoG2H4dkKrVQgTg0YdgEJjD9a7fXniPNzfjzF4nTIirl7lm HmyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=W4DAkSuh; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902e54800b001a1d78af685si12725811plf.466.2023.05.13.05.35.33; Sat, 13 May 2023 05:35:47 -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=W4DAkSuh; 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 S238689AbjEMMeB (ORCPT + 99 others); Sat, 13 May 2023 08:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238375AbjEMMds (ORCPT ); Sat, 13 May 2023 08:33:48 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 270ED46A0; Sat, 13 May 2023 05:33:30 -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 34DCXMHd088672; Sat, 13 May 2023 07:33:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683981202; bh=9fLJ2CryUPsRkwT9y39VHYcsWb2CUgPdts/JajHZp5U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=W4DAkSuhHj/PwsKfdf31tiVlANizg/9ZhWP3Sb3xfTdbFv46TfxV3HNsQJkpzzPdB HiguO8TH3BOJ4+pruH6GFEj0QeU2lnT2qMtV8Q7quOQPA0aq0ZokErYN2CRo3e3AtA MahNmH/icRk0P10ZxkezYOAUw1+yrW9uy8mcn+hM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34DCXMSq113159 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 13 May 2023 07:33:22 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 13 May 2023 07:33:21 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) 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; Sat, 13 May 2023 07:33:22 -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 34DCXLcW068629; Sat, 13 May 2023 07:33:21 -0500 From: Vaishnav Achath To: , , , , , , CC: , , , , Subject: [PATCH v2 4/4] arm64: dts: ti: k3-j721e-common-proc-board: Add OSPI/Hyperflash select pinmux Date: Sat, 13 May 2023 18:03:13 +0530 Message-ID: <20230513123313.11462-5-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230513123313.11462-1-vaishnav.a@ti.com> References: <20230513123313.11462-1-vaishnav.a@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765782425467991861?= X-GMAIL-MSGID: =?utf-8?q?1765782425467991861?= J721E common processor board has an onboard mux for selecting whether the OSPI signals are externally routed to OSPI flash or Hyperflash. The mux state signal input is tied to WKUP_GPIO0_8 and is used by bootloader for enabling the corresponding node accordingly. Add pinmux for the same. Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts index c11c092c1ce0..185de41cb2f1 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts @@ -362,6 +362,12 @@ J721E_WKUP_IOPAD(0xb8, PIN_INPUT, 7) /* (F28) WKUP_GPIO0_2 */ >; }; + + wkup_gpio_pins_default: wkup-gpio-pins-default { + pinctrl-single,pins = < + J721E_WKUP_IOPAD(0xd0, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_8 */ + >; + }; }; &wkup_uart0 { @@ -419,6 +425,11 @@ status = "disabled"; }; +&wkup_gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&wkup_gpio_pins_default>; +}; + &wkup_gpio1 { status = "disabled"; };