From patchwork Fri Mar 3 03:17:27 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: 63746 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp199729wrd; Thu, 2 Mar 2023 19:19:29 -0800 (PST) X-Google-Smtp-Source: AK7set9EQWGkrcrDeVLu5LUbrLWgjmFoCSKnEZdL4xXg9OuyXOXgeAzz1+L3jj6FmP45j+sHNM+f X-Received: by 2002:a17:902:e848:b0:19e:6a6a:ddf4 with SMTP id t8-20020a170902e84800b0019e6a6addf4mr642962plg.51.1677813569397; Thu, 02 Mar 2023 19:19:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677813569; cv=none; d=google.com; s=arc-20160816; b=yBWoggx8Hvn4jk4Luha+CVKl71V0E5J/1BJkPQ8Q/cuCjQSiC8NExlWOCa4Q5iA5Av raV752MGFYYx2SmjPYUYVNROBXyIBbdJyr8oB68uQDv3MjUYO1hPkM0ojY0oP44g0KzC KVOW7zO3/ASdapCYPuJlZIckCpGS4ewtYlGiSAGxKC8zQpUTMsR6Eb/yhnPx0+2Ug/PD 5vUMIAmd+H/XpSS2yNNyAu6guJDmLKf0+B2Fe/3CK/LSlMtiNVy+G543UCA8PAG8oKOT 5IQ84Zq5kAGN6Rq2HI9OF1O10Ikj005XOuH/FkTFwJ48C3BSuyeZP9IBN/3yrV4yfrYU hn0g== 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=vpA7VnRboPQD/e1e4JhZRMkqXlZ620Cx2M7FaW0GNbA=; b=oUgrYPFEwa06tQ8WX61wLWwVPj9iRPkJtILtHgM2Ts6hQbK1jm1mfUw91Nov9oQIuP LCnNFchGD1PJn+6/G1uXw8s4e0z4MSs2Csf0jhYFZuGL8MOY0WdKwj7wFhIchp15i2h6 tCj75NTfjeqBW4z4nuPD1BvZW81TBJuXuC2pfBfIKBLQO4l2oJlFKKbkevY7s3bKXuiY MCIoRvf+ODNUnT3/yWbfWCnbx2e29CZU9UqdThpR579hcJbuvpoOIN+bKY1ys3/QmC+S hEdzH4XNldSFzHbw/mdQlO+hyRDY/MH65JcmJrjjfjtoSvZHERHjE2XkB/rDE6W4PFcL GGTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UpT+nUlD; 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 ku15-20020a170903288f00b0019c92ca0d05si928029plb.340.2023.03.02.19.19.16; Thu, 02 Mar 2023 19:19:29 -0800 (PST) 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=UpT+nUlD; 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 S229901AbjCCDR6 (ORCPT + 99 others); Thu, 2 Mar 2023 22:17:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbjCCDRm (ORCPT ); Thu, 2 Mar 2023 22:17:42 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28EFB580DB; Thu, 2 Mar 2023 19:17:41 -0800 (PST) X-UUID: f1a54112b97111eda06fc9ecc4dadd91-20230303 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=vpA7VnRboPQD/e1e4JhZRMkqXlZ620Cx2M7FaW0GNbA=; b=UpT+nUlDDd5qx32/wqKe2W5kk7QfDcBQrCA2r1/vVAeJUBUrpHGrAhWteu3mLFEqnWoMlg4hbpKxjHPaElXf7zu4XI936eU1m7eiIc5KdIBTYjgjY5cBJIoq6t1gy9D4efe+/zbvH+rvHo4ds4DBKGREBS0f44R1/aEsJlVsF2M=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:5ea6f7d6-b081-44b6-9fe0-8aaaac7ff60f,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:25b5999,CLOUDID:caf59ef4-ddba-41c3-91d9-10eeade8eac7,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: f1a54112b97111eda06fc9ecc4dadd91-20230303 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2140470560; Fri, 03 Mar 2023 11:17:35 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) 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, 3 Mar 2023 11:17:34 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Fri, 3 Mar 2023 11:17:34 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v3 6/7] arm64: dts: mediatek: mt8186: Add GCE node Date: Fri, 3 Mar 2023 11:17:27 +0800 Message-ID: <20230303031728.24251-7-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230303031728.24251-1-allen-kh.cheng@mediatek.com> References: <20230303031728.24251-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 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?1759315041356209840?= X-GMAIL-MSGID: =?utf-8?q?1759315041356209840?= 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>,