Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2362069rwd; Fri, 19 May 2023 04:56:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5boggeAaugD/+BMkByhJOGZi1t+afhCq5epiGjWcDUhXOqRtXrQetXoB6nhUDN9KcfWw5K X-Received: by 2002:a05:6a20:9d92:b0:107:1f60:3edf with SMTP id mu18-20020a056a209d9200b001071f603edfmr1403687pzb.61.1684497375804; Fri, 19 May 2023 04:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684497375; cv=none; d=google.com; s=arc-20160816; b=QfezYsyh7R7zH+93/u2XhbB6hC5TNXHAC+ccwRNkPJR9K9s8EvXEA8HF7O5SB9HFgz rdhkDUjdAavPIq5R+KQpgQl3wEf7bfrQqgDw5HV3OQ5YmfNLmXGNPkOGDF+DbCM/phMA FkycRK2vPh6xS3H3hni04S2AHBg53aRxw7k8k9WZGb/+f3GHgRqKdrDFxdrfMMSJu1Ri 1i+yWrG32LIn/Le1OSLgTjRf8rvtSVRDN0XbEn5tMTiUQPmdSx2g4yWiwxSNmKvXPIpt ZcBsjwGiMDZz6dcdRIhm51EbHvGPIeIk8njgTL9nd0heFcMzDSMG/lVfioLmhisubkMo H1JA== 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=PKUZFzscfQft5W8dZa/hM7qURxlGluVJBlUtBEMqRuA=; b=w0vp/TcK8bIN0UOnaEej1Do5HBuKNSgIYytoMqNgB9LVyVra5w1zrP0w3pYch7IqO3 eZ91KykEZ4O8u9GWGxS4yx4oReQDTiSuYljX7lTLzqxyZ6B0yyASGsnx6BS9S7G9KWCv zQJX+Mg8QuEXJSmbGtv10SiYEv++7myLnzMMF0pF7fCC0UZjknWJyBmXGmwdejM7DhSY Xvb4U4Ow0h72704gFG8X7oU3JRPrU9mE5ftlTdW8aLuUG/9fUPXDbPo/Cm4ixEE9G2va X0bLrgGejlUDzVgQbAuvpewftUXxddWfgBdco1w2++CaQJKOjrijAr1cYXjwS4RqumRh 9xXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MU54t+1Q; 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 z128-20020a633386000000b0051322a8d2aesi3360940pgz.110.2023.05.19.04.56.00; Fri, 19 May 2023 04:56:15 -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=MU54t+1Q; 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 S231708AbjESLew (ORCPT + 99 others); Fri, 19 May 2023 07:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231435AbjESLes (ORCPT ); Fri, 19 May 2023 07:34:48 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F355B191; Fri, 19 May 2023 04:34:47 -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 34JBYcc4041190; Fri, 19 May 2023 06:34:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684496079; bh=PKUZFzscfQft5W8dZa/hM7qURxlGluVJBlUtBEMqRuA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MU54t+1Q/bZQQ2464j2bgDfvdciEdfWiwkMGHnOcFG9fOYqDAj/qNH2UGWL92+APh RRoYT0+vrSvpTgisMduZN+dwyaXJPlCBJ+x7DSceQvt/DyCtHaCy/GC/E7Ab7Dn4I2 XRIYw8F6lytagNE7wALFqETOf+r2lcXjmQKev26E= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34JBYc83018454 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 May 2023 06:34:38 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 19 May 2023 06:34:38 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE102.ent.ti.com (10.64.6.23) 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, 19 May 2023 06:34:38 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34JBYb0L032892; Fri, 19 May 2023 06:34:38 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH v2 1/2] arm64: dts: ti: k3-am62x-sk-common: Add main_uart1 and wkup_uart nodes Date: Fri, 19 May 2023 17:04:33 +0530 Message-ID: <20230519113434.1024206-2-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230519113434.1024206-1-n-yadav@ti.com> References: <20230519113434.1024206-1-n-yadav@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.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 wkup_uart and main_uart1 on this platform is used by TIFS and DM firmwares. Describe pinmux and add aliases for completeness. Signed-off-by: Nitin Yadav --- .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index a61e8648f189..56a5e2eec457 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -12,7 +12,9 @@ / { aliases { + serial0 = &wkup_uart0; serial2 = &main_uart0; + serial3 = &main_uart1; mmc0 = &sdhci0; mmc1 = &sdhci1; mmc2 = &sdhci2; @@ -126,6 +128,15 @@ AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_TXD */ >; }; + main_uart1_pins_default: main-uart1-pins-default { + pinctrl-single,pins = < + AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ + AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ + AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ + AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20) MCAS/mP0_ACLKR.UART1_TXD */ + >; + }; + main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */ @@ -220,8 +231,21 @@ AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ }; }; +&mcu_pmx0 { + wkup_uart0_pins_default: wkup-uart0-pins-default { + pinctrl-single,pins = < + AM62X_MCU_IOPAD(0x02c, PIN_INPUT, 0) /* (C6) WKUP_UART0_CTSn */ + AM62X_MCU_IOPAD(0x030, PIN_OUTPUT, 0) /* (A4) WKUP_UART0_RTSn */ + AM62X_MCU_IOPAD(0x024, PIN_INPUT, 0) /* (B4) WKUP_UART0_RXD */ + AM62X_MCU_IOPAD(0x028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */ + >; + }; +}; + &wkup_uart0 { /* WKUP UART0 is used by DM firmware */ + pinctrl-names = "default"; + pinctrl-0 = <&wkup_uart0_pins_default>; status = "reserved"; }; @@ -233,6 +257,8 @@ &main_uart0 { &main_uart1 { /* Main UART1 is used by TIFS firmware */ + pinctrl-names = "default"; + pinctrl-0 = <&main_uart1_pins_default>; status = "reserved"; }; -- 2.25.1