Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6194708rwb; Wed, 18 Jan 2023 02:18:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXuuURsjP6BGhqbKqnDheGu7hgZWlx38PEkyv8MzlL+yK9E6k8LUosksQ6t6rGkMw59SfDJ0 X-Received: by 2002:a05:6a21:1507:b0:af:98cd:7df1 with SMTP id nq7-20020a056a21150700b000af98cd7df1mr6858696pzb.24.1674037109533; Wed, 18 Jan 2023 02:18:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674037109; cv=none; d=google.com; s=arc-20160816; b=P9FL4KzGPRqsLoSSMo4+J7B+qBO6OKe41u55lWKXcArpqskPO//p7KYuvxU6LJLyZQ RjlBPpQYvspY1uKMfK4z6qD11jkh/p0AuF3/Yzh05bsdQ98oAC81N7ehNuOwq61uEc8Z XuhcEJrMZpqCV9C/oOdr0dHDhmw73Lf9wMhLzS7iIG3lDklE+TJ5nYtUaINeDgorCqIG Zz0vB+dj20pKvS7q4Ml5U05JO/t1Pd5YwwvGkIvLDPwalt9fHOdDVVE6o/BRNqYQPr8q +Jk7QLc6PsmCWIfbnu7HOFEkTsNME5SnoCyjuD2gI8j/SfL34zfIvueYbLJTainA6Tnj u2bg== 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=/qs5AP02dhkCWqdSuirwOLn7ESeQZZWhOOpRZScjecQ=; b=jrdDGdoWnTXoXDcOTt/IMYQlnUEz366ceuTrD/eJUmg7N8ZBKyWGaPdMWeL0aSOXA2 aQcr8N1TbHVrmpHiw45+VA60R39r6fE0I0kbZyJwCSPw1eM5ilw4RySd28A2FXJC0Sut KKNdBOtsK5Fpcv4/lPY0+0N8CBjZQvZbv7pcOnEXdCLz5HU3yEl23kQmA3obLoXbmWhF LPIr7FHUZDyAib2BHZ/fWs8QquJMF2eM4bc77Z4VeSQWHGROQanPRyVD8e0cmNsTbvEp U0h2kgnwXbQkbN2V/UFsveVbznQxorsrAIfadsL8L50kgm9P6ZYK45X7UODW4u3VrcZY lIzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BkhuMenE; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a655b09000000b00476b15a02cesi34046722pgq.70.2023.01.18.02.18.23; Wed, 18 Jan 2023 02:18: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=BkhuMenE; 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 S230284AbjARKNG (ORCPT + 47 others); Wed, 18 Jan 2023 05:13:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjARKLZ (ORCPT ); Wed, 18 Jan 2023 05:11:25 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 484489AAA3; Wed, 18 Jan 2023 01:18:36 -0800 (PST) X-UUID: 14e52d6e971111eda06fc9ecc4dadd91-20230118 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=/qs5AP02dhkCWqdSuirwOLn7ESeQZZWhOOpRZScjecQ=; b=BkhuMenEviQO2GrB5iJ4zjpEzc06dhfz1IPPwtZtkJ6+QNf5iMZr1MXxqrs+Mo5SaUGzfIhM7/gidITZFTDFoTqvhHJ1e8T77Lv8N7rGXxB4yoFIIEGDJGBGYk5CBCY+OuM0d0cyf8PsEMDytV6FT0DywatlAHh2qPvv8kE/mX0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:aa343948-c599-493f-b43b-c70874ee8371,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.18,REQID:aa343948-c599-493f-b43b-c70874ee8371,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:3ca2d6b,CLOUDID:b91a2af6-ff42-4fb0-b929-626456a83c14,B ulkID:230118171834SGCR4KND,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-BVR: 0,NGT X-UUID: 14e52d6e971111eda06fc9ecc4dadd91-20230118 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 683439815; Wed, 18 Jan 2023 17:18:33 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 18 Jan 2023 17:18:32 +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.792.15 via Frontend Transport; Wed, 18 Jan 2023 17:18:32 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , AngeloGioacchino Del Regno , CC: , , , , , , Allen-KH Cheng Subject: [PATCH v2 3/9] arm64: dts: mediatek: mt8186: Add SPMI node Date: Wed, 18 Jan 2023 17:18:23 +0800 Message-ID: <20230118091829.755-4-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230118091829.755-1-allen-kh.cheng@mediatek.com> References: <20230118091829.755-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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, T_SPF_TEMPERROR,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 Add SPMI node for MT8186 SoC. Signed-off-by: Allen-KH Cheng --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index 3d88480913eb..a8ff984f1192 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -605,6 +605,25 @@ clock-names = "spi", "wrap"; }; + spmi: spmi@10015000 { + compatible = "mediatek,mt8186-spmi", + "mediatek,mt8195-spmi"; + reg = <0 0x10015000 0 0x000e00>, + <0 0x1001B000 0 0x000100>; + reg-names = "pmif", "spmimst"; + clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, + <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>, + <&topckgen CLK_TOP_SPMI_MST>; + clock-names = "pmif_sys_ck", + "pmif_tmr_ck", + "spmimst_clk_mux"; + assigned-clocks = <&topckgen CLK_TOP_SPMI_MST>; + assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; + interrupts = , + ; + status = "disabled"; + }; + systimer: timer@10017000 { compatible = "mediatek,mt8186-timer", "mediatek,mt6765-timer"; -- 2.18.0