From patchwork Wed Oct 1 10:20:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 5010831 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 A89CB9F375 for ; Wed, 1 Oct 2014 10:23:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C69AE2021B for ; Wed, 1 Oct 2014 10:23:34 +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 097352013A for ; Wed, 1 Oct 2014 10:23:34 +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 1XZH2a-0003R2-8F; Wed, 01 Oct 2014 10:21:48 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZH2N-0003EA-RZ for linux-arm-kernel@lists.infradead.org; Wed, 01 Oct 2014 10:21:36 +0000 Received: by mail-pa0-f51.google.com with SMTP id lj1so15766pab.24 for ; Wed, 01 Oct 2014 03:21:15 -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=TuThHlUKpuR+aoNjJNAbMQBjwHCeMrtMtfNq2nE3gt4=; b=eSv4Pae4k05Cf2ytbdeJRzQQwhnuuydHqcK1IV2Y1A7JdfjyDZ1FvmJ5hMgutJjM1n hTzjL1qpjf3hqJZNqLM32W/7xxyI9ze0SiE5OGbb9zf+eJ3D0pRh9jDd2qhBvjLchjN8 k9OAZ3oiYZ9xZpxY63cyeCI6DPbCL9sPRXGrM= 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=TuThHlUKpuR+aoNjJNAbMQBjwHCeMrtMtfNq2nE3gt4=; b=PFBAy22fL2P00W2GyjjmR1CgzqCA+slZwIWuo+xdarZUOBkaa+rvjSWYy2cVHINgCo JRDuKUfF/3axz8taBMc/edJKCnqeO/aQb3PFHEbQK8oLHUKZQkjyYw/nKMBQ0j317o14 739+Eyo50mWVDPB4xkMTImY3S3AcDaCwSFMR3oiqupnTtQERffV70myv91z7jtb2QEDF +JauvhHqEwB8/paDWxyvO0D+R85wL8JD5900iN14/+IOFNXBFZjsv1iRwp3u1GvAIJOy GVkBw6PoeeKjtdKHEr+PXEsofT7YmnuHiD5J1BbErNx4GFw/rmImDueFpj35Aqvwmnl1 IT/w== X-Gm-Message-State: ALoCoQlVcslApMrdB7UK6aD14Gx8+QHX1NWzFAdBgssXz18RJYRnhhm3B33CIKwIGWbdY69u9MWS X-Received: by 10.70.92.43 with SMTP id cj11mr21915335pdb.94.1412158875062; Wed, 01 Oct 2014 03:21:15 -0700 (PDT) Received: from djkurtz-z620.tpe.corp.google.com (djkurtz-z620.tpe.corp.google.com [172.30.210.61]) by mx.google.com with ESMTPSA id nq11sm657211pdb.17.2014.10.01.03.21.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Oct 2014 03:21:14 -0700 (PDT) From: Daniel Kurtz To: Joerg Roedel , Heiko Stuebner Subject: [PATCH 3/3] ARM: dts: rk3288: add VOP iommu nodes Date: Wed, 1 Oct 2014 18:20:43 +0800 Message-Id: <1412158843-8115-4-git-send-email-djkurtz@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1412158843-8115-1-git-send-email-djkurtz@chromium.org> References: <1412158843-8115-1-git-send-email-djkurtz@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141001_032135_920257_74B41670 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Simon Xue , Pawel Moll , Ian Campbell , Grant Grundler , linux-kernel@vger.kernel.org, Daniel Kurtz , linux-rockchip@lists.infradead.org, iommu@lists.linux-foundation.org, Rob Herring , Kumar Gala , Grant Likely , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , linux-arm-kernel@lists.infradead.org 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=-2.4 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..cbc92fa 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -271,6 +271,24 @@ status = "disabled"; }; + vopb_mmu: iommu@0xff930300 { + compatible = "rockchip,iommu"; + reg = <0xff930300 0x100>; + interrupts = ; + interrupt-names = "vopb_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + + vopl_mmu: iommu@0xff940300 { + 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;