Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6894494rwr; Tue, 25 Apr 2023 05:33:55 -0700 (PDT) X-Google-Smtp-Source: AKy350Zi5ho8o8LbGIpvJT8kLlZWxlCA8m4hH+eWyxnDgtwk2VyCcjC9+qG7ZhKG/EVTk91HTzCU X-Received: by 2002:a05:6a20:4298:b0:f3:e0fc:a654 with SMTP id o24-20020a056a20429800b000f3e0fca654mr10333372pzj.7.1682426035588; Tue, 25 Apr 2023 05:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682426035; cv=none; d=google.com; s=arc-20160816; b=EmGRzaXeyjrUSpK9n+nktjAtcOUB9PJDees9KlYcvNd/r9UrkeRyFVgBuOQENmUQEn veH0pau2n78uq5WOkNu7d8wFmzjrFMJnDswWo6uksalyH4/x13gBZNKjcNXtt+/Qs7MR a4KaxEDkj1esNkX+oKQPOYvZvSiHx+DLmnLmcJX1IC7utI3InFwi8I/pJ+TS8EHFfvHi QN2lJ++BPafFCIORRdXgl0pvlVZ4+9ZY14gcoJj8AEzsk4fadyBvzPRUcR0pHpw5qTox JAOEH7I/5gWfeF+WWo9jvPov33fHUTkG6UVJ2urjQArOhMYPLCfjZqZgAtEA+orUmiJ/ vC5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k7Ux6DQ0nSZK+7IivtDppNZ1trpjUsbPWKpm4qi7TCk=; b=BT1QK+HNxiX62n4gtQ09V0c2rqx9v6ZC/1SQqcHbWbmPC/w/rC+etc4VNSvj+LrPqA B1gyURoxa3hGtVIQbb/Dwrouto7xKGrTQm0RFKensjDYbo+UsTL6Y0MYubK/+le6MlYO q/aKddq1ypujLkZB1qbnefDvuWs2GthBBURLeWOCN4jVUYdDEfffln9Qqp9ysoHcAzB4 ryitlW2AjYWaD92HlL94jksXFxv2oP4T9aLfqyujik2284yTXuXwGtFRyPmIHJ/BqmpR lEagCZTfU/km4kTNq/IDxbtiHjJgCDuV3I5hBWvxLs1IeHXunzLs61hK3p0oScLUfMpU Xccg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=W3N+5ro8; 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 s6-20020a656446000000b00517aa9db92dsi12967986pgv.396.2023.04.25.05.33.41; Tue, 25 Apr 2023 05:33:55 -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=W3N+5ro8; 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 S234042AbjDYMYw (ORCPT + 99 others); Tue, 25 Apr 2023 08:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233516AbjDYMYv (ORCPT ); Tue, 25 Apr 2023 08:24:51 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CFEA116; Tue, 25 Apr 2023 05:24:49 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33PCOXHE064447; Tue, 25 Apr 2023 07:24:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682425473; bh=k7Ux6DQ0nSZK+7IivtDppNZ1trpjUsbPWKpm4qi7TCk=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=W3N+5ro8X4gOJDx97YaryJ2dDj/mKa8p0OJ5Noyn2T55Mu8a3xTdHJeEGwxHBRGKb UPECzVmId+OePX3wP8nrCieqqPKWxMihDqr0HQ/k78grGHfnenSeu+CYT3IOSmKuSC CRRUc/55OH++E0gY1H9MLFuAnfZgHxm1oogDEZWs= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33PCOX16120419 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Apr 2023 07:24:33 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 25 Apr 2023 07:24:32 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE103.ent.ti.com (157.170.170.33) 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; Tue, 25 Apr 2023 07:24:33 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33PCOW1L019505; Tue, 25 Apr 2023 07:24:32 -0500 Date: Tue, 25 Apr 2023 07:24:32 -0500 From: Nishanth Menon To: Bryan Brattlof CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , ARM Linux Mailing List , Device Tree Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH] arm: dts: k3-am62a7-sk: Describe main_uart1 and wkup_uart Message-ID: <20230425122432.jhnb7rddrpii3jeg@palpitate> References: <20230424183355.68360-1-bb@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230424183355.68360-1-bb@ti.com> 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 Please fix $subject: arm64: dts: ti: On 13:33-20230424, Bryan Brattlof wrote: > From: Nishanth Menon > > 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 > [bb@ti.com: updated pinmux] > Signed-off-by: Bryan Brattlof > --- > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 40 +++++++++++++++++++++++-- > 1 file changed, 38 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > index f6a67f072dca6..65caa5611d6d5 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,11 +116,38 @@ led-0 { > }; > }; > > +&mcu_pmx0 { > + wkup_uart0_pins_default: wkup-uart0-pins-default { > + pinctrl-single,pins = < > + AM62AX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (C9) WKUP_UART0_RXD */ > + AM62AX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (E9) WKUP_UART0_TXD */ > + AM62AX_MCU_IOPAD(0x002c, PIN_INPUT, 0) /* (C10) WKUP_UART0_CTSn */ > + AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */ > + >; > + }; > +}; > + > +/* 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 = < > - AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ > - AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ > + AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */ > + AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */ > + >; > + }; > + > + main_uart1_pins_default: main-uart1-pins-default { > + pinctrl-single,pins = < > + AM62AX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C17) I2C1_SCL.UART1_RXD */ > + AM62AX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (E17) I2C1_SDA.UART1_TXD */ > + AM62AX_IOPAD(0x0194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ > + AM62AX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ > >; > }; > > @@ -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"; > }; > > base-commit: 891db0c48efb48c3af334006f9d7ea6a0aa49cb9 > -- > 2.40.0 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D