From nobody Sun Feb 8 21:21:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46252C77B7A for ; Fri, 19 May 2023 11:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231758AbjESLew (ORCPT ); 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: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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/bo= ot/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 @@ =20 / { aliases { + serial0 =3D &wkup_uart0; serial2 =3D &main_uart0; + serial3 =3D &main_uart1; mmc0 =3D &sdhci0; mmc1 =3D &sdhci1; mmc2 =3D &sdhci2; @@ -126,6 +128,15 @@ AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_T= XD */ >; }; =20 + main_uart1_pins_default: main-uart1-pins-default { + pinctrl-single,pins =3D < + 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 =3D < AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */ @@ -220,8 +231,21 @@ AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_A= LE.MCASP1_AXR2 */ }; }; =20 +&mcu_pmx0 { + wkup_uart0_pins_default: wkup-uart0-pins-default { + pinctrl-single,pins =3D < + 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 =3D "default"; + pinctrl-0 =3D <&wkup_uart0_pins_default>; status =3D "reserved"; }; =20 @@ -233,6 +257,8 @@ &main_uart0 { =20 &main_uart1 { /* Main UART1 is used by TIFS firmware */ + pinctrl-names =3D "default"; + pinctrl-0 =3D <&main_uart1_pins_default>; status =3D "reserved"; }; =20 --=20 2.25.1 From nobody Sun Feb 8 21:21:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35549C77B75 for ; Fri, 19 May 2023 11:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231611AbjESLev (ORCPT ); Fri, 19 May 2023 07:34:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230515AbjESLer (ORCPT ); Fri, 19 May 2023 07:34:47 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18FD71B0; Fri, 19 May 2023 04:34:46 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34JBYe3c013686; Fri, 19 May 2023 06:34:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684496080; bh=0zvvZEHkm43gIFcoIqh9+DsFglNnTVurBewGEC2HdI4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GhFzmuX64mFcqBmAyEyXCcg1JIhKXyS7vWHKxr7Z02CW2Gpza8WAuSOHuermPqNq8 OkM3YnmhqWGCt8ou1sBkD3BeHsWxjpS+hrjys87GcHuFn07doLNc9G9Zg7AzIMTimZ 67BeoWzg6NSrdC3kZtFXFXPx55vx3Kd0FSXy+q6c= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34JBYeXv025024 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 May 2023 06:34:40 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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.23; Fri, 19 May 2023 06:34:40 -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:40 -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 34JBYd4U032941; Fri, 19 May 2023 06:34:39 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am62-main: add sa3_secproxy in cbass_main Date: Fri, 19 May 2023 17:04:34 +0530 Message-ID: <20230519113434.1024206-3-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: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add sa3_secproxy node in k3-am62-main.dtsi to keep device tree nodes in sync with u-boot nodes. Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts= /ti/k3-am62-main.dtsi index b3e4857bbbe4..7c2af5b0e022 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -42,6 +42,15 @@ gic_its: msi-controller@1820000 { }; }; =20 + sa3_secproxy: secproxy@44880000 { + compatible =3D "ti,am654-secure-proxy"; + #mbox-cells =3D <1>; + reg-names =3D "rt", "scfg", "target_data"; + reg =3D <0x00 0x44880000 0x00 0x20000>, + <0x0 0x44860000 0x0 0x20000>, + <0x0 0x43600000 0x0 0x10000>; + }; + main_conf: syscon@100000 { compatible =3D "syscon", "simple-mfd"; reg =3D <0x00 0x00100000 0x00 0x20000>; --=20 2.25.1