Received: by 10.192.165.148 with SMTP id m20csp437320imm; Fri, 27 Apr 2018 01:18:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr++xeUPsKdjHgiKWO2DBuqSlAcFCl0beoxKv2p+a7ttf9o51OZtKXQASI8RhCXHuObzAwN X-Received: by 10.98.246.25 with SMTP id x25mr1348897pfh.138.1524817111199; Fri, 27 Apr 2018 01:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524817111; cv=none; d=google.com; s=arc-20160816; b=JrKfd07Ebqh00gy3u/eW9hLWg0x/BbiijL0iLY2RTSpPD2hHGq9Hz1A2KvsUg0MBAv D7dRTwmbcmlGWfCkIsk8CT41EP83R++zGImdlgmlfxB/j2sHDp4aMvfS7F+djwntp9H4 /GUuPDvGyICLiW/5kuO1rjG9xvuRghsdBpMio1uwmA7t8GpyNLdwzYFGPwPgyGHLKnk4 cpMxCnYaLAqNzW1fOfTTKhRbdrsQcakSKBzko1YY7rQAiGLmcksywxvByEPr69s1/MSC KjHpRQnFEsEwzO/wPq1+peJDsjkqHRe8lKudpy881ZigPw15avGgC5RbLkA5qcJXzRyw DE1Q== 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:arc-authentication-results; bh=mTTPpxo4YMVoVNEqgkD8cnzxoQGpgee66YH7aFgajcg=; b=Psq4NA82NbKksw/KsWrzvEY+zXZjh27r3FlqXJ4jiY5ZEfv5vzi4Kxruu+DDVHQwYg kZlGVoWfzDFlvBAo+pFObY3FH1SXf2IKaDb6VMJoaOGytrWSJbt2cmjoWo11CqjlOej4 eC0C94ITbzT5bbDf4iCauVG9FkjRT0oBgoMGyX6mnWFpwtbXiq/2+sLB8qWnvunLk3sN lP1QD6ObiJDn9o1DiUd5XJbtInOmGYkb3mComgeC4JNoJpaCM1a9VNzkRfZwqxx1YhCk N65aXzxd5gMXj+Lb0jvC/WJtGxMm4yg16EuRrDzuazzdbuKe3FWK5ENcVaE0ztTMpElQ NQaA== 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 u13-v6si780309pgq.469.2018.04.27.01.18.17; Fri, 27 Apr 2018 01:18:31 -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 S1757811AbeD0IQ2 (ORCPT + 99 others); Fri, 27 Apr 2018 04:16:28 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:16422 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1757615AbeD0IOy (ORCPT ); Fri, 27 Apr 2018 04:14:54 -0400 X-UUID: f44a8326cdd64ba2afb21db56b956b64-20180427 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2067627090; Fri, 27 Apr 2018 16:14:50 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 27 Apr 2018 16:14:49 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 27 Apr 2018 16:14:49 +0800 From: To: , , , , , CC: , , , , , Sean Wang Subject: [PATCH v2 6/6] arm: dts: mt7623: add Mali-450 and related device nodes Date: Fri, 27 Apr 2018 16:14:47 +0800 Message-ID: <5373474c687996446dc80d2cd40143c061a499c0.1524816502.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: 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 From: Sean Wang Add nodes for Mali-450 device, g3dsys device providing required clock gate and reset control and larb3 offering an arbiter through iommu for controlling access to external memory requested from Mali-450. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623.dtsi | 70 ++++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt7623a.dtsi | 4 +++ 2 files changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index 59139dd..1cd8208 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -276,6 +276,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"; @@ -307,6 +318,17 @@ reg = <0 0x10200100 0 0x1c>; }; + iommu: 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 = <&larb3>; + #iommu-cells = <1>; + }; + efuse: efuse@10206000 { compatible = "mediatek,mt7623-efuse", "mediatek,mt8173-efuse"; @@ -682,6 +704,54 @@ status = "disabled"; }; + g3dsys: clock-controller@13000000 { + compatible = "mediatek,mt7623-g3dsys", + "mediatek,mt2701-g3dsys", + "syscon"; + reg = <0 0x13000000 0 0x200>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + larb3: larb@13010000 { + compatible = "mediatek,mt7623-smi-larb", + "mediatek,mt2701-smi-larb"; + reg = <0 0x13010000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <3>; + clocks = <&clk26m>, <&clk26m>; + clock-names = "apb", "smi"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_MFG>; + }; + + mali: gpu@13040000 { + compatible = "mediatek,mt7623-mali", "arm,mali-450"; + reg = <0 0x13040000 0 0x30000>; + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", + "ppmmu1", "pp2", "ppmmu2", "pp"; + clocks = <&topckgen CLK_TOP_MMPLL>, + <&g3dsys CLK_G3DSYS_CORE>; + clock-names = "bus", "core"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_MFG>; + mediatek,larb = <&larb3>; + resets = <&g3dsys MT2701_G3DSYS_CORE_RST>; + }; + + mmsys: syscon@14000000 { + compatible = "mediatek,mt2701-mmsys", "syscon"; + reg = <0 0x14000000 0 0x1000>; + #clock-cells = <1>; + }; + hifsys: syscon@1a000000 { compatible = "mediatek,mt7623-hifsys", "mediatek,mt2701-hifsys", diff --git a/arch/arm/boot/dts/mt7623a.dtsi b/arch/arm/boot/dts/mt7623a.dtsi index 0735a1fb8..a42fd46 100644 --- a/arch/arm/boot/dts/mt7623a.dtsi +++ b/arch/arm/boot/dts/mt7623a.dtsi @@ -21,6 +21,10 @@ power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; }; +&mali { + status = "disabled"; +}; + &nandc { power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; }; -- 2.7.4