Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3628316imm; Wed, 5 Sep 2018 03:25:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZNp9XtSl47vJEptn0tppc2ayOpFLHT+y377qhVbTQa7JkTPCSLa0VZA3mMglpbcp1qKj3M X-Received: by 2002:a63:788b:: with SMTP id t133-v6mr35645416pgc.329.1536143141101; Wed, 05 Sep 2018 03:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536143141; cv=none; d=google.com; s=arc-20160816; b=FBeC4eWSMJKP5rxVFkItHbB1cAwlhfGkFCeCYIHqF8Ph7m+WgYzOkDBJgdEhvyH0Na WdPsP9ZWmHBWvtjcKE9+I4Y4eBrannHPmvYyRxEEDxUAniNM3DGD6Dxwwzhi2tMqF+EF bsXSg4tsevpp8g644IgtE74nvesyXm2oJIsQm3psKtrnsxzXGMVBnhdeW/kXk6YNBiFz JnSSq081rbcFB9YaAIUGV8TKZVUg54RaoWKGv4RLLBJ+k0Xa7dxK+zG4uoiLJpOUBBSA 7nZy28wYInHxT8WXlCbNAgBTFmNJHo54mp0VcMT0M2Y6HsZ482fSM2CrTe5DRUqSQpHz l0Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ETITSUDvljzGkQYp4isBLessMhRrPVaSuow5dEtyWDQ=; b=WiI9twLqYtwrdcYwT3AzUfoUQX3geGvMNC1mxaR5R2WYWakZK1CGQGIdCv2v8QaASr GMiXw8zkFlQ8+cyjfdRAhJt4ijiQ1z0uB5NlFv2mr62v+K2fWb0WmaJjCJ4X64DwTRzf VVNQLG11sYHfcBYBx8vLEfX3p1SpNelwxjG20S2chIpYxWaa2Me2odMyJsIvBGB/P34U p7e24D4ox/ygzx67HpgGOvWi0BmVbA9BXhXt9jjjJBiYh5E2VrK+9ncBn9XLMHN4YqpF KtdOfanjGWcNXal179cpmDq76nWIrjR6mZdBaOKzeOCL8kI/ZCpQhp4/5J6jsIi0BP5l vRVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9-v6si1585730pgi.691.2018.09.05.03.25.25; Wed, 05 Sep 2018 03:25:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727811AbeIEOwG (ORCPT + 99 others); Wed, 5 Sep 2018 10:52:06 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:25279 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727749AbeIEOwF (ORCPT ); Wed, 5 Sep 2018 10:52:05 -0400 X-UUID: 26ae8d84daab439f9f30996df325ebd1-20180905 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1535252480; Wed, 05 Sep 2018 18:22:25 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 5 Sep 2018 18:22:24 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 5 Sep 2018 18:22:24 +0800 From: Ryder Lee To: Matthias Brugger CC: Sean Wang , Roy Luo , Weijie Gao , , , , , Ryder Lee Subject: [PATCH 3/5] arm: dts: mt7623: add iommu/smi device nodes Date: Wed, 5 Sep 2018 18:22:19 +0800 Message-ID: <2d9d216adb779bac6f5515b39cfeaed8b4b61878.1536141302.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <84011aa94dd7be9239b7a2f944dd30fc70568fbb.1536141302.git.ryder.lee@mediatek.com> References: <84011aa94dd7be9239b7a2f944dd30fc70568fbb.1536141302.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add iommu/smi device nodes for MT7623. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index b7ccf8b..a46987b 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -286,6 +287,17 @@ clock-names = "system-clk", "rtc-clk"; }; + smi_common: smi@1000c000 { + compatible = "mediatek,mt7623-smi-common", + "mediatek,mt2701-smi-common"; + reg = <0 0x1000c000 0 0x1000>; + clocks = <&infracfg CLK_INFRA_SMI>, + <&mmsys CLK_MM_SMI_COMMON>, + <&infracfg CLK_INFRA_SMI>; + clock-names = "apb", "smi", "async"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; + }; + pwrap: pwrap@1000d000 { compatible = "mediatek,mt7623-pwrap", "mediatek,mt2701-pwrap"; @@ -317,6 +329,17 @@ reg = <0 0x10200100 0 0x1c>; }; + iommu: mmsys_iommu@10205000 { + compatible = "mediatek,mt7623-m4u", + "mediatek,mt2701-m4u"; + reg = <0 0x10205000 0 0x1000>; + interrupts = ; + clocks = <&infracfg CLK_INFRA_M4U>; + clock-names = "bclk"; + mediatek,larbs = <&larb0 &larb1 &larb2>; + #iommu-cells = <1>; + }; + efuse: efuse@10206000 { compatible = "mediatek,mt7623-efuse", "mediatek,mt8173-efuse"; @@ -709,6 +732,18 @@ #clock-cells = <1>; }; + larb0: larb@14010000 { + compatible = "mediatek,mt7623-smi-larb", + "mediatek,mt2701-smi-larb"; + reg = <0 0x14010000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <0>; + clocks = <&mmsys CLK_MM_SMI_LARB0>, + <&mmsys CLK_MM_SMI_LARB0>; + clock-names = "apb", "smi"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; + }; + imgsys: syscon@15000000 { compatible = "mediatek,mt7623-imgsys", "mediatek,mt2701-imgsys", @@ -717,6 +752,18 @@ #clock-cells = <1>; }; + larb2: larb@15001000 { + compatible = "mediatek,mt7623-smi-larb", + "mediatek,mt2701-smi-larb"; + reg = <0 0x15001000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <2>; + clocks = <&imgsys CLK_IMG_SMI_COMM>, + <&imgsys CLK_IMG_SMI_COMM>; + clock-names = "apb", "smi"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; + }; + vdecsys: syscon@16000000 { compatible = "mediatek,mt7623-vdecsys", "mediatek,mt2701-vdecsys", @@ -725,6 +772,18 @@ #clock-cells = <1>; }; + larb1: larb@16010000 { + compatible = "mediatek,mt7623-smi-larb", + "mediatek,mt2701-smi-larb"; + reg = <0 0x16010000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <1>; + clocks = <&vdecsys CLK_VDEC_CKGEN>, + <&vdecsys CLK_VDEC_LARB>; + clock-names = "apb", "smi"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; + }; + hifsys: syscon@1a000000 { compatible = "mediatek,mt7623-hifsys", "mediatek,mt2701-hifsys", -- 1.9.1