Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4744733rwe; Mon, 17 Apr 2023 18:28:12 -0700 (PDT) X-Google-Smtp-Source: AKy350ajAoFmhahzlz2iwB75XhvgtdNMQEuM+AgMlNVbS64hqzV495nx7wezBapW4K46XGHJ5i2W X-Received: by 2002:a05:6a00:10d5:b0:63a:33d5:9224 with SMTP id d21-20020a056a0010d500b0063a33d59224mr19160634pfu.18.1681781292653; Mon, 17 Apr 2023 18:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681781292; cv=none; d=google.com; s=arc-20160816; b=WWjT6/5ZVa8TcStSP11ipgEy9EMNor/pvBRJF9KyzQv8tgvuYRV/CJNUXBJqg2r7W1 wWz7I77c0JXqgNp3/tRpVXkinhuBO0TuPqGSwORBqdbiM6ZViDtcXqMb2khBGpn8YmtD 5rIh+2LcidyzebmBvMrRaAZny2lreOl8ab4L646T9v9XZ8KE0kTl9L890mptM9rJ01Gw KRyDzd82wghpGEWmly0TjJdYe2iDbelutgzLxUr1H/VG64WZHzGbj4lwR+T7mqs6+d32 Af/qq+GLKmnDrhGjqezL3YadQu8lE0zk/+XvAtTKAh+fBY0DIY1ZcHZLbZVhwc1xx0Jq L2zA== 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=TsXFNL8IPfth9ttsUQ9vdqbO66ADP402gwtf84VwYYU=; b=wNORLLhGMnEQk77IIE45dVdakOTLwD7PjlX4YcMeglRrGvJQhqD4Xpo5FmEbtz8KWL 02Be2PGLuLbbkBP7vvB9fRdRqAy7b+CRvEnm3fTpnBd8Oh8XvJtt539+uF2dmIie2iV0 +VAIqE6c7cEVVDzJhqwJxp2GAXLi565188/acJdrG80nJxk0ErP5SfoLw9ry0QZ6pJrc hioYvQ89GXXUf+8Zjv17c1ADHVz28smXbdUSheUwAXZg65kL99aLy2W+avnpciDzVrX1 KZXCbplgp259WGpPUrppPjybZ3dnGgXu2J9x3sOYjGO1FRn5F4ioT4WX1HgOyhAWOLWd giAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=K4dwopCi; 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 f14-20020aa7968e000000b0063afbcffff5si11538393pfk.15.2023.04.17.18.28.01; Mon, 17 Apr 2023 18:28:12 -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=K4dwopCi; 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 S229995AbjDRB1h (ORCPT + 99 others); Mon, 17 Apr 2023 21:27:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjDRB12 (ORCPT ); Mon, 17 Apr 2023 21:27:28 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A25944EE9; Mon, 17 Apr 2023 18:27:27 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33I1RIQJ007810; Mon, 17 Apr 2023 20:27:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681781238; bh=TsXFNL8IPfth9ttsUQ9vdqbO66ADP402gwtf84VwYYU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=K4dwopCiVSKpT2UzNZO0PqVNpLmvWxGHzqQkpQTe/3vk3w8r8nbiKvPYSGHw0Ijzp fn4sSo+pYDz7mbcLV3vQ35j8+GJzfPSlpoxCCpuv75M+/2Br/9B7BT6eq9oNQlakRA p6/Cu5tDZJ23ultpr/HXumjj5a2b3TuCD/DPi64I= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33I1RIns070422 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Apr 2023 20:27:18 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 17 Apr 2023 20:27:18 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 17 Apr 2023 20:27:18 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33I1RI7C081370; Mon, 17 Apr 2023 20:27:18 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Nishanth Menon , Bryan Brattlof Subject: [PATCH 3/3] arm64: dts: ti: k3-am62a7-evm: Describe main_uart1 and wkup_uart Date: Mon, 17 Apr 2023 20:27:17 -0500 Message-ID: <20230418012717.1230882-4-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418012717.1230882-1-nm@ti.com> References: <20230418012717.1230882-1-nm@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 them for completeness including the pinmux. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index f6a67f072dca..8f0589f4921e 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -17,7 +17,9 @@ / { model = "Texas Instruments AM62A7 SK"; aliases { + serial0 = &wkup_uart0; serial2 = &main_uart0; + serial3 = &main_uart1; mmc1 = &sdhci1; }; @@ -114,6 +116,24 @@ led-0 { }; }; +&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 is used for DM firmware logs */ +&wkup_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&wkup_uart0_pins_default>; + status = "reserved"; +}; + &main_pmx0 { main_uart0_pins_default: main-uart0-pins-default { pinctrl-single,pins = < @@ -122,6 +142,15 @@ AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) 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) MCASP0_ACLKR.UART1_TXD */ + >; + }; + main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ @@ -254,6 +283,13 @@ &main_uart0 { pinctrl-0 = <&main_uart0_pins_default>; }; +/* Main UART1 is used for TIFS firmware logs */ +&main_uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart1_pins_default>; + status = "reserved"; +}; + &usbss1 { status = "okay"; }; -- 2.40.0