From patchwork Wed Sep 5 11:58:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1409061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 0FF29DF28C for ; Wed, 5 Sep 2012 12:03:11 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9EGH-0004R7-Id; Wed, 05 Sep 2012 11:59:13 +0000 Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1T9EG1-0004K9-OL for linux-arm-kernel@lists.infradead.org; Wed, 05 Sep 2012 11:58:58 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKUEc+gAoRoMasPj0rvILW3g4a0avurGGt@postini.com; Wed, 05 Sep 2012 04:58:57 PDT Received: by ghbf20 with SMTP id f20so53567ghb.36 for ; Wed, 05 Sep 2012 04:58:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=G1aIj7O5eF6niCcv3ABZBrOj7X/cPHwxSq/O1UZe1Ps=; b=eu445NS7dfGc22vhIeEkYxpi5t54jQrN2UFx17mbt56MdswMVBJkzuSeC6cQNcrhWy ezGAYn/TgGoaKjW7cEoBQ7/d15z2XfwM3imd4DTJ79RYpNks4R9I3NHUQfW7fJM6kbF3 odeB7hEQAUqTTD9ce+sq2+kDGXsqadd6d7+zXMNM6cz0xmQIY8kt9+yQuWxGi0WqSEQH vxgWBdwdJcX144at8N4IAC/Mr2wpwm80XQKOZqGX9gpQx5CvYLYQ8eBCGbHC1bAb606s 3mjRfL8U7lySBcmq8x8ZuQzPEQL10mXDCT4ocIAGkI42wSE3Ds1NCzKA3VThm2f73k8N EKqA== Received: by 10.236.127.199 with SMTP id d47mr22872001yhi.11.1346846335581; Wed, 05 Sep 2012 04:58:55 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id h8sm1450364ank.9.2012.09.05.04.58.47 (version=SSLv3 cipher=OTHER); Wed, 05 Sep 2012 04:58:49 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren , Benoit Cousson Subject: [PATCH v3 3/8] ARM/dts: omap3: Add McBSP entries Date: Wed, 5 Sep 2012 14:58:51 +0300 Message-Id: <1346846336-27321-4-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1346846336-27321-1-git-send-email-peter.ujfalusi@ti.com> References: <1346846336-27321-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQnej4HjZEKACt+LYe/COYvZVvpbpCrtnZ3oSPnEuxaXTupyFZMdF76Hs6Gb6XUUoC3qDQ97 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.69 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: devicetree-discuss@lists.ozlabs.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Create the needed sections to be able to probe McBSP ports via DT. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap3.dtsi | 69 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 8109471..f024bb3 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -220,5 +220,74 @@ compatible = "ti,omap3-wdt"; ti,hwmods = "wd_timer2"; }; + + mcbsp1: mcbsp@48074000 { + compatible = "ti,omap3-mcbsp"; + reg = <0x48074000 0xff>; + reg-names = "mpu"; + interrupts = <16>, /* OCP compliant interrupt */ + <59>, /* TX interrupt */ + <60>; /* RX interrupt */ + interrupt-names = "common", "tx", "rx"; + interrupt-parent = <&intc>; + ti,buffer-size = <128>; + ti,hwmods = "mcbsp1"; + }; + + mcbsp2: mcbsp@49022000 { + compatible = "ti,omap3-mcbsp"; + reg = <0x49022000 0xff>, + <0x49028000 0xff>; + reg-names = "mpu", "sidetone"; + interrupts = <17>, /* OCP compliant interrupt */ + <62>, /* TX interrupt */ + <63>, /* RX interrupt */ + <4>; /* Sidetone */ + interrupt-names = "common", "tx", "rx", "sidetone"; + interrupt-parent = <&intc>; + ti,buffer-size = <1280>; + ti,hwmods = "mcbsp2"; + }; + + mcbsp3: mcbsp@49024000 { + compatible = "ti,omap3-mcbsp"; + reg = <0x49024000 0xff>, + <0x4902a000 0xff>; + reg-names = "mpu", "sidetone"; + interrupts = <22>, /* OCP compliant interrupt */ + <89>, /* TX interrupt */ + <90>, /* RX interrupt */ + <5>; /* Sidetone */ + interrupt-names = "common", "tx", "rx", "sidetone"; + interrupt-parent = <&intc>; + ti,buffer-size = <128>; + ti,hwmods = "mcbsp3"; + }; + + mcbsp4: mcbsp@49026000 { + compatible = "ti,omap3-mcbsp"; + reg = <0x49026000 0xff>; + reg-names = "mpu"; + interrupts = <23>, /* OCP compliant interrupt */ + <54>, /* TX interrupt */ + <55>; /* RX interrupt */ + interrupt-names = "common", "tx", "rx"; + interrupt-parent = <&intc>; + ti,buffer-size = <128>; + ti,hwmods = "mcbsp4"; + }; + + mcbsp5: mcbsp@48096000 { + compatible = "ti,omap3-mcbsp"; + reg = <0x48096000 0xff>; + reg-names = "mpu"; + interrupts = <27>, /* OCP compliant interrupt */ + <81>, /* TX interrupt */ + <82>; /* RX interrupt */ + interrupt-names = "common", "tx", "rx"; + interrupt-parent = <&intc>; + ti,buffer-size = <128>; + ti,hwmods = "mcbsp5"; + }; }; };