From patchwork Fri Mar 24 02:12:57 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: 74302 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp93932wrt; Thu, 23 Mar 2023 19:17:33 -0700 (PDT) X-Google-Smtp-Source: AKy350bCpnScKaEEISUirAjMk9arj8r670lr8uEYRxwCaeFG/LQUhKvq1IJxyGHtj8LdsUuj93M/ X-Received: by 2002:a17:906:4a55:b0:92f:a0d5:211c with SMTP id a21-20020a1709064a5500b0092fa0d5211cmr987672ejv.35.1679624253177; Thu, 23 Mar 2023 19:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679624253; cv=none; d=google.com; s=arc-20160816; b=lft5pqjk3rFhJ6F/6M16titcQoxgN2WyAEGfjDhEGI/fN43h0HhzKCuEEgT6H0R2YZ EKrK95UolazSSJnx8KSBqxhkwItetlHFjFUeF71NqHrqz16ru98MmkFL0kUkgcUUxVJS PgtNgVf3csKtMiLBXrAQL+1bs5hKakNc6wccbhsv2nIWsoaXVdvoSDL6GiF+q6faz73P ucY+CsXk5Amor8xDfiGrS5HaMVnd3lO8Ctqh6TwQAn5pTjybcg+7sXXjdVxCGJmpUbyM QOk+qiKGAjnPi/MWoVxGJNow3NEJicEL5/c4armtvF64i2s7GbPAjjRax3wlq//aOO2B IlCQ== 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=zSZzjnX7VdcU1wAob5NemccccXeWVgUtTTSjp0uhbQI=; b=FncyREQGEl/CzveEb6e8mcQx+32BiyY7rAJEPc4GA9Qa7XFqkyPJKo5CqWd5W3V+jw dxSOCY+HBezJkVeotuzqPubMxmej6GhMAoS7P1/xmBd/lIII8qhkfacGE0vYySTdgpzw vFotr6FrDG7oOAmGX5NPHVjlMrjwexGToPd1BY8uSaSCHY1qd93fp/W6eT/LzE3ZEgTN 5nJOLUsKoCbCvbZTxwthgXJ+UlH+yysPm+NMNsQ6Ta5gl8ov8twy9F3YXzEjrTuj8oQY QsGAeZ67w8mC2Ejj2lXSgJ1syJC2kkjBBMdP0u4TxtHWtoaS6KaqB6otcoM780gS4j+l ZSfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="Y/o+oigH"; 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 hp36-20020a1709073e2400b0093e18eb2c07si488401ejc.227.2023.03.23.19.17.09; Thu, 23 Mar 2023 19:17:33 -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="Y/o+oigH"; 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 S231388AbjCXCNZ (ORCPT + 99 others); Thu, 23 Mar 2023 22:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231277AbjCXCNQ (ORCPT ); Thu, 23 Mar 2023 22:13:16 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C99A298CB; Thu, 23 Mar 2023 19:13:12 -0700 (PDT) X-UUID: 689815c4c9e911edb6b9f13eb10bd0fe-20230324 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=zSZzjnX7VdcU1wAob5NemccccXeWVgUtTTSjp0uhbQI=; b=Y/o+oigH1BnxaOCwnOkZI253fxTqJw2Bw3qQE1hldSCs2pWiaipuoHuCmuzPsJLdzeIAx7SlFt28/g+zAxs+859NDl6arX3sVYpoVMkeDyALX8XxJ7nrs5rF7+TNhaullcIsXi6FoEJAGdRNh6x5HxwT1RT3kqid/9ig99ZIxuk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:13bd85f6-bed2-4445-b2f3-48a7df61c893,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.22,REQID:13bd85f6-bed2-4445-b2f3-48a7df61c893,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:120426c,CLOUDID:efe0c1f6-ddba-41c3-91d9-10eeade8eac7,B ulkID:2303241013056U4OF2IX,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 689815c4c9e911edb6b9f13eb10bd0fe-20230324 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 81705202; Fri, 24 Mar 2023 10:13:03 +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, 24 Mar 2023 10:13:02 +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, 24 Mar 2023 10:13:02 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v5 5/6] arm64: dts: mediatek: mt8186: Add GCE node Date: Fri, 24 Mar 2023 10:12:57 +0800 Message-ID: <20230324021258.15863-6-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230324021258.15863-1-allen-kh.cheng@mediatek.com> References: <20230324021258.15863-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,RDNS_NONE,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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?1761213681037903222?= X-GMAIL-MSGID: =?utf-8?q?1761213681037903222?= 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 337bcf3c1571..0d1ff5bb9526 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>,