From patchwork Sun Jun 4 04:55:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kumar, Udit" X-Patchwork-Id: 102938 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1975668vqr; Sat, 3 Jun 2023 21:58:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jmlxHRtQeKfsz9nYjMj16F4L9yTWm0eq4eU3oXhZWUjru1lbx9WfYzL3QmQ3igVHcHeTd X-Received: by 2002:a17:90a:2e83:b0:23d:286:47d3 with SMTP id r3-20020a17090a2e8300b0023d028647d3mr1822788pjd.40.1685854733351; Sat, 03 Jun 2023 21:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685854733; cv=none; d=google.com; s=arc-20160816; b=gAxCb9/Qs53QhOqm23M8Wt1TcZt77vsuqQ/jIDFgSPlrS0/f9OYhIIZslQdykom06d OD2Cc2kaTODkvqgDovW/b9rdl5hs/yZDmx3JeL+0+5bH2qW+VS6b3Ct6T5OmYo9yQ8LH 2uIP+q7bam1Pc8hYe7E8G9T6oPrNUVjBkG9Jo6VY0xG+jN1y9x7lOWil/0EyKyG4en2R mIVdvqkiJwFvuWiU1TgoK1BgkxyaMCgKUOTlR/td2t3z7LRu5h0Wb+xQalTA3hj3i7CZ iXch7DMEhrrztAldXVlFcGaq6h7qar3BxnV+LjJvUIKuouSjSafo9Uzr3zMoiyeWbkB7 HNcQ== 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=mUPXXCSkpwsEOqke/okB5aqGoM+uGctd5B5F0mRWei8=; b=m48F5f4T3WrnVF+7xwQL8w1F7Z+IWgA5Z1XSyqg8EMAS/oRyedVJKZuLz4NzR+U6lO Ayoh2pbgRXOUgfd58CaiWZpzBNqXFsH+D09Vx4b3UIoYGsZAn+iqAaWAXVHRjWfbGD5B NTxdyBvC7+UNBR+Yn4GwbvhsBpSGPQk0z4VdmVVipoaWSGQD5GLuKYf0jZohejNAFZxX sM9KONwXVSfclJ1JVaxH+jT24pKons/3bOzOMrWqbuUe6XcWKYR+7v52CHeHa+7ipqYY e8eH11HejOJWJ7SNxKboc3cvzJKjGosj/m1XrL9nd4yfj/R9o+HmCI3EE7VVBCc3xjjR 7ZJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SuwJ8sEU; 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 bs4-20020a632804000000b0053fbb3f1581si3613532pgb.701.2023.06.03.21.58.39; Sat, 03 Jun 2023 21:58:53 -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=SuwJ8sEU; 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 S230214AbjFDE4G (ORCPT + 99 others); Sun, 4 Jun 2023 00:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbjFDEz6 (ORCPT ); Sun, 4 Jun 2023 00:55:58 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C228D3; Sat, 3 Jun 2023 21:55:57 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3544tr2C057371; Sat, 3 Jun 2023 23:55:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685854553; bh=mUPXXCSkpwsEOqke/okB5aqGoM+uGctd5B5F0mRWei8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SuwJ8sEUHNslYGIqDZp8HGkfRyWiOiaVp+gr/OEXsUURfApflWQcb7EcWrGF+opEt 9KCM6YbwiidTeRp6QWubvDWmlOKD80VrKn2uTQhEBqcWGE6MAP+IYzLb58lCiHb0sZ x7W/CKsmrRe2LET/UVMjxqakN2tvqbQyyNkrTSHw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3544trx0104676 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 3 Jun 2023 23:55:53 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 3 Jun 2023 23:55:52 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE101.ent.ti.com (157.170.170.31) 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, 3 Jun 2023 23:55:52 -0500 Received: from udit-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3544tVqd052201; Sat, 3 Jun 2023 23:55:49 -0500 From: Udit Kumar To: , , , , , , , , , , CC: Udit Kumar Subject: [PATCH v3 5/5] arm64: dts: ti: k3-j7200-common-proc-board: Add uart pin mux in wkup_pmx0 Date: Sun, 4 Jun 2023 10:25:25 +0530 Message-ID: <20230604045525.1889083-6-u-kumar1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230604045525.1889083-1-u-kumar1@ti.com> References: <20230604045525.1889083-1-u-kumar1@ti.com> MIME-Version: 1.0 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 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?1767746812936848732?= X-GMAIL-MSGID: =?utf-8?q?1767746812936848732?= Add uart pin mux of wkup domain into common board file. Signed-off-by: Udit Kumar --- .../dts/ti/k3-j7200-common-proc-board.dts | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index e12d93f56c51..809d1c910015 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -79,6 +79,24 @@ vdd_sd_dv: gpio-regulator-TLV71033 { }; }; +&wkup_pmx0 { + mcu_uart0_pins_default: mcu_uart0_pins_default { + pinctrl-single,pins = < + J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */ + J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */ + J721E_WKUP_IOPAD(0xf8, PIN_INPUT, 0) /* (E20) MCU_UART0_CTSn */ + J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */ + >; + }; + + wkup_uart0_pins_default: wkup_uart0_pins_default { + pinctrl-single,pins = < + J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */ + J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */ + >; + }; +}; + &wkup_pmx2 { mcu_cpsw_pins_default: mcu-cpsw-pins-default { pinctrl-single,pins = < @@ -157,7 +175,9 @@ &wkup_uart0 { &mcu_uart0 { status = "okay"; - /* Default pinmux */ + pinctrl-names = "default"; + pinctrl-0 = <&mcu_uart0_pins_default>; + clock-frequency = <96000000>; }; &main_uart0 {