From patchwork Tue Dec 5 06:48:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10092307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A833560348 for ; Tue, 5 Dec 2017 06:48:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 967952948F for ; Tue, 5 Dec 2017 06:48:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B18A294FD; Tue, 5 Dec 2017 06:48:44 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 224192948F for ; Tue, 5 Dec 2017 06:48:44 +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=VHjzRZGexWPs46DPakgGKftXghrj0dm+mh5x00CEIH4=; b=JefU6kRMEYcBd6 vb8qF4yEQQf/g7HI01vzzIR32AUaG9S4Tf/5yj2+x6jT/f1bRPGjRTIzRbroC0ndSGGRSedE0nuDk r8ZnKYOl87apEKx7khamKhp4sGU+zDMjp+kt8IHr6T9vLw94EXs5P5sgwmabsxhPcQS7yveczRmvH YYRMN5LeovC3Hvz7d9n3EZN4CWP4AumQeTdi6/xJZ5Yl+NuKLdAJ8yz36PqubI3osCzYkn3PwlL7D 6ns/f6cyhKAPomoph8K/f/JXOH1YVNerJq8xdJTcPe1VyAhriOceAPifvt8/g4W/WvM0S5GAxGA5j CAs3p37amzs3EA1bFwiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eM723-00058c-GD; Tue, 05 Dec 2017 06:48:43 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eM71Y-0004YW-PA for linux-arm-kernel@lists.infradead.org; Tue, 05 Dec 2017 06:48:15 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB56lkEP011886; Tue, 5 Dec 2017 00:47:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512456466; bh=q5IcZ7tJWXEFXfnu3bLTQmOEN5XIz4+wjrI0Ayo/eho=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DJLbES02j5SVK4sKFHlLhtf2P9u+VFDTMSvR6XP6GfgqYX1z5r5cM9VFg+7z/8he7 qY46WpNSzMLuJXQya4DxUJQgOQbSl0gV3TFwx1u3ADonIKOYK739NcgtB62vtD8vcC C/xySSXnx+8AniD8RR4lL2hgJZr9VS77hDL5IVc0= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB56lkcj022966; Tue, 5 Dec 2017 00:47:46 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 5 Dec 2017 00:47:46 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 5 Dec 2017 00:47:46 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB56ldcA018378; Tue, 5 Dec 2017 00:47:44 -0600 From: Vignesh R To: Santosh Shilimkar Subject: [PATCH 2/2] ARM: dts: keystone-k2g-evm: Enable UART 2 Date: Tue, 5 Dec 2017 12:18:12 +0530 Message-ID: <20171205064812.15758-3-vigneshr@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171205064812.15758-1-vigneshr@ti.com> References: <20171205064812.15758-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-20171204_224813_088333_E382BBED X-CRM114-Status: UNSURE ( 7.55 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, Vignesh R , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Franklin S Cooper Jr 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 From: Franklin S Cooper Jr 66AK2G GP EVM has a Baseboard Management Controller (BMC) on board. This controller handles things like setting the SoCs boot mode along with controlling the on board character LCD display module. Enable UART2 which communicates with the BMC. This enables userspace applications to display something on the onboard LCD controlled by the BMC. Signed-off-by: Franklin S Cooper Jr Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index 8d100217e38f..9737730ddc21 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -115,6 +115,13 @@ K2G_CORE_IOPAD(0x121c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* qspi_csn0.qspi_csn0 */ >; }; + + uart2_pins: pinmux_uart2_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x11ec) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* uart2_rxd.uart2_rxd */ + K2G_CORE_IOPAD(0x11f0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* uart2_txd.uart2_txd */ + >; + }; }; &uart0 { @@ -263,3 +270,9 @@ }; }; }; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +};