From patchwork Wed Apr 27 14:11:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 8958111 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4DDC69F1C1 for ; Wed, 27 Apr 2016 14:14:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 75BB020121 for ; Wed, 27 Apr 2016 14:14:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AAC692010C for ; Wed, 27 Apr 2016 14:14:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1avQDA-0007Sp-Vt; Wed, 27 Apr 2016 14:13:05 +0000 Received: from mail-oi0-f66.google.com ([209.85.218.66]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1avQCT-0006dp-Qu for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2016 14:12:22 +0000 Received: by mail-oi0-f66.google.com with SMTP id f63so7506029oig.0 for ; Wed, 27 Apr 2016 07:12:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BBbHWdj/N48KTXuPXJrFPdlZjeniPj+PF+AD+W70+28=; b=aTefY+HcPnm834mBTghPr8fCv96vFrKvG9IeDvoyJF3b84W7K8fkYcKHkhBufoBYHp kzvNcWL9jBtRiJvPnsCD/9Md/OHVG8kig+EymiScWps1mT5bgmCHAbvnVKECbYQ3F5IJ RoXaWcG0cslEaa1rcji0+jtkHra96dfqxyNPXaygRw4qGt4UcPutoWlo6QSs9wyRr0qM 2EcivqaO4at/bC2hvLV5S92RhCNu6AFMmANB7mVsuoS4m0OZqCuFNB2YRVH1s7ub2vUH QLT9Ruh407vDptOKFFrn5HTCSRcvo4qa6F25GXCnnQLNCG2TfSM+RxGcdaT9pwr2mgez bvzw== X-Gm-Message-State: AOPr4FXijR5rTtStFjbUztBB8PURWhBuIOXCqdco+/v4cE6EoaA7y2FrxpGM+8ypf2KVGg== X-Received: by 10.202.243.84 with SMTP id r81mr3168476oih.24.1461766320997; Wed, 27 Apr 2016 07:12:00 -0700 (PDT) Received: from beast-server.fios-router.home ([173.64.219.161]) by smtp.gmail.com with ESMTPSA id u41sm422483otd.37.2016.04.27.07.11.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Apr 2016 07:12:00 -0700 (PDT) From: Franklin S Cooper Jr To: robh+dt@kernel.org, linux@arm.linux.org.uk, ssantosh@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] ARM: dts: k2g-evm: Add pinmuxing for UART0 Date: Wed, 27 Apr 2016 09:11:48 -0500 Message-Id: <1461766308-27669-6-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1461766308-27669-1-git-send-email-fcooper@ti.com> References: <1461766308-27669-1-git-send-email-fcooper@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160427_071221_978354_205131EE X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lokesh Vutla , Tero Kristo , Franklin S Cooper Jr , Dave Gerlach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Lokesh Vutla Avoid depending on the bootloader or the ROM for configuring the pinmux by explicitly setting the pinmux here. Signed-off-by: Lokesh Vutla Signed-off-by: Franklin S Cooper Jr Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach --- arch/arm/boot/dts/keystone-k2g-evm.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index 5bfd9e7..692fcbb 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -27,6 +27,17 @@ }; +&k2g_pinctrl { + uart0_pins: pinmux_uart0_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x11cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* uart0_rxd.uart0_rxd */ + K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ + >; + }; +}; + &uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins>; status = "okay"; };