From patchwork Wed Dec 12 15:33:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 1867661 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 69D84DF266 for ; Wed, 12 Dec 2012 15:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754212Ab2LLPd4 (ORCPT ); Wed, 12 Dec 2012 10:33:56 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36691 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753820Ab2LLPdz (ORCPT ); Wed, 12 Dec 2012 10:33:55 -0500 Received: by mail-wi0-f180.google.com with SMTP id hj13so709713wib.1 for ; Wed, 12 Dec 2012 07:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=RmBNr0fw49hc8wyV+JN5xmgGlJBjTH6sM46+1AaH9WA=; b=IJD7nxOZoLO2z5LiNmJqtjH7Smd/tkEUnyOTVCJaG3N8hCNYtKx1cl/MViYbHBPhaY 36RwwtjMNEJy88GtUfIuHYHpmcmZi7vTwODhB4Y6VpQjUJidD1DlpKZOx3fhMsGfcX0w FfoCPqbkF9Im8gmegvohXo8Yh0ICCVcOe4QjW0Me4PVIOLe6Y8lYa0DZw14yEJW6QXJ8 jF3zBq5v7CFLJEX9zxQKJtq23Xwq5o3J6e4F/9lVoG0w5IhhhpgA+X840BVpZY55y/G5 i3HqjKbD1PwFFVdomEL65ubAAjcFSn7RD+8eozu/AEdmMt8yGHk31KCe0dg81lJZvrP0 fh+Q== Received: by 10.180.14.2 with SMTP id l2mr23618645wic.2.1355326434101; Wed, 12 Dec 2012 07:33:54 -0800 (PST) Received: from localhost.localdomain (43.Red-2-139-180.staticIP.rima-tde.net. [2.139.180.43]) by mx.google.com with ESMTPS id cf6sm21718321wib.3.2012.12.12.07.33.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 07:33:53 -0800 (PST) From: Matthias Brugger To: b-cousson@ti.com, tony@atomide.com, grant.likely@secretlab.ca, eballetbo@gmail.com, elezegarcia@gmail.com, ebutera@gmail.com, javier.martinez@collabora.co.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Matthias Brugger Subject: [PATCH] arm: dts: Add uart1 and uart2 to igep boards. Date: Wed, 12 Dec 2012 16:33:42 +0100 Message-Id: <1355326422-12357-1-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This patch is a follow-up patch for Javier Martinez effort adding initial device tree support to IGEP technology devices. [1] It adds uart1 and uart2 bindings to the generic dtsi for the IGEP boards. [1] http://www.spinics.net/lists/linux-omap/msg83409.html Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/omap3-igep.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi index 125fe00..c02e3c0 100644 --- a/arch/arm/boot/dts/omap3-igep.dtsi +++ b/arch/arm/boot/dts/omap3-igep.dtsi @@ -27,6 +27,20 @@ }; &omap3_pmx_core { + uart1_pins: pinmux_uart1_pins { + pinctrl-single,pins = < + 0x152 0x100 /* uart1_rx.uart1_rx INPUT | MODE0 */ + 0x14c 0 /* uart1_tx.uart1_tx OUTPUT | MODE0 */ + >; + }; + + uart2_pins: pinmux_uart2_pins { + pinctrl-single,pins = < + 0x14a 0x100 /* uart2_rx.uart2_rx INPUT | MODE0 */ + 0x148 0 /* uart2_tx.uart2_tx OUTPUT | MODE0 */ + >; + }; + uart3_pins: pinmux_uart3_pins { pinctrl-single,pins = < 0x16e 0x100 /* uart3_rx.uart3_rx INPUT | MODE0 */ @@ -77,6 +91,16 @@ status = "disabled"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>;