summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/mediatek/mt8186.dtsi
diff options
context:
space:
mode:
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>2023-03-24 10:12:55 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2023-05-29 15:44:15 +0200
commit36cfc08f3dd8b5ac7d33d7e53da7c994be7fd186 (patch)
tree49439f33a2975156d87dfcfdb7ef4ba38591894d /arch/arm64/boot/dts/mediatek/mt8186.dtsi
parentf6c3e61c54863247594fe0cf506da590d5415b74 (diff)
downloadlinux-stable-36cfc08f3dd8b5ac7d33d7e53da7c994be7fd186.tar.gz
linux-stable-36cfc08f3dd8b5ac7d33d7e53da7c994be7fd186.tar.bz2
linux-stable-36cfc08f3dd8b5ac7d33d7e53da7c994be7fd186.zip
arm64: dts: mediatek: mt8186: Add SPMI node
Add SPMI node for MT8186 SoC. Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230324021258.15863-4-allen-kh.cheng@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt8186.dtsi')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8186.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index e69e616d5e3b..4ffc8afa1a70 100644
--- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
@@ -603,6 +603,21 @@
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 = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH 0>;
+ status = "disabled";
+ };
+
systimer: timer@10017000 {
compatible = "mediatek,mt8186-timer",
"mediatek,mt6765-timer";