// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (c) 2021 MediaTek Inc. * Author: Seiya Wang */ /dts-v1/; #include #include #include #include #include #include / { compatible = "mediatek,mt8195"; interrupt-parent = <&gic>; #address-cells = <2>; #size-cells = <2>; cpus { #address-cells = <1>; #size-cells = <0>; cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x000>; enable-method = "psci"; performance-domains = <&performance 0>; clock-frequency = <1701000000>; capacity-dmips-mhz = <578>; cpu-idle-states = <&cpu_off_l &cluster_off_l>; next-level-cache = <&l2_0>; #cooling-cells = <2>; }; cpu1: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x100>; enable-method = "psci"; performance-domains = <&performance 0>; clock-frequency = <1701000000>; capacity-dmips-mhz = <578>; cpu-idle-states = <&cpu_off_l &cluster_off_l>; next-level-cache = <&l2_0>; #cooling-cells = <2>; }; cpu2: cpu@200 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x200>; enable-method = "psci"; performance-domains = <&performance 0>; clock-frequency = <1701000000>; capacity-dmips-mhz = <578>; cpu-idle-states = <&cpu_off_l &cluster_off_l>; next-level-cache = <&l2_0>; #cooling-cells = <2>; }; cpu3: cpu@300 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x300>; enable-method = "psci"; performance-domains = <&performance 0>; clock-frequency = <1701000000>; capacity-dmips-mhz = <578>; cpu-idle-states = <&cpu_off_l &cluster_off_l>; next-level-cache = <&l2_0>; #cooling-cells = <2>; }; cpu4: cpu@400 { device_type = "cpu"; compatible = "arm,cortex-a78"; reg = <0x400>; enable-method = "psci"; performance-domains = <&performance 1>; clock-frequency = <2171000000>; capacity-dmips-mhz = <1024>; cpu-idle-states = <&cpu_off_b &cluster_off_b>; next-level-cache = <&l2_1>; #cooling-cells = <2>; }; cpu5: cpu@500 { device_type = "cpu"; compatible = "arm,cortex-a78"; reg = <0x500>; enable-method = "psci"; performance-domains = <&performance 1>; clock-frequency = <2171000000>; capacity-dmips-mhz = <1024>; cpu-idle-states = <&cpu_off_b &cluster_off_b>; next-level-cache = <&l2_1>; #cooling-cells = <2>; }; cpu6: cpu@600 { device_type = "cpu"; compatible = "arm,cortex-a78"; reg = <0x600>; enable-method = "psci"; performance-domains = <&performance 1>; clock-frequency = <2171000000>; capacity-dmips-mhz = <1024>; cpu-idle-states = <&cpu_off_b &cluster_off_b>; next-level-cache = <&l2_1>; #cooling-cells = <2>; }; cpu7: cpu@700 { device_type = "cpu"; compatible = "arm,cortex-a78"; reg = <0x700>; enable-method = "psci"; performance-domains = <&performance 1>; clock-frequency = <2171000000>; capacity-dmips-mhz = <1024>; cpu-idle-states = <&cpu_off_b &cluster_off_b>; next-level-cache = <&l2_1>; #cooling-cells = <2>; }; cpu-map { cluster0 { core0 { cpu = <&cpu0>; }; core1 { cpu = <&cpu1>; }; core2 { cpu = <&cpu2>; }; core3 { cpu = <&cpu3>; }; }; cluster1 { core0 { cpu = <&cpu4>; }; core1 { cpu = <&cpu5>; }; core2 { cpu = <&cpu6>; }; core3 { cpu = <&cpu7>; }; }; }; idle-states { entry-method = "psci"; cpu_off_l: cpu-off-l { compatible = "arm,idle-state"; arm,psci-suspend-param = <0x00010001>; local-timer-stop; entry-latency-us = <50>; exit-latency-us = <95>; min-residency-us = <580>; }; cpu_off_b: cpu-off-b { compatible = "arm,idle-state"; arm,psci-suspend-param = <0x00010001>; local-timer-stop; entry-latency-us = <45>; exit-latency-us = <140>; min-residency-us = <740>; }; cluster_off_l: cluster-off-l { compatible = "arm,idle-state"; arm,psci-suspend-param = <0x01010002>; local-timer-stop; entry-latency-us = <55>; exit-latency-us = <155>; min-residency-us = <840>; }; cluster_off_b: cluster-off-b { compatible = "arm,idle-state"; arm,psci-suspend-param = <0x01010002>; local-timer-stop; entry-latency-us = <50>; exit-latency-us = <200>; min-residency-us = <1000>; }; }; l2_0: l2-cache0 { compatible = "cache"; next-level-cache = <&l3_0>; }; l2_1: l2-cache1 { compatible = "cache"; next-level-cache = <&l3_0>; }; l3_0: l3-cache { compatible = "cache"; }; }; dsu-pmu { compatible = "arm,dsu-pmu"; interrupts = ; cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; }; clk26m: oscillator-26m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <26000000>; clock-output-names = "clk26m"; }; clk32k: oscillator-32k { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <32768>; clock-output-names = "clk32k"; }; performance: performance-controller@11bc10 { compatible = "mediatek,cpufreq-hw"; reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; #performance-domain-cells = <1>; }; pmu-a55 { compatible = "arm,cortex-a55-pmu"; interrupt-parent = <&gic>; interrupts = ; }; pmu-a78 { compatible = "arm,cortex-a78-pmu"; interrupt-parent = <&gic>; interrupts = ; }; psci { compatible = "arm,psci-1.0"; method = "smc"; }; timer: timer { compatible = "arm,armv8-timer"; interrupt-parent = <&gic>; interrupts = , , , ; }; soc { #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; ranges; gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>; #redistributor-regions = <1>; interrupt-parent = <&gic>; interrupt-controller; reg = <0 0x0c000000 0 0x40000>, <0 0x0c040000 0 0x200000>; interrupts = ; ppi-partitions { ppi_cluster0: interrupt-partition-0 { affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; }; ppi_cluster1: interrupt-partition-1 { affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; }; }; }; topckgen: syscon@10000000 { compatible = "mediatek,mt8195-topckgen", "syscon"; reg = <0 0x10000000 0 0x1000>; #clock-cells = <1>; }; infracfg_ao: syscon@10001000 { compatible = "mediatek,mt8195-infracfg_ao", "syscon", "simple-mfd"; reg = <0 0x10001000 0 0x1000>; #clock-cells = <1>; #reset-cells = <1>; }; pericfg: syscon@10003000 { compatible = "mediatek,mt8195-pericfg", "syscon"; reg = <0 0x10003000 0 0x1000>; #clock-cells = <1>; }; pio: pinctrl@10005000 { compatible = "mediatek,mt8195-pinctrl"; reg = <0 0x10005000 0 0x1000>, <0 0x11d10000 0 0x1000>, <0 0x11d30000 0 0x1000>, <0 0x11d40000 0 0x1000>, <0 0x11e20000 0 0x1000>, <0 0x11eb0000 0 0x1000>, <0 0x11f40000 0 0x1000>, <0 0x1000b000 0 0x1000>; reg-names = "iocfg0", "iocfg_bm", "iocfg_bl", "iocfg_br", "iocfg_lm", "iocfg_rb", "iocfg_tl", "eint"; gpio-controller; #gpio-cells = <2>; gpio-ranges = <&pio 0 0 144>; interrupt-controller; interrupts = ; #interrupt-cells = <2>; }; scpsys: syscon@10006000 { compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd"; reg = <0 0x10006000 0 0x1000>; /* System Power Manager */ spm: power-controller { compatible = "mediatek,mt8195-power-controller"; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; /* power domain of the SoC */ mfg0: power-domain@MT8195_POWER_DOMAIN_MFG0 { reg = ; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_MFG1 { reg = ; clocks = <&apmixedsys CLK_APMIXED_MFGPLL>; clock-names = "mfg"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_MFG2 { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_MFG3 { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_MFG4 { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_MFG5 { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_MFG6 { reg = ; #power-domain-cells = <0>; }; }; }; power-domain@MT8195_POWER_DOMAIN_VPPSYS0 { reg = ; clocks = <&topckgen CLK_TOP_VPP>, <&topckgen CLK_TOP_CAM>, <&topckgen CLK_TOP_CCU>, <&topckgen CLK_TOP_IMG>, <&topckgen CLK_TOP_VENC>, <&topckgen CLK_TOP_VDEC>, <&topckgen CLK_TOP_WPE_VPP>, <&topckgen CLK_TOP_CFG_VPP0>, <&vppsys0 CLK_VPP0_SMI_COMMON>, <&vppsys0 CLK_VPP0_GALS_VDO0_LARB0>, <&vppsys0 CLK_VPP0_GALS_VDO0_LARB1>, <&vppsys0 CLK_VPP0_GALS_VENCSYS>, <&vppsys0 CLK_VPP0_GALS_VENCSYS_CORE1>, <&vppsys0 CLK_VPP0_GALS_INFRA>, <&vppsys0 CLK_VPP0_GALS_CAMSYS>, <&vppsys0 CLK_VPP0_GALS_VPP1_LARB5>, <&vppsys0 CLK_VPP0_GALS_VPP1_LARB6>, <&vppsys0 CLK_VPP0_SMI_REORDER>, <&vppsys0 CLK_VPP0_SMI_IOMMU>, <&vppsys0 CLK_VPP0_GALS_IMGSYS_CAMSYS>, <&vppsys0 CLK_VPP0_GALS_EMI0_EMI1>, <&vppsys0 CLK_VPP0_SMI_SUB_COMMON_REORDER>, <&vppsys0 CLK_VPP0_SMI_RSI>, <&vppsys0 CLK_VPP0_SMI_COMMON_LARB4>, <&vppsys0 CLK_VPP0_GALS_VDEC_VDEC_CORE1>, <&vppsys0 CLK_VPP0_GALS_VPP1_WPE>, <&vppsys0 CLK_VPP0_GALS_VDO0_VDO1_VENCSYS_CORE1>; clock-names = "vppsys", "vppsys1", "vppsys2", "vppsys3", "vppsys4", "vppsys5", "vppsys6", "vppsys7", "vppsys0-0", "vppsys0-1", "vppsys0-2", "vppsys0-3", "vppsys0-4", "vppsys0-5", "vppsys0-6", "vppsys0-7", "vppsys0-8", "vppsys0-9", "vppsys0-10", "vppsys0-11", "vppsys0-12", "vppsys0-13", "vppsys0-14", "vppsys0-15", "vppsys0-16", "vppsys0-17", "vppsys0-18"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_VDEC1 { reg = ; clocks = <&vdecsys CLK_VDEC_LARB1>; clock-names = "vdec1-0"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VENC_CORE1 { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VDOSYS0 { reg = ; clocks = <&topckgen CLK_TOP_CFG_VDO0>, <&vdosys0 CLK_VDO0_SMI_GALS>, <&vdosys0 CLK_VDO0_SMI_COMMON>, <&vdosys0 CLK_VDO0_SMI_EMI>, <&vdosys0 CLK_VDO0_SMI_IOMMU>, <&vdosys0 CLK_VDO0_SMI_LARB>, <&vdosys0 CLK_VDO0_SMI_RSI>; clock-names = "vdosys0", "vdosys0-0", "vdosys0-1", "vdosys0-2", "vdosys0-3", "vdosys0-4", "vdosys0-5"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_VPPSYS1 { reg = ; clocks = <&topckgen CLK_TOP_CFG_VPP1>, <&vppsys1 CLK_VPP1_VPPSYS1_GALS>, <&vppsys1 CLK_VPP1_VPPSYS1_LARB>; clock-names = "vppsys1", "vppsys1-0", "vppsys1-1"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_WPESYS { reg = ; clocks = <&wpesys CLK_WPE_SMI_LARB7>, <&wpesys CLK_WPE_SMI_LARB8>, <&wpesys CLK_WPE_SMI_LARB7_P>, <&wpesys CLK_WPE_SMI_LARB8_P>; clock-names = "wepsys-0", "wepsys-1", "wepsys-2", "wepsys-3"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VDEC0 { reg = ; clocks = <&vdecsys_soc CLK_VDEC_SOC_LARB1>; clock-names = "vdec0-0"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VDEC2 { reg = ; clocks = <&vdecsys_core1 CLK_VDEC_CORE1_LARB1>; clock-names = "vdec2-0"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VENC { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_VDOSYS1 { reg = ; clocks = <&topckgen CLK_TOP_CFG_VDO1>, <&vdosys1 CLK_VDO1_SMI_LARB2>, <&vdosys1 CLK_VDO1_SMI_LARB3>, <&vdosys1 CLK_VDO1_GALS>; clock-names = "vdosys1", "vdosys1-0", "vdosys1-1", "vdosys1-2"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_DP_TX { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_EPD_TX { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_HDMI_TX { reg = ; clocks = <&topckgen CLK_TOP_HDMI_APB>; clock-names = "hdmi_tx"; #power-domain-cells = <0>; }; }; power-domain@MT8195_POWER_DOMAIN_IMG { reg = ; clocks = <&imgsys CLK_IMG_LARB9>, <&imgsys CLK_IMG_GALS>; clock-names = "img-0", "img-1"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_DIP { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_IPE { reg = ; clocks = <&topckgen CLK_TOP_IPE>, <&imgsys CLK_IMG_IPE>, <&ipesys CLK_IPE_SMI_LARB12>; clock-names = "ipe", "ipe-0", "ipe-1"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; }; power-domain@MT8195_POWER_DOMAIN_CAM { reg = ; clocks = <&camsys CLK_CAM_LARB13>, <&camsys CLK_CAM_LARB14>, <&camsys CLK_CAM_CAM2MM0_GALS>, <&camsys CLK_CAM_CAM2MM1_GALS>, <&camsys CLK_CAM_CAM2SYS_GALS>; clock-names = "cam-0", "cam-1", "cam-2", "cam-3", "cam-4"; mediatek,infracfg = <&infracfg_ao>; #address-cells = <1>; #size-cells = <0>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_CAM_RAWA { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_CAM_RAWB { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_CAM_MRAW { reg = ; #power-domain-cells = <0>; }; }; }; }; power-domain@MT8195_POWER_DOMAIN_PCIE_MAC_P0 { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_PCIE_MAC_P1 { reg = ; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_PCIE_PHY { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY { reg = ; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_CSI_RX_TOP { reg = ; clocks = <&topckgen CLK_TOP_SENINF>, <&topckgen CLK_TOP_SENINF2>; clock-names = "csi_rx_top", "csi_rx_top1"; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_ETHER { reg = ; clocks = <&pericfg_ao CLK_PERI_AO_ETHERNET_MAC>; clock-names = "ether"; #power-domain-cells = <0>; }; power-domain@MT8195_POWER_DOMAIN_ADSP { reg = ; clocks = <&topckgen CLK_TOP_ADSP>, <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>; clock-names = "adsp", "adsp1"; #address-cells = <1>; #size-cells = <0>; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <1>; power-domain@MT8195_POWER_DOMAIN_AUDIO { reg = ; clocks = <&topckgen CLK_TOP_A1SYS_HP>, <&topckgen CLK_TOP_AUD_INTBUS>, <&topckgen CLK_TOP_AUDIO_LOCAL_BUS>, <&infracfg_ao CLK_INFRA_AO_AUDIO_26M_B>; clock-names = "audio", "audio1", "audio2", "audio3"; mediatek,infracfg = <&infracfg_ao>; #power-domain-cells = <0>; }; }; }; }; watchdog: watchdog@10007000 { compatible = "mediatek,mt8195-wdt", "mediatek,mt6589-wdt"; mediatek,disable-extrst; reg = <0 0x10007000 0 0x100>; }; apmixedsys: syscon@1000c000 { compatible = "mediatek,mt8195-apmixedsys", "syscon"; reg = <0 0x1000c000 0 0x1000>; #clock-cells = <1>; }; systimer: timer@10017000 { compatible = "mediatek,mt8195-timer", "mediatek,mt6765-timer"; reg = <0 0x10017000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_CLK26M_D2>; }; pwrap: pwrap@10024000 { compatible = "mediatek,mt8195-pwrap", "syscon"; reg = <0 0x10024000 0 0x1000>; reg-names = "pwrap"; interrupts = ; clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>; clock-names = "spi", "wrap"; assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC>; assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; }; scp_adsp: clock-controller@10720000 { compatible = "mediatek,mt8195-scp_adsp"; reg = <0 0x10720000 0 0x1000>; #clock-cells = <1>; }; uart0: serial@11001100 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001100 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART0>; clock-names = "baud", "bus"; status = "disabled"; }; uart1: serial@11001200 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001200 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART1>; clock-names = "baud", "bus"; status = "disabled"; }; uart2: serial@11001300 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001300 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART2>; clock-names = "baud", "bus"; status = "disabled"; }; uart3: serial@11001400 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001400 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART3>; clock-names = "baud", "bus"; status = "disabled"; }; uart4: serial@11001500 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001500 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART4>; clock-names = "baud", "bus"; status = "disabled"; }; uart5: serial@11001600 { compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart"; reg = <0 0x11001600 0 0x100>; interrupts = ; clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART5>; clock-names = "baud", "bus"; status = "disabled"; }; auxadc: auxadc@11002000 { compatible = "mediatek,mt8195-auxadc", "mediatek,mt8173-auxadc"; reg = <0 0x11002000 0 0x1000>; clocks = <&infracfg_ao CLK_INFRA_AO_AUXADC>; clock-names = "main"; #io-channel-cells = <1>; status = "disabled"; }; pericfg_ao: syscon@11003000 { compatible = "mediatek,mt8195-pericfg_ao", "syscon"; reg = <0 0x11003000 0 0x1000>; #clock-cells = <1>; }; spi0: spi@1100a000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x1100a000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI0>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spi1: spi@11010000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x11010000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI1>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spi2: spi@11012000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x11012000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI2>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spi3: spi@11013000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x11013000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI3>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spi4: spi@11018000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x11018000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI4>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spi5: spi@11019000 { compatible = "mediatek,mt8195-spi", "mediatek,mt6765-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0 0x11019000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, <&topckgen CLK_TOP_SPI>, <&infracfg_ao CLK_INFRA_AO_SPI5>; clock-names = "parent-clk", "sel-clk", "spi-clk"; status = "disabled"; }; spis0: spi@1101d000 { compatible = "mediatek,mt8195-spi-slave"; reg = <0 0x1101d000 0 0x1000>; interrupts = ; clocks = <&infracfg_ao CLK_INFRA_AO_SPIS0>; clock-names = "spi"; assigned-clocks = <&topckgen CLK_TOP_SPIS>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; status = "disabled"; }; spis1: spi@1101e000 { compatible = "mediatek,mt8195-spi-slave"; reg = <0 0x1101e000 0 0x1000>; interrupts = ; clocks = <&infracfg_ao CLK_INFRA_AO_SPIS1>; clock-names = "spi"; assigned-clocks = <&topckgen CLK_TOP_SPIS>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; status = "disabled"; }; xhci0: usb@11200000 { compatible = "mediatek,mt8195-xhci", "mediatek,mtk-xhci"; reg = <0 0x11200000 0 0x1000>, <0 0x11203e00 0 0x0100>; reg-names = "mac", "ippc"; interrupts = ; phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>; assigned-clocks = <&topckgen CLK_TOP_USB_TOP>, <&topckgen CLK_TOP_SSUSB_XHCI>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, <&topckgen CLK_TOP_UNIVPLL_D5_D4>; clocks = <&infracfg_ao CLK_INFRA_AO_SSUSB>, <&topckgen CLK_TOP_SSUSB_REF>, <&apmixedsys CLK_APMIXED_USB1PLL>, <&infracfg_ao CLK_INFRA_AO_SSUSB_XHCI>; clock-names = "sys_ck", "ref_ck", "mcu_ck", "xhci_ck"; mediatek,syscon-wakeup = <&pericfg 0x400 103>; wakeup-source; status = "disabled"; }; mmc0: mmc@11230000 { compatible = "mediatek,mt8195-mmc", "mediatek,mt8183-mmc"; reg = <0 0x11230000 0 0x10000>, <0 0x11f50000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_MSDC50_0>, <&infracfg_ao CLK_INFRA_AO_MSDC0>, <&infracfg_ao CLK_INFRA_AO_MSDC0_SRC>; clock-names = "source", "hclk", "source_cg"; status = "disabled"; }; mmc1: mmc@11240000 { compatible = "mediatek,mt8195-mmc", "mediatek,mt8183-mmc"; reg = <0 0x11240000 0 0x1000>, <0 0x11c70000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_MSDC30_1>, <&infracfg_ao CLK_INFRA_AO_MSDC1>, <&infracfg_ao CLK_INFRA_AO_MSDC1_SRC>; clock-names = "source", "hclk", "source_cg"; assigned-clocks = <&topckgen CLK_TOP_MSDC30_1>; assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; status = "disabled"; }; mmc2: mmc@11250000 { compatible = "mediatek,mt8195-mmc", "mediatek,mt8183-mmc"; reg = <0 0x11250000 0 0x1000>, <0 0x11e60000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_MSDC30_2>, <&infracfg_ao CLK_INFRA_AO_CG1_MSDC2>, <&infracfg_ao CLK_INFRA_AO_CG3_MSDC2>; clock-names = "source", "hclk", "source_cg"; assigned-clocks = <&topckgen CLK_TOP_MSDC30_2>; assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; status = "disabled"; }; xhci1: usb@11290000 { compatible = "mediatek,mt8195-xhci", "mediatek,mtk-xhci"; reg = <0 0x11290000 0 0x1000>, <0 0x11293e00 0 0x0100>; reg-names = "mac", "ippc"; interrupts = ; phys = <&u2port1 PHY_TYPE_USB2>; assigned-clocks = <&topckgen CLK_TOP_USB_TOP_1P>, <&topckgen CLK_TOP_SSUSB_XHCI_1P>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, <&topckgen CLK_TOP_UNIVPLL_D5_D4>; clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_1P_BUS>, <&topckgen CLK_TOP_SSUSB_P1_REF>, <&apmixedsys CLK_APMIXED_USB1PLL>, <&pericfg_ao CLK_PERI_AO_SSUSB_1P_XHCI>; clock-names = "sys_ck", "ref_ck", "mcu_ck","xhci_ck"; mediatek,syscon-wakeup = <&pericfg 0x400 104>; wakeup-source; status = "disabled"; }; xhci2: usb@112a0000 { compatible = "mediatek,mt8195-xhci", "mediatek,mtk-xhci"; reg = <0 0x112a0000 0 0x1000>, <0 0x112a3e00 0 0x0100>; reg-names = "mac", "ippc"; interrupts = ; phys = <&u2port2 PHY_TYPE_USB2>; assigned-clocks = <&topckgen CLK_TOP_USB_TOP_2P>, <&topckgen CLK_TOP_SSUSB_XHCI_2P>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, <&topckgen CLK_TOP_UNIVPLL_D5_D4>; clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_2P_BUS>, <&topckgen CLK_TOP_SSUSB_P2_REF>, <&pericfg_ao CLK_PERI_AO_SSUSB_2P_XHCI>; clock-names = "sys_ck", "ref_ck", "xhci_ck"; mediatek,syscon-wakeup = <&pericfg 0x400 105>; wakeup-source; status = "disabled"; }; xhci3: usb@112b0000 { compatible = "mediatek,mt8195-xhci", "mediatek,mtk-xhci"; reg = <0 0x112b0000 0 0x1000>, <0 0x112b3e00 0 0x0100>; reg-names = "mac", "ippc"; interrupts = ; phys = <&u2port3 PHY_TYPE_USB2>; assigned-clocks = <&topckgen CLK_TOP_USB_TOP_3P>, <&topckgen CLK_TOP_SSUSB_XHCI_3P>; assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, <&topckgen CLK_TOP_UNIVPLL_D5_D4>; clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_3P_BUS>, <&topckgen CLK_TOP_SSUSB_P3_REF>, <&pericfg_ao CLK_PERI_AO_SSUSB_3P_XHCI>; clock-names = "sys_ck", "ref_ck", "xhci_ck"; mediatek,syscon-wakeup = <&pericfg 0x400 106>; wakeup-source; status = "disabled"; }; nor_flash: spi@1132c000 { compatible = "mediatek,mt8195-nor", "mediatek,mt8173-nor"; reg = <0 0x1132c000 0 0x1000>; interrupts = ; clocks = <&topckgen CLK_TOP_SPINOR>, <&pericfg_ao CLK_PERI_AO_FLASHIF_FLASH>, <&pericfg_ao CLK_PERI_AO_FLASHIF_BUS>; clock-names = "spi", "sf", "axi"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; efuse: efuse@11c10000 { compatible = "mediatek,mt8195-efuse", "mediatek,efuse"; reg = <0 0x11c10000 0 0x1000>; #address-cells = <1>; #size-cells = <1>; u3_tx_imp_p0: usb3-tx-imp@184,1 { reg = <0x184 0x1>; bits = <0 5>; }; u3_rx_imp_p0: usb3-rx-imp@184,2 { reg = <0x184 0x2>; bits = <5 5>; }; u3_intr_p0: usb3-intr@185 { reg = <0x185 0x1>; bits = <2 6>; }; comb_tx_imp_p1: usb3-tx-imp@186,1 { reg = <0x186 0x1>; bits = <0 5>; }; comb_rx_imp_p1: usb3-rx-imp@186,2 { reg = <0x186 0x2>; bits = <5 5>; }; comb_intr_p1: usb3-intr@187 { reg = <0x187 0x1>; bits = <2 6>; }; u2_intr_p0: usb2-intr-p0@188,1 { reg = <0x188 0x1>; bits = <0 5>; }; u2_intr_p1: usb2-intr-p1@188,2 { reg = <0x188 0x2>; bits = <5 5>; }; u2_intr_p2: usb2-intr-p2@189,1 { reg = <0x189 0x1>; bits = <2 5>; }; u2_intr_p3: usb2-intr-p3@189,2 { reg = <0x189 0x2>; bits = <7 5>; }; }; u3phy2: t-phy@11c40000 { compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0x11c40000 0x700>; status = "disabled"; u2port2: usb-phy@0 { reg = <0x0 0x700>; clocks = <&topckgen CLK_TOP_SSUSB_PHY_P2_REF>; clock-names = "ref"; #phy-cells = <1>; }; }; u3phy3: t-phy@11c50000 { compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0x11c50000 0x700>; status = "disabled"; u2port3: usb-phy@0 { reg = <0x0 0x700>; clocks = <&topckgen CLK_TOP_SSUSB_PHY_P3_REF>; clock-names = "ref"; #phy-cells = <1>; }; }; i2c5: i2c@11d00000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11d00000 0 0x1000>, <0 0x10220580 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C5>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c6: i2c@11d01000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11d01000 0 0x1000>, <0 0x10220600 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C6>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c7: i2c@11d02000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11d02000 0 0x1000>, <0 0x10220680 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C7>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; imp_iic_wrap_s: clock-controller@11d03000 { compatible = "mediatek,mt8195-imp_iic_wrap_s"; reg = <0 0x11d03000 0 0x1000>; #clock-cells = <1>; }; i2c0: i2c@11e00000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11e00000 0 0x1000>, <0 0x10220080 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C0>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c1: i2c@11e01000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11e01000 0 0x1000>, <0 0x10220200 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C1>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c2: i2c@11e02000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11e02000 0 0x1000>, <0 0x10220380 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C2>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c3: i2c@11e03000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11e03000 0 0x1000>, <0 0x10220480 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C3>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; i2c4: i2c@11e04000 { compatible = "mediatek,mt8195-i2c", "mediatek,mt8192-i2c"; reg = <0 0x11e04000 0 0x1000>, <0 0x10220500 0 0x80>; interrupts = ; clock-div = <1>; clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C4>, <&infracfg_ao CLK_INFRA_AO_APDMA_B>; clock-names = "main", "dma"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; }; imp_iic_wrap_w: clock-controller@11e05000 { compatible = "mediatek,mt8195-imp_iic_wrap_w"; reg = <0 0x11e05000 0 0x1000>; #clock-cells = <1>; }; u3phy1: t-phy@11e30000 { compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0x11e30000 0xe00>; status = "disabled"; u2port1: usb-phy@0 { reg = <0x0 0x700>; clocks = <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>, <&clk26m>; clock-names = "ref", "da_ref"; #phy-cells = <1>; }; u3port1: usb-phy@700 { reg = <0x700 0x700>; clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>; clock-names = "ref", "da_ref"; nvmem-cells = <&comb_intr_p1>, <&comb_rx_imp_p1>, <&comb_tx_imp_p1>; nvmem-cell-names = "intr", "rx_imp", "tx_imp"; #phy-cells = <1>; }; }; u3phy0: t-phy@11e40000 { compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0x11e40000 0xe00>; status = "disabled"; u2port0: usb-phy@0 { reg = <0x0 0x700>; clocks = <&topckgen CLK_TOP_SSUSB_PHY_REF>, <&clk26m>; clock-names = "ref", "da_ref"; #phy-cells = <1>; }; u3port0: usb-phy@700 { reg = <0x700 0x700>; clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, <&topckgen CLK_TOP_SSUSB_PHY_REF>; clock-names = "ref", "da_ref"; nvmem-cells = <&u3_intr_p0>, <&u3_rx_imp_p0>, <&u3_tx_imp_p0>; nvmem-cell-names = "intr", "rx_imp", "tx_imp"; #phy-cells = <1>; }; }; ufsphy: ufs-phy@11fa0000 { compatible = "mediatek,mt8195-ufsphy", "mediatek,mt8183-ufsphy"; reg = <0 0x11fa0000 0 0xc000>; clocks = <&clk26m>, <&clk26m>; clock-names = "unipro", "mp"; #phy-cells = <0>; status = "disabled"; }; mfgcfg: clock-controller@13fbf000 { compatible = "mediatek,mt8195-mfgcfg"; reg = <0 0x13fbf000 0 0x1000>; #clock-cells = <1>; }; vppsys0: clock-controller@14000000 { compatible = "mediatek,mt8195-vppsys0"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; }; wpesys: clock-controller@14e00000 { compatible = "mediatek,mt8195-wpesys"; reg = <0 0x14e00000 0 0x1000>; #clock-cells = <1>; }; wpesys_vpp0: clock-controller@14e02000 { compatible = "mediatek,mt8195-wpesys_vpp0"; reg = <0 0x14e02000 0 0x1000>; #clock-cells = <1>; }; wpesys_vpp1: clock-controller@14e03000 { compatible = "mediatek,mt8195-wpesys_vpp1"; reg = <0 0x14e03000 0 0x1000>; #clock-cells = <1>; }; vppsys1: clock-controller@14f00000 { compatible = "mediatek,mt8195-vppsys1"; reg = <0 0x14f00000 0 0x1000>; #clock-cells = <1>; }; imgsys: clock-controller@15000000 { compatible = "mediatek,mt8195-imgsys"; reg = <0 0x15000000 0 0x1000>; #clock-cells = <1>; }; imgsys1_dip_top: clock-controller@15110000 { compatible = "mediatek,mt8195-imgsys1_dip_top"; reg = <0 0x15110000 0 0x1000>; #clock-cells = <1>; }; imgsys1_dip_nr: clock-controller@15130000 { compatible = "mediatek,mt8195-imgsys1_dip_nr"; reg = <0 0x15130000 0 0x1000>; #clock-cells = <1>; }; imgsys1_wpe: clock-controller@15220000 { compatible = "mediatek,mt8195-imgsys1_wpe"; reg = <0 0x15220000 0 0x1000>; #clock-cells = <1>; }; ipesys: clock-controller@15330000 { compatible = "mediatek,mt8195-ipesys"; reg = <0 0x15330000 0 0x1000>; #clock-cells = <1>; }; camsys: clock-controller@16000000 { compatible = "mediatek,mt8195-camsys"; reg = <0 0x16000000 0 0x1000>; #clock-cells = <1>; }; camsys_rawa: clock-controller@1604f000 { compatible = "mediatek,mt8195-camsys_rawa"; reg = <0 0x1604f000 0 0x1000>; #clock-cells = <1>; }; camsys_yuva: clock-controller@1606f000 { compatible = "mediatek,mt8195-camsys_yuva"; reg = <0 0x1606f000 0 0x1000>; #clock-cells = <1>; }; camsys_rawb: clock-controller@1608f000 { compatible = "mediatek,mt8195-camsys_rawb"; reg = <0 0x1608f000 0 0x1000>; #clock-cells = <1>; }; camsys_yuvb: clock-controller@160af000 { compatible = "mediatek,mt8195-camsys_yuvb"; reg = <0 0x160af000 0 0x1000>; #clock-cells = <1>; }; camsys_mraw: clock-controller@16140000 { compatible = "mediatek,mt8195-camsys_mraw"; reg = <0 0x16140000 0 0x1000>; #clock-cells = <1>; }; ccusys: clock-controller@17200000 { compatible = "mediatek,mt8195-ccusys"; reg = <0 0x17200000 0 0x1000>; #clock-cells = <1>; }; vdecsys_soc: clock-controller@1800f000 { compatible = "mediatek,mt8195-vdecsys_soc"; reg = <0 0x1800f000 0 0x1000>; #clock-cells = <1>; }; vdecsys: clock-controller@1802f000 { compatible = "mediatek,mt8195-vdecsys"; reg = <0 0x1802f000 0 0x1000>; #clock-cells = <1>; }; vdecsys_core1: clock-controller@1803f000 { compatible = "mediatek,mt8195-vdecsys_core1"; reg = <0 0x1803f000 0 0x1000>; #clock-cells = <1>; }; apusys_pll: clock-controller@190f3000 { compatible = "mediatek,mt8195-apusys_pll"; reg = <0 0x190f3000 0 0x1000>; #clock-cells = <1>; }; vencsys: clock-controller@1a000000 { compatible = "mediatek,mt8195-vencsys"; reg = <0 0x1a000000 0 0x1000>; #clock-cells = <1>; }; vencsys_core1: clock-controller@1b000000 { compatible = "mediatek,mt8195-vencsys_core1"; reg = <0 0x1b000000 0 0x1000>; #clock-cells = <1>; }; vdosys0: syscon@1c01a000 { compatible = "mediatek,mt8195-mmsys", "syscon"; reg = <0 0x1c01a000 0 0x1000>; #clock-cells = <1>; }; vdosys1: syscon@1c100000 { compatible = "mediatek,mt8195-mmsys", "syscon"; reg = <0 0x1c100000 0 0x1000>; #clock-cells = <1>; }; }; };