From patchwork Thu Aug 3 02:04:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Xue X-Patchwork-Id: 9878013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7A010603B4 for ; Thu, 3 Aug 2017 02:06:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E2BE28609 for ; Thu, 3 Aug 2017 02:06:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52953286A3; Thu, 3 Aug 2017 02:06:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, URIBL_BLACK autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DE13028609 for ; Thu, 3 Aug 2017 02:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=mm3vCSBDAJMOYTZ4EYirw4nyF94Xmixhtw9XRRxz9No=; b=JNJ WiRfCZKpDQV+bcSHe3uAoh4EuGw59GZm5LGrPXxi3UTkURZrV/RTvW8M5ub0R9lckxDSD7GHFuJZS x8el5JsUn18yYCjMqQupe1y9JFGvnL8T7VfcRjshJGLGHcLr8jeoB6Ko+qM9xQCHHkI2XuzKNSS5T vCzJwfFZ9Q9yPDGJpkwX5qahlxniO/C0jG76Qf6IUenfvCzl+m5ohXnKQVYn4QiodylUWxncdFF44 ZBomMQf3LXSemFW6KAKtaltIuuBNl6N+8Hi3Yx+K9DbKEk1vorQVQhDRcAwi0KktBqezpbK/atlaY XfvItlpxOCtRLAUw5/lfR+3FSssuuNw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dd5X5-00052a-PV; Thu, 03 Aug 2017 02:06:39 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dd5X4-00052P-Dx for linux-rockchip@bombadil.infradead.org; Thu, 03 Aug 2017 02:06:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SbzB2Nn1yqWEilBM0mpQlrM9E8DMGJsBB7JYhL73EXk=; b=sMFDD4o260UooMXeTOuSB6C2x UqLZzlVtg80LT4umSs82ZAVhgMaOJj4nIY3GpoPzUhQX5KG4Chc0cSt/Z0OWqmOWoRxfzUliLzZQL VX3tBsRhKy0fevMr16KgZbUq+l1MalIdlB0Z8rLE8YBebbK8/cHXTEwPWseEXr3IxUritEfm11SBv O/jI+yCZWiSeGOI2jD6A9Fh/Rf0GBElowOR0o/aZZSqV4cIMfKB0nNR1kHYcU0E3g60oQZo99G//S Ju1NBcY5nRtdEflinhjpt/pVgcCNs01ir9znovFenQ8PdwdRGrABy4vIG1/8UChqNTliRlzmDrQQz lH/SPX1kg==; Received: from regular1.263xmail.com ([211.150.99.135]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dd5Vy-0003OZ-0T for linux-rockchip@lists.infradead.org; Thu, 03 Aug 2017 02:05:33 +0000 Received: from xxm?rock-chips.com (unknown [192.168.167.224]) by regular1.263xmail.com (Postfix) with ESMTP id A09251E276; Thu, 3 Aug 2017 10:04:33 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 3E4323C4; Thu, 3 Aug 2017 10:04:29 +0800 (CST) X-RL-SENDER: xxm@rock-chips.com X-FST-TO: joro@8bytes.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: xxm@rock-chips.com X-UNIQUE-TAG: <22f84b54b70a7f99553bdd438f329db7> X-ATTACHMENT-NUM: 0 X-SENDER: xxm@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 25034LS5846; Thu, 03 Aug 2017 10:04:32 +0800 (CST) From: Simon Xue To: Joerg Roedel , Heiko Stuebner Subject: [PATCH] ARM: dts: rockchip: rk3288 add more iommu nodes Date: Thu, 3 Aug 2017 10:04:03 +0800 Message-Id: <1501725843-37391-1-git-send-email-xxm@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170803_030530_776708_CABA14D3 X-CRM114-Status: UNSURE ( 7.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Simon Xue , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, iommu@lists.linux-foundation.org, Rob Herring MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add IEP/ISP/VPU/HEVC iommu nodes Signed-off-by: Simon Xue --- arch/arm/boot/dts/rk3288.dtsi | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 2484f11..90646a2 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -953,6 +953,25 @@ status = "okay"; }; + iep_mmu: iommu@ff900800 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff900800 0x0 0x40>; + interrupts = ; + interrupt-names = "iep_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + + isp_mmu: iommu@ff914000 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; + interrupts = ; + interrupt-names = "isp_mmu"; + #iommu-cells = <0>; + rockchip,disable-mmu-reset; + status = "disabled"; + }; + vopb: vop@ff930000 { compatible = "rockchip,rk3288-vop"; reg = <0xff930000 0x19c>; @@ -1126,6 +1145,24 @@ }; }; + vpu_mmu: iommu@ff9a0800 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff9a0800 0x0 0x100>; + interrupts = ; + interrupt-names = "vpu_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + + hevc_mmu: iommu@ff9c0440 { + compatible = "rockchip,iommu"; + reg = <0x0 0xff9c0440 0x0 0x40>, <0x0 0xff9c0480 0x0 0x40>; + interrupts = ; + interrupt-names = "hevc_mmu"; + #iommu-cells = <0>; + status = "disabled"; + }; + gpu: mali@ffa30000 { compatible = "rockchip,rk3288-mali", "arm,mali-t760", "arm,mali-midgard"; reg = <0xffa30000 0x10000>;