From patchwork Fri Mar 17 06:09:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 71084 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp170383wrt; Thu, 16 Mar 2023 23:13:26 -0700 (PDT) X-Google-Smtp-Source: AK7set95yu+I4ujVB8EKJq2yiCJBtMuOP8gh+3Sy0D0ley6GGJ27cRFBHP+r0dgyxHqEPjprHuE5 X-Received: by 2002:a05:6a00:1bce:b0:626:5bd:d33 with SMTP id o14-20020a056a001bce00b0062605bd0d33mr3463897pfw.0.1679033605726; Thu, 16 Mar 2023 23:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679033605; cv=none; d=google.com; s=arc-20160816; b=iL8tEkGZ6DX9R+FqVXT5cOx9N2SaDX62IBx0PV+Hho9jnyPs2PoTxIhGdtxI2qmjm4 epwXzSE3sg8JXb1wwRAf97OZAAcBDnOwUmraVVcP6N+M7EEVTRP2ToO4EHUZ02nesEWR dxww2MuOVpsoIQ2+t24OnFX3UD++xsWnGBZUgt25A6Uym3zZUCxzO8TVJQW0lZucPbSh BQjui5lBLRck1MnNk1v9klJ4q5QfICszMcI8pjXlYkZqzm5zg2HHoxw+OxTVJDNQuQK7 WDMOpEe3iFwDSAOJLhovBiiC07SjRL/XvkZNHAe/ZNF7sIzARaW2AdkmciPNhQQa7bex e2EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Kc/Ad3CRwzoiPYT7uxl/JkLQShn2rb97jMEpGGkpR2o=; b=ydOZ+oPubCWx6577EmTEryKVVu40YlJZ1ClMacGT4wErWMrsiUG0RT7EKLWLz7o2cc i0xrBJLyc63LHBwTHJM4KeAHg2Ilk5RnCuQJMP0MjpUFZ9y2PBnevAa4LswM+GwAE07p iR+iKtDRVTFdE/DlXY1fCRSQ4xVbX9/3JMoiTveAfrEGexyQiaYoTOQ07J4bedyZGY+7 yDzRuHJH10FUbIZi9ymlPkUo88azoGQm1GtX25H5nucGCBKBh8qYPTLPDHrJekfYRp42 3LyI7Y+2gJX+mlvHie2A9TMXUZFfwwMuZZl+G+rz8I/4AVAGlNM0QCTJajJlWbwr3XB8 hmjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pTrXJRpR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a056a00138200b005e33b4aa1f3si1733415pfg.111.2023.03.16.23.13.13; Thu, 16 Mar 2023 23:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pTrXJRpR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230130AbjCQGJs (ORCPT + 99 others); Fri, 17 Mar 2023 02:09:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjCQGJb (ORCPT ); Fri, 17 Mar 2023 02:09:31 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E907C4E5D6; Thu, 16 Mar 2023 23:09:29 -0700 (PDT) X-UUID: 439da040c48a11ed91027fb02e0f1d65-20230317 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Kc/Ad3CRwzoiPYT7uxl/JkLQShn2rb97jMEpGGkpR2o=; b=pTrXJRpRR/FM7hd+bDVFU34xdiFTR7K4e7wsaqqw9UgiaJ+FMnPXnpjcqxiPG28TgDSK2xV/goNpwvXsWRQzzELVNl+HoVsj8mcYbbXWHheSjMzuc/jFlZieIOdYdyUKeoX+UMG8kTN+fuXyriB9LGlR745Y3vpFMeF+vXXpcN0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.21,REQID:dba0a76d-cd15-4f58-8ac6-9c1466f8fc80,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.21,REQID:dba0a76d-cd15-4f58-8ac6-9c1466f8fc80,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:83295aa,CLOUDID:0ed0a728-564d-42d9-9875-7c868ee415ec,B ulkID:23031714092588B3NCO3,BulkQuantity:1,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:43,QS:nil,BEC:nil,COL:0, OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 439da040c48a11ed91027fb02e0f1d65-20230317 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1171870277; Fri, 17 Mar 2023 14:09:23 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Fri, 17 Mar 2023 14:09:22 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Fri, 17 Mar 2023 14:09:22 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v4 6/7] arm64: dts: mediatek: mt8186: Add GCE node Date: Fri, 17 Mar 2023 14:09:16 +0800 Message-ID: <20230317060917.15175-7-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230317060917.15175-1-allen-kh.cheng@mediatek.com> References: <20230317060917.15175-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760594342335449162?= X-GMAIL-MSGID: =?utf-8?q?1760594342335449162?= Add the Global Command Engine (GCE) node for MT8186 SoC Signed-off-by: Allen-KH Cheng Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index f198fd8abc1d..b9d5af26771e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -5,6 +5,7 @@ */ /dts-v1/; #include +#include #include #include #include @@ -625,6 +626,15 @@ clocks = <&clk13m>; }; + gce: mailbox@1022c000 { + compatible = "mediatek,mt8186-gce"; + reg = <0 0X1022c000 0 0x4000>; + clocks = <&infracfg_ao CLK_INFRA_AO_GCE>; + clock-names = "gce"; + interrupts = ; + #mbox-cells = <2>; + }; + scp: scp@10500000 { compatible = "mediatek,mt8186-scp"; reg = <0 0x10500000 0 0x40000>,