From patchwork Wed Apr 26 10:32:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kumar, Udit" X-Patchwork-Id: 87801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp145443vqo; Wed, 26 Apr 2023 03:44:38 -0700 (PDT) X-Google-Smtp-Source: AKy350b6S600Y4aoT/5ghp94ca4XR8ukYRNLwCUvKZDxTdA4m5xOXHrHXHNxOCH4YLU++JQUnZs3 X-Received: by 2002:a17:90a:3b0c:b0:247:4c28:311f with SMTP id d12-20020a17090a3b0c00b002474c28311fmr20571448pjc.34.1682505878356; Wed, 26 Apr 2023 03:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682505878; cv=none; d=google.com; s=arc-20160816; b=w18zdB3rPLujVk7vjd5TztzMBCcvvQ5dpkD3iZHyavpORRENDHD4XN7GgB6aNBvyxI oEVfuQh3WkCzuBW1rtM9IxVJHxsnIDlE3hw01GtasKWucl9YeVTSfEoaPeOanx+1jXBe WWyZnWO17daJHT/73aYgXPfG+o8nAZCVzw1Y6vSfnjPvq5voZRg1M6br6KKyoxA/a37A wYcqT9c3qW3QILKkOcWjf0aEpHM0oEr/HqWRKAnGwZBeCH5gI5eAvnA95aG8MO+iTl7x swAqnpLOBa1YHHMj4bsjAs2g8GypA/jLYUURT/g9TfCkSHZpOA3ZeUeXCqFzBypIlGiM Nm7w== 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=YLbJp+mrPrbOBSNwMQ/GRPYyLQR+PpHvyhHbKNPpPRk=; b=O2RPyxL6Npi6THLx+k1JY87cHG9q1dWk9omLDjqMFM+2NdPtyyxAyb3kXwoj3wtMSl PYslcaqjotfkcD09sVSckGnqaVgYQUVQOaeiR/UcTzLwQ/XbvJYFTyuk90r0zJEYi0Yn SvMm6SFmNcu0kjC9zsPQnxf8IL8I6+T87l3obg7MA83VF33/cpw+qQPxqsYuJzKGFuFJ udJjXoGn8dzbXMxSIar67daIFF4SRecMq+yH+OTSOgO3iV82WqsOtGGX62diaqn0rM7j 11Xu2xJE3c2o7p4ne9WWGRAA8zwh6jcIzD++t092+EIWuKcysnfr5AejEHjzBpYtNKUl PNZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RVL4cpmw; 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 gp19-20020a17090adf1300b0024b3c34ca20si16415441pjb.55.2023.04.26.03.44.26; Wed, 26 Apr 2023 03:44:38 -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=RVL4cpmw; 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 S240526AbjDZKdd (ORCPT + 99 others); Wed, 26 Apr 2023 06:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240462AbjDZKdK (ORCPT ); Wed, 26 Apr 2023 06:33:10 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEF6B4EE1; Wed, 26 Apr 2023 03:32:49 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33QAWf92060020; Wed, 26 Apr 2023 05:32:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682505161; bh=YLbJp+mrPrbOBSNwMQ/GRPYyLQR+PpHvyhHbKNPpPRk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RVL4cpmwehleem4PgUZDW8p9xKmlBdF+pPqpDyMDwz/6FEWgWwju3jRfFfcdqkFbK VAv0y0eae2TxBH8iLzfPruOAPBctLXl9u9VK6l/OEdZ5rxWySL8oVo2wwYwwXVqlc+ EnxezLFn5AcPISGKruHQB4U53CkbRiLoXxF1E4TA= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33QAWfH2112941 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Apr 2023 05:32:41 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 26 Apr 2023 05:32:41 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) 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; Wed, 26 Apr 2023 05:32:41 -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 33QAWLRW036567; Wed, 26 Apr 2023 05:32:38 -0500 From: Udit Kumar To: , , , , , , , , , CC: Udit Kumar Subject: [PATCH 4/5] arm64: dts: ti: k3-j7200: Add uart pin mux in wkup_pmx0 Date: Wed, 26 Apr 2023 16:02:18 +0530 Message-ID: <20230426103219.1565266-5-u-kumar1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230426103219.1565266-1-u-kumar1@ti.com> References: <20230426103219.1565266-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,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?1764235283611633416?= X-GMAIL-MSGID: =?utf-8?q?1764235283611633416?= 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 37eb24d69924..2cdfd957dd12 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 @@ -80,6 +80,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 = < @@ -158,7 +176,9 @@ &wkup_uart0 { &mcu_uart0 { status = "okay"; - /* Default pinmux */ + pinctrl-names = "default"; + pinctrl-0 = <&mcu_uart0_pins_default>; + clock-frequency = <96000000>; }; &main_uart0 {