From patchwork Fri Oct 24 07:33:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 5145231 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0AC659F349 for ; Fri, 24 Oct 2014 09:20:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CDDC20256 for ; Fri, 24 Oct 2014 09:20:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69C8520220 for ; Fri, 24 Oct 2014 09:20:24 +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 1Xhazf-0002lv-MV; Fri, 24 Oct 2014 09:17:11 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xhazb-0002f8-Tj for linux-arm-kernel@lists.infradead.org; Fri, 24 Oct 2014 09:17:08 +0000 Received: by mail-pa0-f41.google.com with SMTP id rd3so814215pab.14 for ; Fri, 24 Oct 2014 02:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=G5FqPTF45dQPepPqTapZrKKRZVUfVWSItoSrjkmUkkQ=; b=ffYV1uqOGUvl7FwmO2ImEHX+XkqeyaO09DrAw9pFXjh1M5aKQkrdvhEzohOvixW8TR Q5tHcdYTwOktrqhkluZUmG/ZmYoxIkT+OWbPLIHc3RKI+f5PQQI40wW1TR/82AwKlktD /Uuim94y7dtfIrjgi92JtOXtSKPSddbb0/ZU0= 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=G5FqPTF45dQPepPqTapZrKKRZVUfVWSItoSrjkmUkkQ=; b=k7H1wlWrMxhW5cWOW8l43KnMEr5KfSB8A0jF9sH7G1rMXGRi2hTMOPcuIPzZY3sH4A 5CMNDew4C7V12MdNBm5s68ygrtn9k78Llv5uJd+xBJrMKygzf8NvwIdqVfnkflJ5ppAQ V1uGdI/ZT1W9AQdUTM8xQpuYRHF49loP0eiEkzylEtW+QKktlSkuaa34I5FeK3u/oJBE /lbbmg0yfMAkmX49yTqyfvR+BiDPTD9biLylakF7ncYbOIXFzp0TqOFiRG0mxDyhQk7k zQTBZkt+AmH4SSL/l/eIm8PKg3a6UGcHWqja9H7gbHNzUElwrNQw681tWZlXsWbZmbGl SrOg== X-Gm-Message-State: ALoCoQlOwrYxjmVUHJBrO0W0QnII02HY0GPXkKAZplKyMfuZ2YAppf8OA8kyWfmaDBB0Nu+3BVAI X-Received: by 10.70.135.226 with SMTP id pv2mr2882117pdb.11.1414136052003; Fri, 24 Oct 2014 00:34:12 -0700 (PDT) Received: from djkurtzt530-glaptop.corp.google.com ([172.30.214.188]) by mx.google.com with ESMTPSA id oc7sm3183761pdb.86.2014.10.24.00.34.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Oct 2014 00:34:11 -0700 (PDT) From: Daniel Kurtz To: Joerg Roedel Subject: [PATCH v5 3/3] ARM: dts: rk3288: add VOP iommu nodes Date: Fri, 24 Oct 2014 15:33:49 +0800 Message-Id: <1414136029-22695-4-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1414136029-22695-1-git-send-email-djkurtz@chromium.org> References: <1414136029-22695-1-git-send-email-djkurtz@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141024_021708_095296_B0C721F4 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Mark Rutland , "open list:OPEN FIRMWARE AND..." , Russell King , Heiko Stuebner , Pawel Moll , Ian Campbell , open list , Daniel Kurtz , Rob Herring , Kumar Gala , "moderated list:ARM PORT" , Simon Xue X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Add device nodes for the VOP iommus. Device nodes for other iommus will be added in later patches. The iommu nodes use the #iommu-cells property as described in: Documentation/devicetree/bindings/iommu/iommu.txt Signed-off-by: Daniel Kurtz Signed-off-by: Simon Xue --- arch/arm/boot/dts/rk3288.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 5950b0a..df1170c 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -271,6 +271,24 @@ status = "disabled"; }; + vopb_mmu: iommu@ff930300 { + compatible = "rockchip,iommu"; + reg = <0xff930300 0x100>; + interrupts = ; + interrupt-names = "vopb_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + + vopl_mmu: iommu@ff940300 { + compatible = "rockchip,iommu"; + reg = <0xff940300 0x100>; + interrupts = ; + interrupt-names = "vopl_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + gic: interrupt-controller@ffc01000 { compatible = "arm,gic-400"; interrupt-controller;