From patchwork Wed Feb 14 10:58:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhavya Kapoor X-Patchwork-Id: 200906 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1129323dyb; Wed, 14 Feb 2024 03:01:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGRjKjsPNyjIgH3yb4HtPcQIF4OvC2mVxbRwAZkzoikshYZfO1+Bq9uD7YpTAUuEkyWOwOvAYj2LdluSITFipMML0IQA== X-Google-Smtp-Source: AGHT+IFvAFakR0QxY1RUaOS+Ig73oAoLwhsxS3A1fA/G6Swx5HWJNzw/cS2AbM1bbyS/yINUcwY+ X-Received: by 2002:a05:6a21:8cc6:b0:19a:508a:7f70 with SMTP id ta6-20020a056a218cc600b0019a508a7f70mr2160596pzb.30.1707908468244; Wed, 14 Feb 2024 03:01:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707908468; cv=pass; d=google.com; s=arc-20160816; b=CnlmgU7iO1FJHQb5gTaDQzMUIXclQY8kTRfo71sLu0Cy2UhxfAebFrQT19rjHQD+5F U4UeRwvvJU0xl1QuRNcwjMsCfrBzCqNeO7XY/Evew1KavXurQaAzmMRQ25UUlzF/v9+v A//8Bs7BZnkW639nw0a2Zp71SrGT90OnyKfesDMShkr5mK0V9prq3/MtcsqCjMWwftXO lkOAAZ+9TACW6Fnlhk/6wEikQhgKlC7USa9JqHSMN9FUc/MFeYPU7C3towNjDhygNHcA JXQrCENX90gwUkxkgnXl/wRqJo5Ac+kns/e01tm5kDKfz7KGSrG/TZfRUMHV2vrc8AhM SuwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gxrFPMfJi8By6/VDy5XHtscpBBL4eAN+BunvIjo54MM=; fh=8jYA17g2c1ugejjnSS0SgIoylRpqpT2PUL2GwYnLJyc=; b=zXY7DAUwBh2Te5gdeN1L5zbS5J6Y25lftJAE3JQWrcoCHQrZu0dwm5as8oyXhLNe5H PRgj+AxS4qE5NB5YX7ez4iWU6YWg9y0hcyFD4CbWvMNRUMw89peHqQgEHT+seScuRwgm Fa0uDoRic8M9YsbjaecmxCyAvO1xDf25bhsqoPnig56yyy4ninmMltPkxiC8omMVoW/i f7oewQ2xg0ZIH09YMeB0LjAGMgJqmDZZ4ARs9I9FQas/ZF0vOJnMXlpdPS81/Jw1qhCV OCxL60bbo/8jK5ruPaD0HE5iSe8caJLbTfIMOBLpp8ZMA1MuYprgWGiEfCCX/xPQ9A43 NLvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YgiOA6kg; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-65089-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65089-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCWyTx1o9A1sjGGoKrJjvb2N8FW6lW2R7nnp6R6suqmo0TsYPh7e42h6fjUI+iAh1hnY65uVwd7unAcWbrp2xRRP+eM2Xw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n62-20020a632741000000b005d8baa20a39si3536854pgn.312.2024.02.14.03.01.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 03:01:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65089-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YgiOA6kg; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-65089-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65089-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 64FD6282E7C for ; Wed, 14 Feb 2024 10:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D2071B7EA; Wed, 14 Feb 2024 10:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YgiOA6kg" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1545D19472; Wed, 14 Feb 2024 10:58:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707908336; cv=none; b=sqzMH8qOCBWr68GOXfdG/xJ8LRVvNoR/kzPC/P0dzO719pd3i/vAugR3tZocqsVp60FjzfA0R3KRq9D9IvK8bgq+kWN2UkTt0BFSJCkV9z/9MIqg4IBovJlopV8nYZduFpdQULGaQQ/F3GglOej1n6Y6bikgDpKQuRswE5QFIs4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707908336; c=relaxed/simple; bh=8+HN2P08QNvZIt/EOoRDdeSJelOpjYIVeIAAboZPWQ0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LQLokW1mU0Mkh5mwQZDILMf5fDSC8ZBPwWfOVDt+OYV4t3x8qm8hzIRgllVysbGzhKGy+fZ9nGTTNDTe3fw++FdYzaW799sAbcwJPaITsZ5tN6BlgReFP0OHTX6y7bAEMn8+c/fLf8ZVlNobjqzgsi4cag5CVc+EXJGVoSoOXU0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=YgiOA6kg; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41EAwnlA027667; Wed, 14 Feb 2024 04:58:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707908329; bh=gxrFPMfJi8By6/VDy5XHtscpBBL4eAN+BunvIjo54MM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YgiOA6kgRveRGkDOiVpTI2DMdY5QWjVMkEyRnYjW3DXKBkSGHhE7bWsX0ON2n3qpw u6S577lly2UZiEkjblFV73HpsuZV6jx/JzQK6fyDE7AJi8/eMdLhaYP3YmpLb1MWx6 8iDXtPQiO5rnB1sXV7lJ1L+x/UvvVMYi8uy5i7R4= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41EAwniF092545 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Feb 2024 04:58:49 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 14 Feb 2024 04:58:49 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE114.ent.ti.com (10.64.6.35) 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, 14 Feb 2024 04:58:48 -0600 Received: from localhost (a0498981-hp-z2-tower-g5-workstation.dhcp.ti.com [10.24.68.216]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41EAwmus036518; Wed, 14 Feb 2024 04:58:48 -0600 From: Bhavya Kapoor To: , CC: , , , , , , , Subject: [PATCH v3 1/4] arm64: dts: ti: k3-j7200-common-proc-board: Modify Pinmux for wkup_uart0 and mcu_uart0 Date: Wed, 14 Feb 2024 16:28:43 +0530 Message-ID: <20240214105846.1096733-2-b-kapoor@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214105846.1096733-1-b-kapoor@ti.com> References: <20240214105846.1096733-1-b-kapoor@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790871830443679613 X-GMAIL-MSGID: 1790871830443679613 WKUP_PADCONFIG registers for wkup_uart0 and mcu_uart0 lies under wkup_pmx2 for J7200. Thus, modify pinmux for both of them. Fixes: 3709ea7f960e ("arm64: dts: ti: k3-j7200-common-proc-board: Add uart pinmux") Signed-off-by: Bhavya Kapoor --- .../boot/dts/ti/k3-j7200-common-proc-board.dts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 1d8bddcae90e..160580a0584a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -119,24 +119,25 @@ transceiver3: can-phy3 { }; &wkup_pmx0 { +}; + +&wkup_pmx2 { mcu_uart0_pins_default: mcu-uart0-default-pins { pinctrl-single,pins = < - J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */ - J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */ - J721E_WKUP_IOPAD(0xf8, PIN_INPUT, 0) /* (E20) MCU_UART0_CTSn */ - J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */ + J721E_WKUP_IOPAD(0x90, PIN_INPUT, 0) /* (E20) MCU_UART0_CTSn */ + J721E_WKUP_IOPAD(0x94, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */ + J721E_WKUP_IOPAD(0x8c, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */ + J721E_WKUP_IOPAD(0x88, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */ >; }; wkup_uart0_pins_default: wkup-uart0-default-pins { pinctrl-single,pins = < - J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */ - J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */ + J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */ + J721E_WKUP_IOPAD(0x4c, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */ >; }; -}; -&wkup_pmx2 { mcu_cpsw_pins_default: mcu-cpsw-default-pins { pinctrl-single,pins = < J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */