Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7230075rwr; Wed, 10 May 2023 05:50:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+LPCrkdkWv1csEaB/8PYrZZxD7YHznlZ95g24t4Bvlt3FxsoT62Gm0qORWrGxhyC7cgh8 X-Received: by 2002:a05:6a20:7fa3:b0:ef:f558:b76 with SMTP id d35-20020a056a207fa300b000eff5580b76mr21477385pzj.5.1683723037876; Wed, 10 May 2023 05:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683723037; cv=none; d=google.com; s=arc-20160816; b=O9bEz2nFtLwY4zGHqz6EwofMG62YmxWNlbRMbIpzZs0byMWQ/xvNe76eQV9SaFfA3Q btfFOe1itAPb3/9DcZExKPS4XRNM1RNWbwAabQIFrd+Qd5/cCNxQ/xcYnsovWHuUUnrx hD2iBkhczkdc/h5qneWRqLqW/Temxo8Su5c7ZCDqyYbOZhmMhj+PtSUymt1DJp8qKBbS BBQxC6Jwt4JwFo8GruXUU2JrnBhQqiFyqWcLrZiEhts1tMh6VxczodrnXwahp4vGBQt0 xeE5wPi66tgJVMzdw5lkLqcQfuIKcOPhIfZFwok3ViYqG7CCta3lF4u8BO5QyavN0934 QZ0w== 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=rX7CwCJ3JaQEuvEyr4k6yMTGKInKaIpmr1tHPZFrajE=; b=R7QiidxkKm/30fpxKHS5exoJiYYxg2J8ENF0o7jIQ3WnSDGV+s87GNtY5II4Zs62t3 5rB0hBMyoTEog054iH/Wpq2m+AYONJv05SvUJnEh0/fNU5JhZ6HgHM1Ep6s8t4v2DXDA ueMT/psR3L+VWsf8QxgRi39qKiVfcOJ96rhSAzJGfc/tEgbpEk2HkQNzxfZghuNZXgbU RfcIpxbp1yMh6KrYuszjhDm2CRvAQUN7e5ZrF4YrbawD62A0gXFpg4WNm0gIUdXWSlBy BVbOaeoDqnIMrj3fjWF5eo9hRbQewMx0i2v3rKg9P536kpNQghjBmDvk0J7nphyJSBpB IJpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=C3Cv7jkZ; 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 v1-20020a637a01000000b0053028c29b4dsi4173691pgc.92.2023.05.10.05.50.25; Wed, 10 May 2023 05:50:37 -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=C3Cv7jkZ; 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 S237038AbjEJMcp (ORCPT + 99 others); Wed, 10 May 2023 08:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbjEJMcj (ORCPT ); Wed, 10 May 2023 08:32:39 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAA84EEC; Wed, 10 May 2023 05:32:37 -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 34ACWKEk128721; Wed, 10 May 2023 07:32:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683721940; bh=rX7CwCJ3JaQEuvEyr4k6yMTGKInKaIpmr1tHPZFrajE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=C3Cv7jkZewNtmpfvZkwUISnCFM5ARQhFqtHkDwnx43HSGDUgu8gb9oIcwP+au3osy OaWPG9YnSPTiuu0TR4cxT1yMfZZtg84KRNvPsf9S0HQEe9dBMu/9tUigIkJr+Dh4zg q6cGEkTxPWSzq5KLsDWlksistiJv5rH1xghacty0= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34ACWKt6024397 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 May 2023 07:32:20 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) 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; Wed, 10 May 2023 07:32:19 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) 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, 10 May 2023 07:32:19 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34ACWIMM118325; Wed, 10 May 2023 07:32:19 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am62x-sk-common: Add main_uart1 and wkup_uart nodes Date: Wed, 10 May 2023 18:02:15 +0530 Message-ID: <20230510123216.3440019-2-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230510123216.3440019-1-n-yadav@ti.com> References: <20230510123216.3440019-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 976f8303c84f..e29ea8ae2177 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; @@ -127,6 +129,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 */ @@ -221,8 +232,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"; }; @@ -234,6 +258,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