From patchwork Wed Sep 12 19:45:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Ramirez Luna X-Patchwork-Id: 1446161 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 20F1BDFFD0 for ; Wed, 12 Sep 2012 19:46:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752308Ab2ILTqp (ORCPT ); Wed, 12 Sep 2012 15:46:45 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:55508 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682Ab2ILTqV (ORCPT ); Wed, 12 Sep 2012 15:46:21 -0400 Received: by mail-ob0-f174.google.com with SMTP id uo13so3246514obb.19 for ; Wed, 12 Sep 2012 12:46:21 -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=tFRFEnllXifN71UB501+pLTYfgWk40iIVCZuqu6R5aM=; b=WioM21+6a2YxPZUQsP8lwiece4B/h0uhzyOy6RkZxkY8Zx9L0p+VGAq2yHrY2ZEypp Z1zKrr/u0TG5s9ARn3slIS8LZ9De6Ys/ZeNX/Coj7gr3CYr6xA3oCue1N8Vu+JD0G+Av uy877hi1U1ny297Lx13P5jLyQfe3k8TH2g3ONTe4h06HDSUmaIpUKL36G6thSYNbTBRZ rbkAV1OXF2/DeOrI59+ttVOt7wn7zt4JTlHdRBBgoN69RRKqVnZ+TMlQVZSNKk+wwEqs 3vDWW6DK/iN6LrVJ8tKgiQ0m42/lM/jzCojSePieJ/4JxaKwllD26Isb+zheqQnr78or bdIg== Received: by 10.60.172.15 with SMTP id ay15mr23792965oec.64.1347479181499; Wed, 12 Sep 2012 12:46:21 -0700 (PDT) Received: from uda0273944.am.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id a6sm17041227oeh.1.2012.09.12.12.46.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Sep 2012 12:46:21 -0700 (PDT) From: Omar Ramirez Luna To: Tony Lindgren , Benoit Cousson , Ohad Ben-Cohen , Joerg Roedel Cc: Russell King , Omar Ramirez Luna , Rajendra Nayak , Peter Ujfalusi , Laurent Pinchart , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Grant Likely , Rob Herring Subject: [PATCH v2 9/9] arm/dts: OMAP3/4: Add iommu nodes Date: Wed, 12 Sep 2012 14:45:52 -0500 Message-Id: <1347479152-588-10-git-send-email-omar.luna@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347479152-588-1-git-send-email-omar.luna@linaro.org> References: <1347479152-588-1-git-send-email-omar.luna@linaro.org> X-Gm-Message-State: ALoCoQmxpIRJR+ONl7RXGFhb6o0s2tPs9D61DuMLkJOivtFewhU0vkBlHR7JLCTBtSkwhzq3arED Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add nodes for iommu DT, to interface with hwmods. Cc: Grant Likely Cc: Rob Herring Cc: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/boot/dts/omap3.dtsi | 12 +++++++++++- arch/arm/boot/dts/omap4.dtsi | 17 ++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 8109471..7500136 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -38,12 +38,17 @@ }; iva { - compatible = "ti,iva2.2"; + compatible = "ti,iva2.2", "simple-bus"; ti,hwmods = "iva"; dsp { compatible = "ti,omap3-c64"; }; + + mmu_iva: mmu_iva@5d000000 { + compatible = "ti,omap3-iommu"; + ti,hwmods = "mmu_iva"; + }; }; }; @@ -216,6 +221,11 @@ ti,hwmods = "mmc3"; }; + mmu_isp: mmu_isp@480bd400 { + compatible = "ti,omap3-iommu"; + ti,hwmods = "mmu_isp"; + }; + wdt2: wdt@48314000 { compatible = "ti,omap3-wdt"; ti,hwmods = "wd_timer2"; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 04cbbcb..07f3587 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -48,8 +48,23 @@ }; dsp { - compatible = "ti,omap3-c64"; + compatible = "ti,omap3-c64", "simple-bus"; ti,hwmods = "dsp"; + + mmu_dsp: mmu_dsp@4a066000 { + compatible = "ti,omap4-iommu"; + ti,hwmods = "mmu_dsp"; + }; + }; + + ipu { + compatible = "ti,omap4-ipu", "simple-bus"; + ti,hwmods = "ipu"; + + mmu_ipu: mmu_ipu@55082000 { + compatible = "ti,omap4-iommu"; + ti,hwmods = "mmu_ipu"; + }; }; iva {