From patchwork Tue Nov 13 06:01:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10679719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7CA8813B5 for ; Tue, 13 Nov 2018 06:01:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 678F32A3F9 for ; Tue, 13 Nov 2018 06:01:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5836D2A402; Tue, 13 Nov 2018 06:01:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F207C2A3F9 for ; Tue, 13 Nov 2018 06:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uHXR5xO0+H3dZkM5gnIN2Kb+bi/ZhaZmSYf+AJ7JtvQ=; b=t2AETjYmW2xk9/ 0PLrXINOCp1w31Z3ZYf6NGg31z2viBUTWZe7MRZAiuyG38UH9F0vY+M8NadvEjefVS47OGnpe3tkZ 1OaRcww5sGL9LyXBFjY6fGNlkAi4Eoga0AheEKJ8ECunHX+mnbq6EFEkw9v4Kt1jIPQRI0p/G8MR+ CHdsOXdI+zrXt6w83HI9PFqpZIuPckLYOxobH3idnwBzIHZ1hNLVIq9Ns+SzEAgGqPg6HJsIS9Qyx k7A0dEZ0D0enB5I/Frnut7vCKbMZAzZNxEEzC48KLdxn7l7UmulmjK3KPu1Qe2KUVZQrQUej7cEnu z7YMscW+tHvIqBqD2Bqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMRl9-0000lO-0w; Tue, 13 Nov 2018 06:01:11 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMRky-0000Xe-9n for linux-arm-kernel@bombadil.infradead.org; Tue, 13 Nov 2018 06:01:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DbCy0uRT3m8iw/c2ZMbzPeO531xL3HtlG2fmNS374dk=; b=GsBS8BmWkqGIdSpOu4Cn4yaeVV uggnmIGcBRvGAEL2vfkKYf6S9h8aYh3dw+qQB7CtTpUYzN6b7mmJs+0SEcaZBW4lbe7XgKLTN3XKv pWu0g2X4u2N4v2y7xQnQ0jF/Q9axysuGkzkqm5eFmQ1/jsqrEJvQL3IlkMiGF4QkSvUhWY1JCUjUl BSLoL0qYDZqN8sXc9PKvH5VAct5c+iTIZnFbRES+Hb3NZ/k3/SUAwIXwV+mri9C0DuIRBo6N1pYBI Xnpv/rYVz5xnw4EtNFn7nLvYDP9FRAvWYIphaw91Te2A6Mtb86cqHxo+MmMS9UoQecQVR497Kvf8E 0Q9fDiJg==; Received: from lelv0143.ext.ti.com ([198.47.23.248]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMRkv-00014K-U8 for linux-arm-kernel@lists.infradead.org; Tue, 13 Nov 2018 06:00:58 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wAD60aS7079148; Tue, 13 Nov 2018 00:00:36 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1542088836; bh=DbCy0uRT3m8iw/c2ZMbzPeO531xL3HtlG2fmNS374dk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hpG4R1B5eos8OELavEcSYZCVrf/wWb6xs2HLgsrEPbncn+Lmv57nidiZyOSsxLk4A 0qcv+DhnVv8lzOq4ybRNfaOY9U/FSsezr3gts83N+GIeqMx7vQwfR7bKh4f6NTaIW3 M0jafFKVSMKuFCFJuNWx1XByU8e5fKUguUMKo63s= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wAD60aZL037987 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Nov 2018 00:00:36 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) 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.1466.3; Tue, 13 Nov 2018 00:00:35 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 13 Nov 2018 00:00:35 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wAD60LuA017811; Tue, 13 Nov 2018 00:00:32 -0600 From: Vignesh R To: Tero Kristo , Rob Herring Subject: [PATCH v2 3/4] arm64: dts: ti: am654-base-board: Add pinmux for main uart0 Date: Tue, 13 Nov 2018 11:31:10 +0530 Message-ID: <20181113060111.16374-4-vigneshr@ti.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181113060111.16374-1-vigneshr@ti.com> References: <20181113060111.16374-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181113_010058_023340_BF4DBE99 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Mark Rutland , Vignesh R , devicetree@vger.kernel.org, Tony Lindgren , Linus Walleij , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinmux for main uart0 that is serves as console on AM654 EVM Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index e146ac2ad781..cbf9d3dfeaa3 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -35,7 +35,23 @@ }; }; +&main_pmx0 { + main_uart0_pins_default: main-uart0-pins-default { + pinctrl-single,pins = < + AM65X_IOPAD(0x01e4, PIN_INPUT, 0) /* (AF11) UART0_RXD */ + AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0) /* (AE11) UART0_TXD */ + AM65X_IOPAD(0x01ec, PIN_INPUT, 0) /* (AG11) UART0_CTSn */ + AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0) /* (AD11) UART0_RTSn */ + >; + }; +}; + &wkup_uart0 { /* Wakeup UART is used by System firmware */ status = "disabled"; }; + +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_pins_default>; +};