1*37f25828STinghan Shen// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*37f25828STinghan Shen/* 3*37f25828STinghan Shen * Copyright (c) 2021 MediaTek Inc. 4*37f25828STinghan Shen * Author: Seiya Wang <seiya.wang@mediatek.com> 5*37f25828STinghan Shen */ 6*37f25828STinghan Shen 7*37f25828STinghan Shen/dts-v1/; 8*37f25828STinghan Shen#include <dt-bindings/clock/mt8195-clk.h> 9*37f25828STinghan Shen#include <dt-bindings/interrupt-controller/arm-gic.h> 10*37f25828STinghan Shen#include <dt-bindings/interrupt-controller/irq.h> 11*37f25828STinghan Shen#include <dt-bindings/phy/phy.h> 12*37f25828STinghan Shen#include <dt-bindings/pinctrl/mt8195-pinfunc.h> 13*37f25828STinghan Shen#include <dt-bindings/reset/ti-syscon.h> 14*37f25828STinghan Shen 15*37f25828STinghan Shen/ { 16*37f25828STinghan Shen compatible = "mediatek,mt8195"; 17*37f25828STinghan Shen interrupt-parent = <&gic>; 18*37f25828STinghan Shen #address-cells = <2>; 19*37f25828STinghan Shen #size-cells = <2>; 20*37f25828STinghan Shen 21*37f25828STinghan Shen cpus { 22*37f25828STinghan Shen #address-cells = <1>; 23*37f25828STinghan Shen #size-cells = <0>; 24*37f25828STinghan Shen 25*37f25828STinghan Shen cpu0: cpu@0 { 26*37f25828STinghan Shen device_type = "cpu"; 27*37f25828STinghan Shen compatible = "arm,cortex-a55"; 28*37f25828STinghan Shen reg = <0x000>; 29*37f25828STinghan Shen enable-method = "psci"; 30*37f25828STinghan Shen clock-frequency = <1701000000>; 31*37f25828STinghan Shen capacity-dmips-mhz = <578>; 32*37f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 33*37f25828STinghan Shen next-level-cache = <&l2_0>; 34*37f25828STinghan Shen #cooling-cells = <2>; 35*37f25828STinghan Shen }; 36*37f25828STinghan Shen 37*37f25828STinghan Shen cpu1: cpu@100 { 38*37f25828STinghan Shen device_type = "cpu"; 39*37f25828STinghan Shen compatible = "arm,cortex-a55"; 40*37f25828STinghan Shen reg = <0x100>; 41*37f25828STinghan Shen enable-method = "psci"; 42*37f25828STinghan Shen clock-frequency = <1701000000>; 43*37f25828STinghan Shen capacity-dmips-mhz = <578>; 44*37f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 45*37f25828STinghan Shen next-level-cache = <&l2_0>; 46*37f25828STinghan Shen #cooling-cells = <2>; 47*37f25828STinghan Shen }; 48*37f25828STinghan Shen 49*37f25828STinghan Shen cpu2: cpu@200 { 50*37f25828STinghan Shen device_type = "cpu"; 51*37f25828STinghan Shen compatible = "arm,cortex-a55"; 52*37f25828STinghan Shen reg = <0x200>; 53*37f25828STinghan Shen enable-method = "psci"; 54*37f25828STinghan Shen clock-frequency = <1701000000>; 55*37f25828STinghan Shen capacity-dmips-mhz = <578>; 56*37f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 57*37f25828STinghan Shen next-level-cache = <&l2_0>; 58*37f25828STinghan Shen #cooling-cells = <2>; 59*37f25828STinghan Shen }; 60*37f25828STinghan Shen 61*37f25828STinghan Shen cpu3: cpu@300 { 62*37f25828STinghan Shen device_type = "cpu"; 63*37f25828STinghan Shen compatible = "arm,cortex-a55"; 64*37f25828STinghan Shen reg = <0x300>; 65*37f25828STinghan Shen enable-method = "psci"; 66*37f25828STinghan Shen clock-frequency = <1701000000>; 67*37f25828STinghan Shen capacity-dmips-mhz = <578>; 68*37f25828STinghan Shen cpu-idle-states = <&cpu_off_l &cluster_off_l>; 69*37f25828STinghan Shen next-level-cache = <&l2_0>; 70*37f25828STinghan Shen #cooling-cells = <2>; 71*37f25828STinghan Shen }; 72*37f25828STinghan Shen 73*37f25828STinghan Shen cpu4: cpu@400 { 74*37f25828STinghan Shen device_type = "cpu"; 75*37f25828STinghan Shen compatible = "arm,cortex-a78"; 76*37f25828STinghan Shen reg = <0x400>; 77*37f25828STinghan Shen enable-method = "psci"; 78*37f25828STinghan Shen clock-frequency = <2171000000>; 79*37f25828STinghan Shen capacity-dmips-mhz = <1024>; 80*37f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 81*37f25828STinghan Shen next-level-cache = <&l2_1>; 82*37f25828STinghan Shen #cooling-cells = <2>; 83*37f25828STinghan Shen }; 84*37f25828STinghan Shen 85*37f25828STinghan Shen cpu5: cpu@500 { 86*37f25828STinghan Shen device_type = "cpu"; 87*37f25828STinghan Shen compatible = "arm,cortex-a78"; 88*37f25828STinghan Shen reg = <0x500>; 89*37f25828STinghan Shen enable-method = "psci"; 90*37f25828STinghan Shen clock-frequency = <2171000000>; 91*37f25828STinghan Shen capacity-dmips-mhz = <1024>; 92*37f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 93*37f25828STinghan Shen next-level-cache = <&l2_1>; 94*37f25828STinghan Shen #cooling-cells = <2>; 95*37f25828STinghan Shen }; 96*37f25828STinghan Shen 97*37f25828STinghan Shen cpu6: cpu@600 { 98*37f25828STinghan Shen device_type = "cpu"; 99*37f25828STinghan Shen compatible = "arm,cortex-a78"; 100*37f25828STinghan Shen reg = <0x600>; 101*37f25828STinghan Shen enable-method = "psci"; 102*37f25828STinghan Shen clock-frequency = <2171000000>; 103*37f25828STinghan Shen capacity-dmips-mhz = <1024>; 104*37f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 105*37f25828STinghan Shen next-level-cache = <&l2_1>; 106*37f25828STinghan Shen #cooling-cells = <2>; 107*37f25828STinghan Shen }; 108*37f25828STinghan Shen 109*37f25828STinghan Shen cpu7: cpu@700 { 110*37f25828STinghan Shen device_type = "cpu"; 111*37f25828STinghan Shen compatible = "arm,cortex-a78"; 112*37f25828STinghan Shen reg = <0x700>; 113*37f25828STinghan Shen enable-method = "psci"; 114*37f25828STinghan Shen clock-frequency = <2171000000>; 115*37f25828STinghan Shen capacity-dmips-mhz = <1024>; 116*37f25828STinghan Shen cpu-idle-states = <&cpu_off_b &cluster_off_b>; 117*37f25828STinghan Shen next-level-cache = <&l2_1>; 118*37f25828STinghan Shen #cooling-cells = <2>; 119*37f25828STinghan Shen }; 120*37f25828STinghan Shen 121*37f25828STinghan Shen cpu-map { 122*37f25828STinghan Shen cluster0 { 123*37f25828STinghan Shen core0 { 124*37f25828STinghan Shen cpu = <&cpu0>; 125*37f25828STinghan Shen }; 126*37f25828STinghan Shen 127*37f25828STinghan Shen core1 { 128*37f25828STinghan Shen cpu = <&cpu1>; 129*37f25828STinghan Shen }; 130*37f25828STinghan Shen 131*37f25828STinghan Shen core2 { 132*37f25828STinghan Shen cpu = <&cpu2>; 133*37f25828STinghan Shen }; 134*37f25828STinghan Shen 135*37f25828STinghan Shen core3 { 136*37f25828STinghan Shen cpu = <&cpu3>; 137*37f25828STinghan Shen }; 138*37f25828STinghan Shen }; 139*37f25828STinghan Shen 140*37f25828STinghan Shen cluster1 { 141*37f25828STinghan Shen core0 { 142*37f25828STinghan Shen cpu = <&cpu4>; 143*37f25828STinghan Shen }; 144*37f25828STinghan Shen 145*37f25828STinghan Shen core1 { 146*37f25828STinghan Shen cpu = <&cpu5>; 147*37f25828STinghan Shen }; 148*37f25828STinghan Shen 149*37f25828STinghan Shen core2 { 150*37f25828STinghan Shen cpu = <&cpu6>; 151*37f25828STinghan Shen }; 152*37f25828STinghan Shen 153*37f25828STinghan Shen core3 { 154*37f25828STinghan Shen cpu = <&cpu7>; 155*37f25828STinghan Shen }; 156*37f25828STinghan Shen }; 157*37f25828STinghan Shen }; 158*37f25828STinghan Shen 159*37f25828STinghan Shen idle-states { 160*37f25828STinghan Shen entry-method = "psci"; 161*37f25828STinghan Shen 162*37f25828STinghan Shen cpu_off_l: cpu-off-l { 163*37f25828STinghan Shen compatible = "arm,idle-state"; 164*37f25828STinghan Shen arm,psci-suspend-param = <0x00010001>; 165*37f25828STinghan Shen local-timer-stop; 166*37f25828STinghan Shen entry-latency-us = <50>; 167*37f25828STinghan Shen exit-latency-us = <95>; 168*37f25828STinghan Shen min-residency-us = <580>; 169*37f25828STinghan Shen }; 170*37f25828STinghan Shen 171*37f25828STinghan Shen cpu_off_b: cpu-off-b { 172*37f25828STinghan Shen compatible = "arm,idle-state"; 173*37f25828STinghan Shen arm,psci-suspend-param = <0x00010001>; 174*37f25828STinghan Shen local-timer-stop; 175*37f25828STinghan Shen entry-latency-us = <45>; 176*37f25828STinghan Shen exit-latency-us = <140>; 177*37f25828STinghan Shen min-residency-us = <740>; 178*37f25828STinghan Shen }; 179*37f25828STinghan Shen 180*37f25828STinghan Shen cluster_off_l: cluster-off-l { 181*37f25828STinghan Shen compatible = "arm,idle-state"; 182*37f25828STinghan Shen arm,psci-suspend-param = <0x01010002>; 183*37f25828STinghan Shen local-timer-stop; 184*37f25828STinghan Shen entry-latency-us = <55>; 185*37f25828STinghan Shen exit-latency-us = <155>; 186*37f25828STinghan Shen min-residency-us = <840>; 187*37f25828STinghan Shen }; 188*37f25828STinghan Shen 189*37f25828STinghan Shen cluster_off_b: cluster-off-b { 190*37f25828STinghan Shen compatible = "arm,idle-state"; 191*37f25828STinghan Shen arm,psci-suspend-param = <0x01010002>; 192*37f25828STinghan Shen local-timer-stop; 193*37f25828STinghan Shen entry-latency-us = <50>; 194*37f25828STinghan Shen exit-latency-us = <200>; 195*37f25828STinghan Shen min-residency-us = <1000>; 196*37f25828STinghan Shen }; 197*37f25828STinghan Shen }; 198*37f25828STinghan Shen 199*37f25828STinghan Shen l2_0: l2-cache0 { 200*37f25828STinghan Shen compatible = "cache"; 201*37f25828STinghan Shen next-level-cache = <&l3_0>; 202*37f25828STinghan Shen }; 203*37f25828STinghan Shen 204*37f25828STinghan Shen l2_1: l2-cache1 { 205*37f25828STinghan Shen compatible = "cache"; 206*37f25828STinghan Shen next-level-cache = <&l3_0>; 207*37f25828STinghan Shen }; 208*37f25828STinghan Shen 209*37f25828STinghan Shen l3_0: l3-cache { 210*37f25828STinghan Shen compatible = "cache"; 211*37f25828STinghan Shen }; 212*37f25828STinghan Shen }; 213*37f25828STinghan Shen 214*37f25828STinghan Shen dsu-pmu { 215*37f25828STinghan Shen compatible = "arm,dsu-pmu"; 216*37f25828STinghan Shen interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>; 217*37f25828STinghan Shen cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, 218*37f25828STinghan Shen <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; 219*37f25828STinghan Shen }; 220*37f25828STinghan Shen 221*37f25828STinghan Shen clk26m: oscillator-26m { 222*37f25828STinghan Shen compatible = "fixed-clock"; 223*37f25828STinghan Shen #clock-cells = <0>; 224*37f25828STinghan Shen clock-frequency = <26000000>; 225*37f25828STinghan Shen clock-output-names = "clk26m"; 226*37f25828STinghan Shen }; 227*37f25828STinghan Shen 228*37f25828STinghan Shen clk32k: oscillator-32k { 229*37f25828STinghan Shen compatible = "fixed-clock"; 230*37f25828STinghan Shen #clock-cells = <0>; 231*37f25828STinghan Shen clock-frequency = <32768>; 232*37f25828STinghan Shen clock-output-names = "clk32k"; 233*37f25828STinghan Shen }; 234*37f25828STinghan Shen 235*37f25828STinghan Shen pmu-a55 { 236*37f25828STinghan Shen compatible = "arm,cortex-a55-pmu"; 237*37f25828STinghan Shen interrupt-parent = <&gic>; 238*37f25828STinghan Shen interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>; 239*37f25828STinghan Shen }; 240*37f25828STinghan Shen 241*37f25828STinghan Shen pmu-a78 { 242*37f25828STinghan Shen compatible = "arm,cortex-a78-pmu"; 243*37f25828STinghan Shen interrupt-parent = <&gic>; 244*37f25828STinghan Shen interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>; 245*37f25828STinghan Shen }; 246*37f25828STinghan Shen 247*37f25828STinghan Shen psci { 248*37f25828STinghan Shen compatible = "arm,psci-1.0"; 249*37f25828STinghan Shen method = "smc"; 250*37f25828STinghan Shen }; 251*37f25828STinghan Shen 252*37f25828STinghan Shen timer: timer { 253*37f25828STinghan Shen compatible = "arm,armv8-timer"; 254*37f25828STinghan Shen interrupt-parent = <&gic>; 255*37f25828STinghan Shen interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>, 256*37f25828STinghan Shen <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>, 257*37f25828STinghan Shen <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>, 258*37f25828STinghan Shen <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>; 259*37f25828STinghan Shen }; 260*37f25828STinghan Shen 261*37f25828STinghan Shen soc { 262*37f25828STinghan Shen #address-cells = <2>; 263*37f25828STinghan Shen #size-cells = <2>; 264*37f25828STinghan Shen compatible = "simple-bus"; 265*37f25828STinghan Shen ranges; 266*37f25828STinghan Shen 267*37f25828STinghan Shen gic: interrupt-controller@c000000 { 268*37f25828STinghan Shen compatible = "arm,gic-v3"; 269*37f25828STinghan Shen #interrupt-cells = <4>; 270*37f25828STinghan Shen #redistributor-regions = <1>; 271*37f25828STinghan Shen interrupt-parent = <&gic>; 272*37f25828STinghan Shen interrupt-controller; 273*37f25828STinghan Shen reg = <0 0x0c000000 0 0x40000>, 274*37f25828STinghan Shen <0 0x0c040000 0 0x200000>; 275*37f25828STinghan Shen interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 276*37f25828STinghan Shen 277*37f25828STinghan Shen ppi-partitions { 278*37f25828STinghan Shen ppi_cluster0: interrupt-partition-0 { 279*37f25828STinghan Shen affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; 280*37f25828STinghan Shen }; 281*37f25828STinghan Shen 282*37f25828STinghan Shen ppi_cluster1: interrupt-partition-1 { 283*37f25828STinghan Shen affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; 284*37f25828STinghan Shen }; 285*37f25828STinghan Shen }; 286*37f25828STinghan Shen }; 287*37f25828STinghan Shen 288*37f25828STinghan Shen topckgen: syscon@10000000 { 289*37f25828STinghan Shen compatible = "mediatek,mt8195-topckgen", "syscon"; 290*37f25828STinghan Shen reg = <0 0x10000000 0 0x1000>; 291*37f25828STinghan Shen #clock-cells = <1>; 292*37f25828STinghan Shen }; 293*37f25828STinghan Shen 294*37f25828STinghan Shen infracfg_ao: syscon@10001000 { 295*37f25828STinghan Shen compatible = "mediatek,mt8195-infracfg_ao", "syscon", "simple-mfd"; 296*37f25828STinghan Shen reg = <0 0x10001000 0 0x1000>; 297*37f25828STinghan Shen #clock-cells = <1>; 298*37f25828STinghan Shen 299*37f25828STinghan Shen infracfg_rst: reset-controller { 300*37f25828STinghan Shen compatible = "ti,syscon-reset"; 301*37f25828STinghan Shen #reset-cells = <1>; 302*37f25828STinghan Shen ti,reset-bits = < 303*37f25828STinghan Shen 0x140 18 0x144 18 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* pcie */ 304*37f25828STinghan Shen 0x120 0 0x124 0 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* thermal */ 305*37f25828STinghan Shen 0x730 10 0x734 10 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* thermal */ 306*37f25828STinghan Shen 0x150 5 0x154 5 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* svs gpu */ 307*37f25828STinghan Shen >; 308*37f25828STinghan Shen }; 309*37f25828STinghan Shen }; 310*37f25828STinghan Shen 311*37f25828STinghan Shen pericfg: syscon@10003000 { 312*37f25828STinghan Shen compatible = "mediatek,mt8195-pericfg", "syscon"; 313*37f25828STinghan Shen reg = <0 0x10003000 0 0x1000>; 314*37f25828STinghan Shen #clock-cells = <1>; 315*37f25828STinghan Shen }; 316*37f25828STinghan Shen 317*37f25828STinghan Shen pio: pinctrl@10005000 { 318*37f25828STinghan Shen compatible = "mediatek,mt8195-pinctrl"; 319*37f25828STinghan Shen reg = <0 0x10005000 0 0x1000>, 320*37f25828STinghan Shen <0 0x11d10000 0 0x1000>, 321*37f25828STinghan Shen <0 0x11d30000 0 0x1000>, 322*37f25828STinghan Shen <0 0x11d40000 0 0x1000>, 323*37f25828STinghan Shen <0 0x11e20000 0 0x1000>, 324*37f25828STinghan Shen <0 0x11eb0000 0 0x1000>, 325*37f25828STinghan Shen <0 0x11f40000 0 0x1000>, 326*37f25828STinghan Shen <0 0x1000b000 0 0x1000>; 327*37f25828STinghan Shen reg-names = "iocfg0", "iocfg_bm", "iocfg_bl", 328*37f25828STinghan Shen "iocfg_br", "iocfg_lm", "iocfg_rb", 329*37f25828STinghan Shen "iocfg_tl", "eint"; 330*37f25828STinghan Shen gpio-controller; 331*37f25828STinghan Shen #gpio-cells = <2>; 332*37f25828STinghan Shen gpio-ranges = <&pio 0 0 144>; 333*37f25828STinghan Shen interrupt-controller; 334*37f25828STinghan Shen interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH 0>; 335*37f25828STinghan Shen #interrupt-cells = <2>; 336*37f25828STinghan Shen }; 337*37f25828STinghan Shen 338*37f25828STinghan Shen watchdog: watchdog@10007000 { 339*37f25828STinghan Shen compatible = "mediatek,mt8195-wdt", 340*37f25828STinghan Shen "mediatek,mt6589-wdt"; 341*37f25828STinghan Shen reg = <0 0x10007000 0 0x100>; 342*37f25828STinghan Shen }; 343*37f25828STinghan Shen 344*37f25828STinghan Shen apmixedsys: syscon@1000c000 { 345*37f25828STinghan Shen compatible = "mediatek,mt8195-apmixedsys", "syscon"; 346*37f25828STinghan Shen reg = <0 0x1000c000 0 0x1000>; 347*37f25828STinghan Shen #clock-cells = <1>; 348*37f25828STinghan Shen }; 349*37f25828STinghan Shen 350*37f25828STinghan Shen systimer: timer@10017000 { 351*37f25828STinghan Shen compatible = "mediatek,mt8195-timer", 352*37f25828STinghan Shen "mediatek,mt6765-timer"; 353*37f25828STinghan Shen reg = <0 0x10017000 0 0x1000>; 354*37f25828STinghan Shen interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>; 355*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_CLK26M_D2>; 356*37f25828STinghan Shen }; 357*37f25828STinghan Shen 358*37f25828STinghan Shen pwrap: pwrap@10024000 { 359*37f25828STinghan Shen compatible = "mediatek,mt8195-pwrap", "syscon"; 360*37f25828STinghan Shen reg = <0 0x10024000 0 0x1000>; 361*37f25828STinghan Shen reg-names = "pwrap"; 362*37f25828STinghan Shen interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH 0>; 363*37f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, 364*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>; 365*37f25828STinghan Shen clock-names = "spi", "wrap"; 366*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC>; 367*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; 368*37f25828STinghan Shen }; 369*37f25828STinghan Shen 370*37f25828STinghan Shen scp_adsp: clock-controller@10720000 { 371*37f25828STinghan Shen compatible = "mediatek,mt8195-scp_adsp"; 372*37f25828STinghan Shen reg = <0 0x10720000 0 0x1000>; 373*37f25828STinghan Shen #clock-cells = <1>; 374*37f25828STinghan Shen }; 375*37f25828STinghan Shen 376*37f25828STinghan Shen uart0: serial@11001100 { 377*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 378*37f25828STinghan Shen "mediatek,mt6577-uart"; 379*37f25828STinghan Shen reg = <0 0x11001100 0 0x100>; 380*37f25828STinghan Shen interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH 0>; 381*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART0>; 382*37f25828STinghan Shen clock-names = "baud", "bus"; 383*37f25828STinghan Shen status = "disabled"; 384*37f25828STinghan Shen }; 385*37f25828STinghan Shen 386*37f25828STinghan Shen uart1: serial@11001200 { 387*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 388*37f25828STinghan Shen "mediatek,mt6577-uart"; 389*37f25828STinghan Shen reg = <0 0x11001200 0 0x100>; 390*37f25828STinghan Shen interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH 0>; 391*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART1>; 392*37f25828STinghan Shen clock-names = "baud", "bus"; 393*37f25828STinghan Shen status = "disabled"; 394*37f25828STinghan Shen }; 395*37f25828STinghan Shen 396*37f25828STinghan Shen uart2: serial@11001300 { 397*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 398*37f25828STinghan Shen "mediatek,mt6577-uart"; 399*37f25828STinghan Shen reg = <0 0x11001300 0 0x100>; 400*37f25828STinghan Shen interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>; 401*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART2>; 402*37f25828STinghan Shen clock-names = "baud", "bus"; 403*37f25828STinghan Shen status = "disabled"; 404*37f25828STinghan Shen }; 405*37f25828STinghan Shen 406*37f25828STinghan Shen uart3: serial@11001400 { 407*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 408*37f25828STinghan Shen "mediatek,mt6577-uart"; 409*37f25828STinghan Shen reg = <0 0x11001400 0 0x100>; 410*37f25828STinghan Shen interrupts = <GIC_SPI 723 IRQ_TYPE_LEVEL_HIGH 0>; 411*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART3>; 412*37f25828STinghan Shen clock-names = "baud", "bus"; 413*37f25828STinghan Shen status = "disabled"; 414*37f25828STinghan Shen }; 415*37f25828STinghan Shen 416*37f25828STinghan Shen uart4: serial@11001500 { 417*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 418*37f25828STinghan Shen "mediatek,mt6577-uart"; 419*37f25828STinghan Shen reg = <0 0x11001500 0 0x100>; 420*37f25828STinghan Shen interrupts = <GIC_SPI 724 IRQ_TYPE_LEVEL_HIGH 0>; 421*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART4>; 422*37f25828STinghan Shen clock-names = "baud", "bus"; 423*37f25828STinghan Shen status = "disabled"; 424*37f25828STinghan Shen }; 425*37f25828STinghan Shen 426*37f25828STinghan Shen uart5: serial@11001600 { 427*37f25828STinghan Shen compatible = "mediatek,mt8195-uart", 428*37f25828STinghan Shen "mediatek,mt6577-uart"; 429*37f25828STinghan Shen reg = <0 0x11001600 0 0x100>; 430*37f25828STinghan Shen interrupts = <GIC_SPI 725 IRQ_TYPE_LEVEL_HIGH 0>; 431*37f25828STinghan Shen clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_AO_UART5>; 432*37f25828STinghan Shen clock-names = "baud", "bus"; 433*37f25828STinghan Shen status = "disabled"; 434*37f25828STinghan Shen }; 435*37f25828STinghan Shen 436*37f25828STinghan Shen auxadc: auxadc@11002000 { 437*37f25828STinghan Shen compatible = "mediatek,mt8195-auxadc", 438*37f25828STinghan Shen "mediatek,mt8173-auxadc"; 439*37f25828STinghan Shen reg = <0 0x11002000 0 0x1000>; 440*37f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_AUXADC>; 441*37f25828STinghan Shen clock-names = "main"; 442*37f25828STinghan Shen #io-channel-cells = <1>; 443*37f25828STinghan Shen status = "disabled"; 444*37f25828STinghan Shen }; 445*37f25828STinghan Shen 446*37f25828STinghan Shen pericfg_ao: syscon@11003000 { 447*37f25828STinghan Shen compatible = "mediatek,mt8195-pericfg_ao", "syscon"; 448*37f25828STinghan Shen reg = <0 0x11003000 0 0x1000>; 449*37f25828STinghan Shen #clock-cells = <1>; 450*37f25828STinghan Shen }; 451*37f25828STinghan Shen 452*37f25828STinghan Shen spi0: spi@1100a000 { 453*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 454*37f25828STinghan Shen "mediatek,mt6765-spi"; 455*37f25828STinghan Shen #address-cells = <1>; 456*37f25828STinghan Shen #size-cells = <0>; 457*37f25828STinghan Shen reg = <0 0x1100a000 0 0x1000>; 458*37f25828STinghan Shen interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH 0>; 459*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 460*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 461*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI0>; 462*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 463*37f25828STinghan Shen status = "disabled"; 464*37f25828STinghan Shen }; 465*37f25828STinghan Shen 466*37f25828STinghan Shen spi1: spi@11010000 { 467*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 468*37f25828STinghan Shen "mediatek,mt6765-spi"; 469*37f25828STinghan Shen #address-cells = <1>; 470*37f25828STinghan Shen #size-cells = <0>; 471*37f25828STinghan Shen reg = <0 0x11010000 0 0x1000>; 472*37f25828STinghan Shen interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH 0>; 473*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 474*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 475*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI1>; 476*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 477*37f25828STinghan Shen status = "disabled"; 478*37f25828STinghan Shen }; 479*37f25828STinghan Shen 480*37f25828STinghan Shen spi2: spi@11012000 { 481*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 482*37f25828STinghan Shen "mediatek,mt6765-spi"; 483*37f25828STinghan Shen #address-cells = <1>; 484*37f25828STinghan Shen #size-cells = <0>; 485*37f25828STinghan Shen reg = <0 0x11012000 0 0x1000>; 486*37f25828STinghan Shen interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH 0>; 487*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 488*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 489*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI2>; 490*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 491*37f25828STinghan Shen status = "disabled"; 492*37f25828STinghan Shen }; 493*37f25828STinghan Shen 494*37f25828STinghan Shen spi3: spi@11013000 { 495*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 496*37f25828STinghan Shen "mediatek,mt6765-spi"; 497*37f25828STinghan Shen #address-cells = <1>; 498*37f25828STinghan Shen #size-cells = <0>; 499*37f25828STinghan Shen reg = <0 0x11013000 0 0x1000>; 500*37f25828STinghan Shen interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH 0>; 501*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 502*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 503*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI3>; 504*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 505*37f25828STinghan Shen status = "disabled"; 506*37f25828STinghan Shen }; 507*37f25828STinghan Shen 508*37f25828STinghan Shen spi4: spi@11018000 { 509*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 510*37f25828STinghan Shen "mediatek,mt6765-spi"; 511*37f25828STinghan Shen #address-cells = <1>; 512*37f25828STinghan Shen #size-cells = <0>; 513*37f25828STinghan Shen reg = <0 0x11018000 0 0x1000>; 514*37f25828STinghan Shen interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH 0>; 515*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 516*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 517*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI4>; 518*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 519*37f25828STinghan Shen status = "disabled"; 520*37f25828STinghan Shen }; 521*37f25828STinghan Shen 522*37f25828STinghan Shen spi5: spi@11019000 { 523*37f25828STinghan Shen compatible = "mediatek,mt8195-spi", 524*37f25828STinghan Shen "mediatek,mt6765-spi"; 525*37f25828STinghan Shen #address-cells = <1>; 526*37f25828STinghan Shen #size-cells = <0>; 527*37f25828STinghan Shen reg = <0 0x11019000 0 0x1000>; 528*37f25828STinghan Shen interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH 0>; 529*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_UNIVPLL_D6_D2>, 530*37f25828STinghan Shen <&topckgen CLK_TOP_SPI>, 531*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SPI5>; 532*37f25828STinghan Shen clock-names = "parent-clk", "sel-clk", "spi-clk"; 533*37f25828STinghan Shen status = "disabled"; 534*37f25828STinghan Shen }; 535*37f25828STinghan Shen 536*37f25828STinghan Shen spis0: spi@1101d000 { 537*37f25828STinghan Shen compatible = "mediatek,mt8195-spi-slave"; 538*37f25828STinghan Shen reg = <0 0x1101d000 0 0x1000>; 539*37f25828STinghan Shen interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH 0>; 540*37f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SPIS0>; 541*37f25828STinghan Shen clock-names = "spi"; 542*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_SPIS>; 543*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; 544*37f25828STinghan Shen status = "disabled"; 545*37f25828STinghan Shen }; 546*37f25828STinghan Shen 547*37f25828STinghan Shen spis1: spi@1101e000 { 548*37f25828STinghan Shen compatible = "mediatek,mt8195-spi-slave"; 549*37f25828STinghan Shen reg = <0 0x1101e000 0 0x1000>; 550*37f25828STinghan Shen interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH 0>; 551*37f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SPIS1>; 552*37f25828STinghan Shen clock-names = "spi"; 553*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_SPIS>; 554*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6>; 555*37f25828STinghan Shen status = "disabled"; 556*37f25828STinghan Shen }; 557*37f25828STinghan Shen 558*37f25828STinghan Shen xhci0: usb@11200000 { 559*37f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 560*37f25828STinghan Shen "mediatek,mtk-xhci"; 561*37f25828STinghan Shen reg = <0 0x11200000 0 0x1000>, 562*37f25828STinghan Shen <0 0x11203e00 0 0x0100>; 563*37f25828STinghan Shen reg-names = "mac", "ippc"; 564*37f25828STinghan Shen interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH 0>; 565*37f25828STinghan Shen phys = <&u2port0 PHY_TYPE_USB2>, 566*37f25828STinghan Shen <&u3port0 PHY_TYPE_USB3>; 567*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP>, 568*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI>; 569*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 570*37f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 571*37f25828STinghan Shen clocks = <&infracfg_ao CLK_INFRA_AO_SSUSB>, 572*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_REF>, 573*37f25828STinghan Shen <&apmixedsys CLK_APMIXED_USB1PLL>, 574*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_SSUSB_XHCI>; 575*37f25828STinghan Shen clock-names = "sys_ck", "ref_ck", "mcu_ck", "xhci_ck"; 576*37f25828STinghan Shen status = "disabled"; 577*37f25828STinghan Shen }; 578*37f25828STinghan Shen 579*37f25828STinghan Shen mmc0: mmc@11230000 { 580*37f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 581*37f25828STinghan Shen "mediatek,mt8183-mmc"; 582*37f25828STinghan Shen reg = <0 0x11230000 0 0x10000>, 583*37f25828STinghan Shen <0 0x11f50000 0 0x1000>; 584*37f25828STinghan Shen interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>; 585*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC50_0>, 586*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC0>, 587*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC0_SRC>; 588*37f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 589*37f25828STinghan Shen status = "disabled"; 590*37f25828STinghan Shen }; 591*37f25828STinghan Shen 592*37f25828STinghan Shen mmc1: mmc@11240000 { 593*37f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 594*37f25828STinghan Shen "mediatek,mt8183-mmc"; 595*37f25828STinghan Shen reg = <0 0x11240000 0 0x1000>, 596*37f25828STinghan Shen <0 0x11c70000 0 0x1000>; 597*37f25828STinghan Shen interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH 0>; 598*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC30_1>, 599*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC1>, 600*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_MSDC1_SRC>; 601*37f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 602*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_MSDC30_1>; 603*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; 604*37f25828STinghan Shen status = "disabled"; 605*37f25828STinghan Shen }; 606*37f25828STinghan Shen 607*37f25828STinghan Shen mmc2: mmc@11250000 { 608*37f25828STinghan Shen compatible = "mediatek,mt8195-mmc", 609*37f25828STinghan Shen "mediatek,mt8183-mmc"; 610*37f25828STinghan Shen reg = <0 0x11250000 0 0x1000>, 611*37f25828STinghan Shen <0 0x11e60000 0 0x1000>; 612*37f25828STinghan Shen interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>; 613*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_MSDC30_2>, 614*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_CG1_MSDC2>, 615*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_CG3_MSDC2>; 616*37f25828STinghan Shen clock-names = "source", "hclk", "source_cg"; 617*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_MSDC30_2>; 618*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>; 619*37f25828STinghan Shen status = "disabled"; 620*37f25828STinghan Shen }; 621*37f25828STinghan Shen 622*37f25828STinghan Shen xhci1: usb@11290000 { 623*37f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 624*37f25828STinghan Shen "mediatek,mtk-xhci"; 625*37f25828STinghan Shen reg = <0 0x11290000 0 0x1000>, 626*37f25828STinghan Shen <0 0x11293e00 0 0x0100>; 627*37f25828STinghan Shen reg-names = "mac", "ippc"; 628*37f25828STinghan Shen interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH 0>; 629*37f25828STinghan Shen phys = <&u2port1 PHY_TYPE_USB2>; 630*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_1P>, 631*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_1P>; 632*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 633*37f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 634*37f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_1P_BUS>, 635*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P1_REF>, 636*37f25828STinghan Shen <&apmixedsys CLK_APMIXED_USB1PLL>, 637*37f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_1P_XHCI>; 638*37f25828STinghan Shen clock-names = "sys_ck", "ref_ck", "mcu_ck","xhci_ck"; 639*37f25828STinghan Shen status = "disabled"; 640*37f25828STinghan Shen }; 641*37f25828STinghan Shen 642*37f25828STinghan Shen xhci2: usb@112a0000 { 643*37f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 644*37f25828STinghan Shen "mediatek,mtk-xhci"; 645*37f25828STinghan Shen reg = <0 0x112a0000 0 0x1000>, 646*37f25828STinghan Shen <0 0x112a3e00 0 0x0100>; 647*37f25828STinghan Shen reg-names = "mac", "ippc"; 648*37f25828STinghan Shen interrupts = <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH 0>; 649*37f25828STinghan Shen phys = <&u2port2 PHY_TYPE_USB2>; 650*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_2P>, 651*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_2P>; 652*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 653*37f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 654*37f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_2P_BUS>, 655*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P2_REF>, 656*37f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_2P_XHCI>; 657*37f25828STinghan Shen clock-names = "sys_ck", "ref_ck", "xhci_ck"; 658*37f25828STinghan Shen status = "disabled"; 659*37f25828STinghan Shen }; 660*37f25828STinghan Shen 661*37f25828STinghan Shen xhci3: usb@112b0000 { 662*37f25828STinghan Shen compatible = "mediatek,mt8195-xhci", 663*37f25828STinghan Shen "mediatek,mtk-xhci"; 664*37f25828STinghan Shen reg = <0 0x112b0000 0 0x1000>, 665*37f25828STinghan Shen <0 0x112b3e00 0 0x0100>; 666*37f25828STinghan Shen reg-names = "mac", "ippc"; 667*37f25828STinghan Shen interrupts = <GIC_SPI 536 IRQ_TYPE_LEVEL_HIGH 0>; 668*37f25828STinghan Shen phys = <&u2port3 PHY_TYPE_USB2>; 669*37f25828STinghan Shen assigned-clocks = <&topckgen CLK_TOP_USB_TOP_3P>, 670*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_XHCI_3P>; 671*37f25828STinghan Shen assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, 672*37f25828STinghan Shen <&topckgen CLK_TOP_UNIVPLL_D5_D4>; 673*37f25828STinghan Shen clocks = <&pericfg_ao CLK_PERI_AO_SSUSB_3P_BUS>, 674*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_P3_REF>, 675*37f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_SSUSB_3P_XHCI>; 676*37f25828STinghan Shen clock-names = "sys_ck", "ref_ck", "xhci_ck"; 677*37f25828STinghan Shen status = "disabled"; 678*37f25828STinghan Shen }; 679*37f25828STinghan Shen 680*37f25828STinghan Shen nor_flash: spi@1132c000 { 681*37f25828STinghan Shen compatible = "mediatek,mt8195-nor", 682*37f25828STinghan Shen "mediatek,mt8173-nor"; 683*37f25828STinghan Shen reg = <0 0x1132c000 0 0x1000>; 684*37f25828STinghan Shen interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH 0>; 685*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_SPINOR>, 686*37f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_FLASHIF_FLASH>, 687*37f25828STinghan Shen <&pericfg_ao CLK_PERI_AO_FLASHIF_BUS>; 688*37f25828STinghan Shen clock-names = "spi", "sf", "axi"; 689*37f25828STinghan Shen #address-cells = <1>; 690*37f25828STinghan Shen #size-cells = <0>; 691*37f25828STinghan Shen status = "disabled"; 692*37f25828STinghan Shen }; 693*37f25828STinghan Shen 694*37f25828STinghan Shen u3phy2: t-phy@11c40000 { 695*37f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 696*37f25828STinghan Shen #address-cells = <1>; 697*37f25828STinghan Shen #size-cells = <1>; 698*37f25828STinghan Shen ranges = <0 0 0x11c40000 0x700>; 699*37f25828STinghan Shen status = "disabled"; 700*37f25828STinghan Shen 701*37f25828STinghan Shen u2port2: usb-phy@0 { 702*37f25828STinghan Shen reg = <0x0 0x700>; 703*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P2_REF>; 704*37f25828STinghan Shen clock-names = "ref"; 705*37f25828STinghan Shen #phy-cells = <1>; 706*37f25828STinghan Shen }; 707*37f25828STinghan Shen }; 708*37f25828STinghan Shen 709*37f25828STinghan Shen u3phy3: t-phy@11c50000 { 710*37f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 711*37f25828STinghan Shen #address-cells = <1>; 712*37f25828STinghan Shen #size-cells = <1>; 713*37f25828STinghan Shen ranges = <0 0 0x11c50000 0x700>; 714*37f25828STinghan Shen status = "disabled"; 715*37f25828STinghan Shen 716*37f25828STinghan Shen u2port3: usb-phy@0 { 717*37f25828STinghan Shen reg = <0x0 0x700>; 718*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P3_REF>; 719*37f25828STinghan Shen clock-names = "ref"; 720*37f25828STinghan Shen #phy-cells = <1>; 721*37f25828STinghan Shen }; 722*37f25828STinghan Shen }; 723*37f25828STinghan Shen 724*37f25828STinghan Shen i2c5: i2c@11d00000 { 725*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 726*37f25828STinghan Shen "mediatek,mt8192-i2c"; 727*37f25828STinghan Shen reg = <0 0x11d00000 0 0x1000>, 728*37f25828STinghan Shen <0 0x10220580 0 0x80>; 729*37f25828STinghan Shen interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH 0>; 730*37f25828STinghan Shen clock-div = <1>; 731*37f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C5>, 732*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 733*37f25828STinghan Shen clock-names = "main", "dma"; 734*37f25828STinghan Shen #address-cells = <1>; 735*37f25828STinghan Shen #size-cells = <0>; 736*37f25828STinghan Shen status = "disabled"; 737*37f25828STinghan Shen }; 738*37f25828STinghan Shen 739*37f25828STinghan Shen i2c6: i2c@11d01000 { 740*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 741*37f25828STinghan Shen "mediatek,mt8192-i2c"; 742*37f25828STinghan Shen reg = <0 0x11d01000 0 0x1000>, 743*37f25828STinghan Shen <0 0x10220600 0 0x80>; 744*37f25828STinghan Shen interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH 0>; 745*37f25828STinghan Shen clock-div = <1>; 746*37f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C6>, 747*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 748*37f25828STinghan Shen clock-names = "main", "dma"; 749*37f25828STinghan Shen #address-cells = <1>; 750*37f25828STinghan Shen #size-cells = <0>; 751*37f25828STinghan Shen status = "disabled"; 752*37f25828STinghan Shen }; 753*37f25828STinghan Shen 754*37f25828STinghan Shen i2c7: i2c@11d02000 { 755*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 756*37f25828STinghan Shen "mediatek,mt8192-i2c"; 757*37f25828STinghan Shen reg = <0 0x11d02000 0 0x1000>, 758*37f25828STinghan Shen <0 0x10220680 0 0x80>; 759*37f25828STinghan Shen interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>; 760*37f25828STinghan Shen clock-div = <1>; 761*37f25828STinghan Shen clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C7>, 762*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 763*37f25828STinghan Shen clock-names = "main", "dma"; 764*37f25828STinghan Shen #address-cells = <1>; 765*37f25828STinghan Shen #size-cells = <0>; 766*37f25828STinghan Shen status = "disabled"; 767*37f25828STinghan Shen }; 768*37f25828STinghan Shen 769*37f25828STinghan Shen imp_iic_wrap_s: clock-controller@11d03000 { 770*37f25828STinghan Shen compatible = "mediatek,mt8195-imp_iic_wrap_s"; 771*37f25828STinghan Shen reg = <0 0x11d03000 0 0x1000>; 772*37f25828STinghan Shen #clock-cells = <1>; 773*37f25828STinghan Shen }; 774*37f25828STinghan Shen 775*37f25828STinghan Shen i2c0: i2c@11e00000 { 776*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 777*37f25828STinghan Shen "mediatek,mt8192-i2c"; 778*37f25828STinghan Shen reg = <0 0x11e00000 0 0x1000>, 779*37f25828STinghan Shen <0 0x10220080 0 0x80>; 780*37f25828STinghan Shen interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH 0>; 781*37f25828STinghan Shen clock-div = <1>; 782*37f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C0>, 783*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 784*37f25828STinghan Shen clock-names = "main", "dma"; 785*37f25828STinghan Shen #address-cells = <1>; 786*37f25828STinghan Shen #size-cells = <0>; 787*37f25828STinghan Shen status = "okay"; 788*37f25828STinghan Shen }; 789*37f25828STinghan Shen 790*37f25828STinghan Shen i2c1: i2c@11e01000 { 791*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 792*37f25828STinghan Shen "mediatek,mt8192-i2c"; 793*37f25828STinghan Shen reg = <0 0x11e01000 0 0x1000>, 794*37f25828STinghan Shen <0 0x10220200 0 0x80>; 795*37f25828STinghan Shen interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH 0>; 796*37f25828STinghan Shen clock-div = <1>; 797*37f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C1>, 798*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 799*37f25828STinghan Shen clock-names = "main", "dma"; 800*37f25828STinghan Shen #address-cells = <1>; 801*37f25828STinghan Shen #size-cells = <0>; 802*37f25828STinghan Shen status = "disabled"; 803*37f25828STinghan Shen }; 804*37f25828STinghan Shen 805*37f25828STinghan Shen i2c2: i2c@11e02000 { 806*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 807*37f25828STinghan Shen "mediatek,mt8192-i2c"; 808*37f25828STinghan Shen reg = <0 0x11e02000 0 0x1000>, 809*37f25828STinghan Shen <0 0x10220380 0 0x80>; 810*37f25828STinghan Shen interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH 0>; 811*37f25828STinghan Shen clock-div = <1>; 812*37f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C2>, 813*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 814*37f25828STinghan Shen clock-names = "main", "dma"; 815*37f25828STinghan Shen #address-cells = <1>; 816*37f25828STinghan Shen #size-cells = <0>; 817*37f25828STinghan Shen status = "disabled"; 818*37f25828STinghan Shen }; 819*37f25828STinghan Shen 820*37f25828STinghan Shen i2c3: i2c@11e03000 { 821*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 822*37f25828STinghan Shen "mediatek,mt8192-i2c"; 823*37f25828STinghan Shen reg = <0 0x11e03000 0 0x1000>, 824*37f25828STinghan Shen <0 0x10220480 0 0x80>; 825*37f25828STinghan Shen interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH 0>; 826*37f25828STinghan Shen clock-div = <1>; 827*37f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C3>, 828*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 829*37f25828STinghan Shen clock-names = "main", "dma"; 830*37f25828STinghan Shen #address-cells = <1>; 831*37f25828STinghan Shen #size-cells = <0>; 832*37f25828STinghan Shen status = "disabled"; 833*37f25828STinghan Shen }; 834*37f25828STinghan Shen 835*37f25828STinghan Shen i2c4: i2c@11e04000 { 836*37f25828STinghan Shen compatible = "mediatek,mt8195-i2c", 837*37f25828STinghan Shen "mediatek,mt8192-i2c"; 838*37f25828STinghan Shen reg = <0 0x11e04000 0 0x1000>, 839*37f25828STinghan Shen <0 0x10220500 0 0x80>; 840*37f25828STinghan Shen interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH 0>; 841*37f25828STinghan Shen clock-div = <1>; 842*37f25828STinghan Shen clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C4>, 843*37f25828STinghan Shen <&infracfg_ao CLK_INFRA_AO_APDMA_B>; 844*37f25828STinghan Shen clock-names = "main", "dma"; 845*37f25828STinghan Shen #address-cells = <1>; 846*37f25828STinghan Shen #size-cells = <0>; 847*37f25828STinghan Shen status = "disabled"; 848*37f25828STinghan Shen }; 849*37f25828STinghan Shen 850*37f25828STinghan Shen imp_iic_wrap_w: clock-controller@11e05000 { 851*37f25828STinghan Shen compatible = "mediatek,mt8195-imp_iic_wrap_w"; 852*37f25828STinghan Shen reg = <0 0x11e05000 0 0x1000>; 853*37f25828STinghan Shen #clock-cells = <1>; 854*37f25828STinghan Shen }; 855*37f25828STinghan Shen 856*37f25828STinghan Shen u3phy1: t-phy@11e30000 { 857*37f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 858*37f25828STinghan Shen #address-cells = <1>; 859*37f25828STinghan Shen #size-cells = <1>; 860*37f25828STinghan Shen ranges = <0 0 0x11e30000 0xe00>; 861*37f25828STinghan Shen status = "disabled"; 862*37f25828STinghan Shen 863*37f25828STinghan Shen u2port1: usb-phy@0 { 864*37f25828STinghan Shen reg = <0x0 0x700>; 865*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>, 866*37f25828STinghan Shen <&clk26m>; 867*37f25828STinghan Shen clock-names = "ref", "da_ref"; 868*37f25828STinghan Shen #phy-cells = <1>; 869*37f25828STinghan Shen }; 870*37f25828STinghan Shen 871*37f25828STinghan Shen u3port1: usb-phy@700 { 872*37f25828STinghan Shen reg = <0x700 0x700>; 873*37f25828STinghan Shen clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, 874*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_PHY_P1_REF>; 875*37f25828STinghan Shen clock-names = "ref", "da_ref"; 876*37f25828STinghan Shen #phy-cells = <1>; 877*37f25828STinghan Shen }; 878*37f25828STinghan Shen }; 879*37f25828STinghan Shen 880*37f25828STinghan Shen u3phy0: t-phy@11e40000 { 881*37f25828STinghan Shen compatible = "mediatek,mt8195-tphy", "mediatek,generic-tphy-v3"; 882*37f25828STinghan Shen #address-cells = <1>; 883*37f25828STinghan Shen #size-cells = <1>; 884*37f25828STinghan Shen ranges = <0 0 0x11e40000 0xe00>; 885*37f25828STinghan Shen status = "disabled"; 886*37f25828STinghan Shen 887*37f25828STinghan Shen u2port0: usb-phy@0 { 888*37f25828STinghan Shen reg = <0x0 0x700>; 889*37f25828STinghan Shen clocks = <&topckgen CLK_TOP_SSUSB_PHY_REF>, 890*37f25828STinghan Shen <&clk26m>; 891*37f25828STinghan Shen clock-names = "ref", "da_ref"; 892*37f25828STinghan Shen #phy-cells = <1>; 893*37f25828STinghan Shen }; 894*37f25828STinghan Shen 895*37f25828STinghan Shen u3port0: usb-phy@700 { 896*37f25828STinghan Shen reg = <0x700 0x700>; 897*37f25828STinghan Shen clocks = <&apmixedsys CLK_APMIXED_PLL_SSUSB26M>, 898*37f25828STinghan Shen <&topckgen CLK_TOP_SSUSB_PHY_REF>; 899*37f25828STinghan Shen clock-names = "ref", "da_ref"; 900*37f25828STinghan Shen #phy-cells = <1>; 901*37f25828STinghan Shen }; 902*37f25828STinghan Shen }; 903*37f25828STinghan Shen 904*37f25828STinghan Shen ufsphy: ufs-phy@11fa0000 { 905*37f25828STinghan Shen compatible = "mediatek,mt8195-ufsphy", "mediatek,mt8183-ufsphy"; 906*37f25828STinghan Shen reg = <0 0x11fa0000 0 0xc000>; 907*37f25828STinghan Shen clocks = <&clk26m>, <&clk26m>; 908*37f25828STinghan Shen clock-names = "unipro", "mp"; 909*37f25828STinghan Shen #phy-cells = <0>; 910*37f25828STinghan Shen status = "disabled"; 911*37f25828STinghan Shen }; 912*37f25828STinghan Shen 913*37f25828STinghan Shen mfgcfg: clock-controller@13fbf000 { 914*37f25828STinghan Shen compatible = "mediatek,mt8195-mfgcfg"; 915*37f25828STinghan Shen reg = <0 0x13fbf000 0 0x1000>; 916*37f25828STinghan Shen #clock-cells = <1>; 917*37f25828STinghan Shen }; 918*37f25828STinghan Shen 919*37f25828STinghan Shen wpesys: clock-controller@14e00000 { 920*37f25828STinghan Shen compatible = "mediatek,mt8195-wpesys"; 921*37f25828STinghan Shen reg = <0 0x14e00000 0 0x1000>; 922*37f25828STinghan Shen #clock-cells = <1>; 923*37f25828STinghan Shen }; 924*37f25828STinghan Shen 925*37f25828STinghan Shen wpesys_vpp0: clock-controller@14e02000 { 926*37f25828STinghan Shen compatible = "mediatek,mt8195-wpesys_vpp0"; 927*37f25828STinghan Shen reg = <0 0x14e02000 0 0x1000>; 928*37f25828STinghan Shen #clock-cells = <1>; 929*37f25828STinghan Shen }; 930*37f25828STinghan Shen 931*37f25828STinghan Shen wpesys_vpp1: clock-controller@14e03000 { 932*37f25828STinghan Shen compatible = "mediatek,mt8195-wpesys_vpp1"; 933*37f25828STinghan Shen reg = <0 0x14e03000 0 0x1000>; 934*37f25828STinghan Shen #clock-cells = <1>; 935*37f25828STinghan Shen }; 936*37f25828STinghan Shen 937*37f25828STinghan Shen imgsys: clock-controller@15000000 { 938*37f25828STinghan Shen compatible = "mediatek,mt8195-imgsys"; 939*37f25828STinghan Shen reg = <0 0x15000000 0 0x1000>; 940*37f25828STinghan Shen #clock-cells = <1>; 941*37f25828STinghan Shen }; 942*37f25828STinghan Shen 943*37f25828STinghan Shen imgsys1_dip_top: clock-controller@15110000 { 944*37f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_dip_top"; 945*37f25828STinghan Shen reg = <0 0x15110000 0 0x1000>; 946*37f25828STinghan Shen #clock-cells = <1>; 947*37f25828STinghan Shen }; 948*37f25828STinghan Shen 949*37f25828STinghan Shen imgsys1_dip_nr: clock-controller@15130000 { 950*37f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_dip_nr"; 951*37f25828STinghan Shen reg = <0 0x15130000 0 0x1000>; 952*37f25828STinghan Shen #clock-cells = <1>; 953*37f25828STinghan Shen }; 954*37f25828STinghan Shen 955*37f25828STinghan Shen imgsys1_wpe: clock-controller@15220000 { 956*37f25828STinghan Shen compatible = "mediatek,mt8195-imgsys1_wpe"; 957*37f25828STinghan Shen reg = <0 0x15220000 0 0x1000>; 958*37f25828STinghan Shen #clock-cells = <1>; 959*37f25828STinghan Shen }; 960*37f25828STinghan Shen 961*37f25828STinghan Shen ipesys: clock-controller@15330000 { 962*37f25828STinghan Shen compatible = "mediatek,mt8195-ipesys"; 963*37f25828STinghan Shen reg = <0 0x15330000 0 0x1000>; 964*37f25828STinghan Shen #clock-cells = <1>; 965*37f25828STinghan Shen }; 966*37f25828STinghan Shen 967*37f25828STinghan Shen camsys: clock-controller@16000000 { 968*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys"; 969*37f25828STinghan Shen reg = <0 0x16000000 0 0x1000>; 970*37f25828STinghan Shen #clock-cells = <1>; 971*37f25828STinghan Shen }; 972*37f25828STinghan Shen 973*37f25828STinghan Shen camsys_rawa: clock-controller@1604f000 { 974*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys_rawa"; 975*37f25828STinghan Shen reg = <0 0x1604f000 0 0x1000>; 976*37f25828STinghan Shen #clock-cells = <1>; 977*37f25828STinghan Shen }; 978*37f25828STinghan Shen 979*37f25828STinghan Shen camsys_yuva: clock-controller@1606f000 { 980*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys_yuva"; 981*37f25828STinghan Shen reg = <0 0x1606f000 0 0x1000>; 982*37f25828STinghan Shen #clock-cells = <1>; 983*37f25828STinghan Shen }; 984*37f25828STinghan Shen 985*37f25828STinghan Shen camsys_rawb: clock-controller@1608f000 { 986*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys_rawb"; 987*37f25828STinghan Shen reg = <0 0x1608f000 0 0x1000>; 988*37f25828STinghan Shen #clock-cells = <1>; 989*37f25828STinghan Shen }; 990*37f25828STinghan Shen 991*37f25828STinghan Shen camsys_yuvb: clock-controller@160af000 { 992*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys_yuvb"; 993*37f25828STinghan Shen reg = <0 0x160af000 0 0x1000>; 994*37f25828STinghan Shen #clock-cells = <1>; 995*37f25828STinghan Shen }; 996*37f25828STinghan Shen 997*37f25828STinghan Shen camsys_mraw: clock-controller@16140000 { 998*37f25828STinghan Shen compatible = "mediatek,mt8195-camsys_mraw"; 999*37f25828STinghan Shen reg = <0 0x16140000 0 0x1000>; 1000*37f25828STinghan Shen #clock-cells = <1>; 1001*37f25828STinghan Shen }; 1002*37f25828STinghan Shen 1003*37f25828STinghan Shen ccusys: clock-controller@17200000 { 1004*37f25828STinghan Shen compatible = "mediatek,mt8195-ccusys"; 1005*37f25828STinghan Shen reg = <0 0x17200000 0 0x1000>; 1006*37f25828STinghan Shen #clock-cells = <1>; 1007*37f25828STinghan Shen }; 1008*37f25828STinghan Shen 1009*37f25828STinghan Shen vdecsys_soc: clock-controller@1800f000 { 1010*37f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys_soc"; 1011*37f25828STinghan Shen reg = <0 0x1800f000 0 0x1000>; 1012*37f25828STinghan Shen #clock-cells = <1>; 1013*37f25828STinghan Shen }; 1014*37f25828STinghan Shen 1015*37f25828STinghan Shen vdecsys: clock-controller@1802f000 { 1016*37f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys"; 1017*37f25828STinghan Shen reg = <0 0x1802f000 0 0x1000>; 1018*37f25828STinghan Shen #clock-cells = <1>; 1019*37f25828STinghan Shen }; 1020*37f25828STinghan Shen 1021*37f25828STinghan Shen vdecsys_core1: clock-controller@1803f000 { 1022*37f25828STinghan Shen compatible = "mediatek,mt8195-vdecsys_core1"; 1023*37f25828STinghan Shen reg = <0 0x1803f000 0 0x1000>; 1024*37f25828STinghan Shen #clock-cells = <1>; 1025*37f25828STinghan Shen }; 1026*37f25828STinghan Shen 1027*37f25828STinghan Shen apusys_pll: clock-controller@190f3000 { 1028*37f25828STinghan Shen compatible = "mediatek,mt8195-apusys_pll"; 1029*37f25828STinghan Shen reg = <0 0x190f3000 0 0x1000>; 1030*37f25828STinghan Shen #clock-cells = <1>; 1031*37f25828STinghan Shen }; 1032*37f25828STinghan Shen 1033*37f25828STinghan Shen vencsys: clock-controller@1a000000 { 1034*37f25828STinghan Shen compatible = "mediatek,mt8195-vencsys"; 1035*37f25828STinghan Shen reg = <0 0x1a000000 0 0x1000>; 1036*37f25828STinghan Shen #clock-cells = <1>; 1037*37f25828STinghan Shen }; 1038*37f25828STinghan Shen 1039*37f25828STinghan Shen vencsys_core1: clock-controller@1b000000 { 1040*37f25828STinghan Shen compatible = "mediatek,mt8195-vencsys_core1"; 1041*37f25828STinghan Shen reg = <0 0x1b000000 0 0x1000>; 1042*37f25828STinghan Shen #clock-cells = <1>; 1043*37f25828STinghan Shen }; 1044*37f25828STinghan Shen }; 1045*37f25828STinghan Shen}; 1046