1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2015 MediaTek Inc. 4*724ba675SRob Herring * Author: Erin.Lo <erin.lo@mediatek.com> 5*724ba675SRob Herring * 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include <dt-bindings/clock/mt2701-clk.h> 9*724ba675SRob Herring#include <dt-bindings/phy/phy.h> 10*724ba675SRob Herring#include <dt-bindings/power/mt2701-power.h> 11*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 12*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 13*724ba675SRob Herring#include <dt-bindings/memory/mt2701-larb-port.h> 14*724ba675SRob Herring#include <dt-bindings/reset/mt2701-resets.h> 15*724ba675SRob Herring#include "mt2701-pinfunc.h" 16*724ba675SRob Herring 17*724ba675SRob Herring/ { 18*724ba675SRob Herring #address-cells = <2>; 19*724ba675SRob Herring #size-cells = <2>; 20*724ba675SRob Herring compatible = "mediatek,mt2701"; 21*724ba675SRob Herring interrupt-parent = <&cirq>; 22*724ba675SRob Herring 23*724ba675SRob Herring cpus { 24*724ba675SRob Herring #address-cells = <1>; 25*724ba675SRob Herring #size-cells = <0>; 26*724ba675SRob Herring enable-method = "mediatek,mt81xx-tz-smp"; 27*724ba675SRob Herring 28*724ba675SRob Herring cpu@0 { 29*724ba675SRob Herring device_type = "cpu"; 30*724ba675SRob Herring compatible = "arm,cortex-a7"; 31*724ba675SRob Herring reg = <0x0>; 32*724ba675SRob Herring }; 33*724ba675SRob Herring cpu@1 { 34*724ba675SRob Herring device_type = "cpu"; 35*724ba675SRob Herring compatible = "arm,cortex-a7"; 36*724ba675SRob Herring reg = <0x1>; 37*724ba675SRob Herring }; 38*724ba675SRob Herring cpu@2 { 39*724ba675SRob Herring device_type = "cpu"; 40*724ba675SRob Herring compatible = "arm,cortex-a7"; 41*724ba675SRob Herring reg = <0x2>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring cpu@3 { 44*724ba675SRob Herring device_type = "cpu"; 45*724ba675SRob Herring compatible = "arm,cortex-a7"; 46*724ba675SRob Herring reg = <0x3>; 47*724ba675SRob Herring }; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring reserved-memory { 51*724ba675SRob Herring #address-cells = <2>; 52*724ba675SRob Herring #size-cells = <2>; 53*724ba675SRob Herring ranges; 54*724ba675SRob Herring 55*724ba675SRob Herring trustzone-bootinfo@80002000 { 56*724ba675SRob Herring compatible = "mediatek,trustzone-bootinfo"; 57*724ba675SRob Herring reg = <0 0x80002000 0 0x1000>; 58*724ba675SRob Herring }; 59*724ba675SRob Herring }; 60*724ba675SRob Herring 61*724ba675SRob Herring system_clk: dummy13m { 62*724ba675SRob Herring compatible = "fixed-clock"; 63*724ba675SRob Herring clock-frequency = <13000000>; 64*724ba675SRob Herring #clock-cells = <0>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring 67*724ba675SRob Herring rtc_clk: dummy32k { 68*724ba675SRob Herring compatible = "fixed-clock"; 69*724ba675SRob Herring clock-frequency = <32000>; 70*724ba675SRob Herring #clock-cells = <0>; 71*724ba675SRob Herring }; 72*724ba675SRob Herring 73*724ba675SRob Herring clk26m: oscillator@0 { 74*724ba675SRob Herring compatible = "fixed-clock"; 75*724ba675SRob Herring #clock-cells = <0>; 76*724ba675SRob Herring clock-frequency = <26000000>; 77*724ba675SRob Herring clock-output-names = "clk26m"; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring rtc32k: oscillator@1 { 81*724ba675SRob Herring compatible = "fixed-clock"; 82*724ba675SRob Herring #clock-cells = <0>; 83*724ba675SRob Herring clock-frequency = <32000>; 84*724ba675SRob Herring clock-output-names = "rtc32k"; 85*724ba675SRob Herring }; 86*724ba675SRob Herring 87*724ba675SRob Herring thermal-zones { 88*724ba675SRob Herring cpu_thermal: cpu_thermal { 89*724ba675SRob Herring polling-delay-passive = <1000>; /* milliseconds */ 90*724ba675SRob Herring polling-delay = <1000>; /* milliseconds */ 91*724ba675SRob Herring 92*724ba675SRob Herring thermal-sensors = <&thermal 0>; 93*724ba675SRob Herring sustainable-power = <1000>; 94*724ba675SRob Herring 95*724ba675SRob Herring trips { 96*724ba675SRob Herring threshold: trip-point@0 { 97*724ba675SRob Herring temperature = <68000>; 98*724ba675SRob Herring hysteresis = <2000>; 99*724ba675SRob Herring type = "passive"; 100*724ba675SRob Herring }; 101*724ba675SRob Herring 102*724ba675SRob Herring target: trip-point@1 { 103*724ba675SRob Herring temperature = <85000>; 104*724ba675SRob Herring hysteresis = <2000>; 105*724ba675SRob Herring type = "passive"; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring cpu_crit: cpu_crit@0 { 109*724ba675SRob Herring temperature = <115000>; 110*724ba675SRob Herring hysteresis = <2000>; 111*724ba675SRob Herring type = "critical"; 112*724ba675SRob Herring }; 113*724ba675SRob Herring }; 114*724ba675SRob Herring }; 115*724ba675SRob Herring }; 116*724ba675SRob Herring 117*724ba675SRob Herring timer { 118*724ba675SRob Herring compatible = "arm,armv7-timer"; 119*724ba675SRob Herring interrupt-parent = <&gic>; 120*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 121*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 122*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 123*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring topckgen: syscon@10000000 { 127*724ba675SRob Herring compatible = "mediatek,mt2701-topckgen", "syscon"; 128*724ba675SRob Herring reg = <0 0x10000000 0 0x1000>; 129*724ba675SRob Herring #clock-cells = <1>; 130*724ba675SRob Herring }; 131*724ba675SRob Herring 132*724ba675SRob Herring infracfg: syscon@10001000 { 133*724ba675SRob Herring compatible = "mediatek,mt2701-infracfg", "syscon"; 134*724ba675SRob Herring reg = <0 0x10001000 0 0x1000>; 135*724ba675SRob Herring #clock-cells = <1>; 136*724ba675SRob Herring #reset-cells = <1>; 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring pericfg: syscon@10003000 { 140*724ba675SRob Herring compatible = "mediatek,mt2701-pericfg", "syscon"; 141*724ba675SRob Herring reg = <0 0x10003000 0 0x1000>; 142*724ba675SRob Herring #clock-cells = <1>; 143*724ba675SRob Herring #reset-cells = <1>; 144*724ba675SRob Herring }; 145*724ba675SRob Herring 146*724ba675SRob Herring syscfg_pctl_a: syscfg@10005000 { 147*724ba675SRob Herring compatible = "mediatek,mt2701-pctl-a-syscfg", "syscon"; 148*724ba675SRob Herring reg = <0 0x10005000 0 0x1000>; 149*724ba675SRob Herring }; 150*724ba675SRob Herring 151*724ba675SRob Herring scpsys: power-controller@10006000 { 152*724ba675SRob Herring compatible = "mediatek,mt2701-scpsys", "syscon"; 153*724ba675SRob Herring #power-domain-cells = <1>; 154*724ba675SRob Herring reg = <0 0x10006000 0 0x1000>; 155*724ba675SRob Herring infracfg = <&infracfg>; 156*724ba675SRob Herring clocks = <&topckgen CLK_TOP_MM_SEL>, 157*724ba675SRob Herring <&topckgen CLK_TOP_MFG_SEL>, 158*724ba675SRob Herring <&topckgen CLK_TOP_ETHIF_SEL>; 159*724ba675SRob Herring clock-names = "mm", "mfg", "ethif"; 160*724ba675SRob Herring }; 161*724ba675SRob Herring 162*724ba675SRob Herring watchdog: watchdog@10007000 { 163*724ba675SRob Herring compatible = "mediatek,mt2701-wdt", 164*724ba675SRob Herring "mediatek,mt6589-wdt"; 165*724ba675SRob Herring reg = <0 0x10007000 0 0x100>; 166*724ba675SRob Herring }; 167*724ba675SRob Herring 168*724ba675SRob Herring timer: timer@10008000 { 169*724ba675SRob Herring compatible = "mediatek,mt2701-timer", 170*724ba675SRob Herring "mediatek,mt6577-timer"; 171*724ba675SRob Herring reg = <0 0x10008000 0 0x80>; 172*724ba675SRob Herring interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>; 173*724ba675SRob Herring clocks = <&system_clk>, <&rtc_clk>; 174*724ba675SRob Herring clock-names = "system-clk", "rtc-clk"; 175*724ba675SRob Herring }; 176*724ba675SRob Herring 177*724ba675SRob Herring pio: pinctrl@1000b000 { 178*724ba675SRob Herring compatible = "mediatek,mt2701-pinctrl"; 179*724ba675SRob Herring reg = <0 0x1000b000 0 0x1000>; 180*724ba675SRob Herring mediatek,pctl-regmap = <&syscfg_pctl_a>; 181*724ba675SRob Herring gpio-controller; 182*724ba675SRob Herring #gpio-cells = <2>; 183*724ba675SRob Herring interrupt-controller; 184*724ba675SRob Herring #interrupt-cells = <2>; 185*724ba675SRob Herring interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 186*724ba675SRob Herring <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 187*724ba675SRob Herring }; 188*724ba675SRob Herring 189*724ba675SRob Herring smi_common: smi@1000c000 { 190*724ba675SRob Herring compatible = "mediatek,mt2701-smi-common"; 191*724ba675SRob Herring reg = <0 0x1000c000 0 0x1000>; 192*724ba675SRob Herring clocks = <&infracfg CLK_INFRA_SMI>, 193*724ba675SRob Herring <&mmsys CLK_MM_SMI_COMMON>, 194*724ba675SRob Herring <&infracfg CLK_INFRA_SMI>; 195*724ba675SRob Herring clock-names = "apb", "smi", "async"; 196*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 197*724ba675SRob Herring }; 198*724ba675SRob Herring 199*724ba675SRob Herring sysirq: interrupt-controller@10200100 { 200*724ba675SRob Herring compatible = "mediatek,mt2701-sysirq", 201*724ba675SRob Herring "mediatek,mt6577-sysirq"; 202*724ba675SRob Herring interrupt-controller; 203*724ba675SRob Herring #interrupt-cells = <3>; 204*724ba675SRob Herring interrupt-parent = <&gic>; 205*724ba675SRob Herring reg = <0 0x10200100 0 0x1c>; 206*724ba675SRob Herring }; 207*724ba675SRob Herring 208*724ba675SRob Herring cirq: interrupt-controller@10204000 { 209*724ba675SRob Herring compatible = "mediatek,mt2701-cirq", 210*724ba675SRob Herring "mediatek,mtk-cirq"; 211*724ba675SRob Herring interrupt-controller; 212*724ba675SRob Herring #interrupt-cells = <3>; 213*724ba675SRob Herring interrupt-parent = <&sysirq>; 214*724ba675SRob Herring reg = <0 0x10204000 0 0x400>; 215*724ba675SRob Herring mediatek,ext-irq-range = <32 200>; 216*724ba675SRob Herring }; 217*724ba675SRob Herring 218*724ba675SRob Herring iommu: mmsys_iommu@10205000 { 219*724ba675SRob Herring compatible = "mediatek,mt2701-m4u"; 220*724ba675SRob Herring reg = <0 0x10205000 0 0x1000>; 221*724ba675SRob Herring interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_LOW>; 222*724ba675SRob Herring clocks = <&infracfg CLK_INFRA_M4U>; 223*724ba675SRob Herring clock-names = "bclk"; 224*724ba675SRob Herring mediatek,larbs = <&larb0 &larb1 &larb2>; 225*724ba675SRob Herring #iommu-cells = <1>; 226*724ba675SRob Herring }; 227*724ba675SRob Herring 228*724ba675SRob Herring apmixedsys: syscon@10209000 { 229*724ba675SRob Herring compatible = "mediatek,mt2701-apmixedsys", "syscon"; 230*724ba675SRob Herring reg = <0 0x10209000 0 0x1000>; 231*724ba675SRob Herring #clock-cells = <1>; 232*724ba675SRob Herring }; 233*724ba675SRob Herring 234*724ba675SRob Herring gic: interrupt-controller@10211000 { 235*724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 236*724ba675SRob Herring interrupt-controller; 237*724ba675SRob Herring #interrupt-cells = <3>; 238*724ba675SRob Herring interrupt-parent = <&gic>; 239*724ba675SRob Herring reg = <0 0x10211000 0 0x1000>, 240*724ba675SRob Herring <0 0x10212000 0 0x2000>, 241*724ba675SRob Herring <0 0x10214000 0 0x2000>, 242*724ba675SRob Herring <0 0x10216000 0 0x2000>; 243*724ba675SRob Herring }; 244*724ba675SRob Herring 245*724ba675SRob Herring auxadc: adc@11001000 { 246*724ba675SRob Herring compatible = "mediatek,mt2701-auxadc"; 247*724ba675SRob Herring reg = <0 0x11001000 0 0x1000>; 248*724ba675SRob Herring clocks = <&pericfg CLK_PERI_AUXADC>; 249*724ba675SRob Herring clock-names = "main"; 250*724ba675SRob Herring #io-channel-cells = <1>; 251*724ba675SRob Herring status = "disabled"; 252*724ba675SRob Herring }; 253*724ba675SRob Herring 254*724ba675SRob Herring uart0: serial@11002000 { 255*724ba675SRob Herring compatible = "mediatek,mt2701-uart", 256*724ba675SRob Herring "mediatek,mt6577-uart"; 257*724ba675SRob Herring reg = <0 0x11002000 0 0x400>; 258*724ba675SRob Herring interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; 259*724ba675SRob Herring clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>; 260*724ba675SRob Herring clock-names = "baud", "bus"; 261*724ba675SRob Herring status = "disabled"; 262*724ba675SRob Herring }; 263*724ba675SRob Herring 264*724ba675SRob Herring uart1: serial@11003000 { 265*724ba675SRob Herring compatible = "mediatek,mt2701-uart", 266*724ba675SRob Herring "mediatek,mt6577-uart"; 267*724ba675SRob Herring reg = <0 0x11003000 0 0x400>; 268*724ba675SRob Herring interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>; 269*724ba675SRob Herring clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>; 270*724ba675SRob Herring clock-names = "baud", "bus"; 271*724ba675SRob Herring status = "disabled"; 272*724ba675SRob Herring }; 273*724ba675SRob Herring 274*724ba675SRob Herring uart2: serial@11004000 { 275*724ba675SRob Herring compatible = "mediatek,mt2701-uart", 276*724ba675SRob Herring "mediatek,mt6577-uart"; 277*724ba675SRob Herring reg = <0 0x11004000 0 0x400>; 278*724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>; 279*724ba675SRob Herring clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>; 280*724ba675SRob Herring clock-names = "baud", "bus"; 281*724ba675SRob Herring status = "disabled"; 282*724ba675SRob Herring }; 283*724ba675SRob Herring 284*724ba675SRob Herring uart3: serial@11005000 { 285*724ba675SRob Herring compatible = "mediatek,mt2701-uart", 286*724ba675SRob Herring "mediatek,mt6577-uart"; 287*724ba675SRob Herring reg = <0 0x11005000 0 0x400>; 288*724ba675SRob Herring interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>; 289*724ba675SRob Herring clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>; 290*724ba675SRob Herring clock-names = "baud", "bus"; 291*724ba675SRob Herring status = "disabled"; 292*724ba675SRob Herring }; 293*724ba675SRob Herring 294*724ba675SRob Herring i2c0: i2c@11007000 { 295*724ba675SRob Herring compatible = "mediatek,mt2701-i2c", 296*724ba675SRob Herring "mediatek,mt6577-i2c"; 297*724ba675SRob Herring reg = <0 0x11007000 0 0x70>, 298*724ba675SRob Herring <0 0x11000200 0 0x80>; 299*724ba675SRob Herring interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>; 300*724ba675SRob Herring clock-div = <16>; 301*724ba675SRob Herring clocks = <&pericfg CLK_PERI_I2C0>, <&pericfg CLK_PERI_AP_DMA>; 302*724ba675SRob Herring clock-names = "main", "dma"; 303*724ba675SRob Herring #address-cells = <1>; 304*724ba675SRob Herring #size-cells = <0>; 305*724ba675SRob Herring status = "disabled"; 306*724ba675SRob Herring }; 307*724ba675SRob Herring 308*724ba675SRob Herring i2c1: i2c@11008000 { 309*724ba675SRob Herring compatible = "mediatek,mt2701-i2c", 310*724ba675SRob Herring "mediatek,mt6577-i2c"; 311*724ba675SRob Herring reg = <0 0x11008000 0 0x70>, 312*724ba675SRob Herring <0 0x11000280 0 0x80>; 313*724ba675SRob Herring interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_LOW>; 314*724ba675SRob Herring clock-div = <16>; 315*724ba675SRob Herring clocks = <&pericfg CLK_PERI_I2C1>, <&pericfg CLK_PERI_AP_DMA>; 316*724ba675SRob Herring clock-names = "main", "dma"; 317*724ba675SRob Herring #address-cells = <1>; 318*724ba675SRob Herring #size-cells = <0>; 319*724ba675SRob Herring status = "disabled"; 320*724ba675SRob Herring }; 321*724ba675SRob Herring 322*724ba675SRob Herring i2c2: i2c@11009000 { 323*724ba675SRob Herring compatible = "mediatek,mt2701-i2c", 324*724ba675SRob Herring "mediatek,mt6577-i2c"; 325*724ba675SRob Herring reg = <0 0x11009000 0 0x70>, 326*724ba675SRob Herring <0 0x11000300 0 0x80>; 327*724ba675SRob Herring interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_LOW>; 328*724ba675SRob Herring clock-div = <16>; 329*724ba675SRob Herring clocks = <&pericfg CLK_PERI_I2C2>, <&pericfg CLK_PERI_AP_DMA>; 330*724ba675SRob Herring clock-names = "main", "dma"; 331*724ba675SRob Herring #address-cells = <1>; 332*724ba675SRob Herring #size-cells = <0>; 333*724ba675SRob Herring status = "disabled"; 334*724ba675SRob Herring }; 335*724ba675SRob Herring 336*724ba675SRob Herring spi0: spi@1100a000 { 337*724ba675SRob Herring compatible = "mediatek,mt2701-spi"; 338*724ba675SRob Herring #address-cells = <1>; 339*724ba675SRob Herring #size-cells = <0>; 340*724ba675SRob Herring reg = <0 0x1100a000 0 0x100>; 341*724ba675SRob Herring interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>; 342*724ba675SRob Herring clocks = <&topckgen CLK_TOP_SYSPLL3_D2>, 343*724ba675SRob Herring <&topckgen CLK_TOP_SPI0_SEL>, 344*724ba675SRob Herring <&pericfg CLK_PERI_SPI0>; 345*724ba675SRob Herring clock-names = "parent-clk", "sel-clk", "spi-clk"; 346*724ba675SRob Herring status = "disabled"; 347*724ba675SRob Herring }; 348*724ba675SRob Herring 349*724ba675SRob Herring thermal: thermal@1100b000 { 350*724ba675SRob Herring #thermal-sensor-cells = <0>; 351*724ba675SRob Herring compatible = "mediatek,mt2701-thermal"; 352*724ba675SRob Herring reg = <0 0x1100b000 0 0x1000>; 353*724ba675SRob Herring interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_LOW>; 354*724ba675SRob Herring clocks = <&pericfg CLK_PERI_THERM>, <&pericfg CLK_PERI_AUXADC>; 355*724ba675SRob Herring clock-names = "therm", "auxadc"; 356*724ba675SRob Herring resets = <&pericfg MT2701_PERI_THERM_SW_RST>; 357*724ba675SRob Herring reset-names = "therm"; 358*724ba675SRob Herring mediatek,auxadc = <&auxadc>; 359*724ba675SRob Herring mediatek,apmixedsys = <&apmixedsys>; 360*724ba675SRob Herring }; 361*724ba675SRob Herring 362*724ba675SRob Herring nandc: nand-controller@1100d000 { 363*724ba675SRob Herring compatible = "mediatek,mt2701-nfc"; 364*724ba675SRob Herring reg = <0 0x1100d000 0 0x1000>; 365*724ba675SRob Herring interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_LOW>; 366*724ba675SRob Herring clocks = <&pericfg CLK_PERI_NFI>, 367*724ba675SRob Herring <&pericfg CLK_PERI_NFI_PAD>; 368*724ba675SRob Herring clock-names = "nfi_clk", "pad_clk"; 369*724ba675SRob Herring status = "disabled"; 370*724ba675SRob Herring ecc-engine = <&bch>; 371*724ba675SRob Herring #address-cells = <1>; 372*724ba675SRob Herring #size-cells = <0>; 373*724ba675SRob Herring }; 374*724ba675SRob Herring 375*724ba675SRob Herring bch: ecc@1100e000 { 376*724ba675SRob Herring compatible = "mediatek,mt2701-ecc"; 377*724ba675SRob Herring reg = <0 0x1100e000 0 0x1000>; 378*724ba675SRob Herring interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>; 379*724ba675SRob Herring clocks = <&pericfg CLK_PERI_NFI_ECC>; 380*724ba675SRob Herring clock-names = "nfiecc_clk"; 381*724ba675SRob Herring status = "disabled"; 382*724ba675SRob Herring }; 383*724ba675SRob Herring 384*724ba675SRob Herring nor_flash: spi@11014000 { 385*724ba675SRob Herring compatible = "mediatek,mt2701-nor", 386*724ba675SRob Herring "mediatek,mt8173-nor"; 387*724ba675SRob Herring reg = <0 0x11014000 0 0xe0>; 388*724ba675SRob Herring clocks = <&pericfg CLK_PERI_FLASH>, 389*724ba675SRob Herring <&topckgen CLK_TOP_FLASH_SEL>; 390*724ba675SRob Herring clock-names = "spi", "sf"; 391*724ba675SRob Herring #address-cells = <1>; 392*724ba675SRob Herring #size-cells = <0>; 393*724ba675SRob Herring status = "disabled"; 394*724ba675SRob Herring }; 395*724ba675SRob Herring 396*724ba675SRob Herring spi1: spi@11016000 { 397*724ba675SRob Herring compatible = "mediatek,mt2701-spi"; 398*724ba675SRob Herring #address-cells = <1>; 399*724ba675SRob Herring #size-cells = <0>; 400*724ba675SRob Herring reg = <0 0x11016000 0 0x100>; 401*724ba675SRob Herring interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>; 402*724ba675SRob Herring clocks = <&topckgen CLK_TOP_SYSPLL3_D2>, 403*724ba675SRob Herring <&topckgen CLK_TOP_SPI1_SEL>, 404*724ba675SRob Herring <&pericfg CLK_PERI_SPI1>; 405*724ba675SRob Herring clock-names = "parent-clk", "sel-clk", "spi-clk"; 406*724ba675SRob Herring status = "disabled"; 407*724ba675SRob Herring }; 408*724ba675SRob Herring 409*724ba675SRob Herring spi2: spi@11017000 { 410*724ba675SRob Herring compatible = "mediatek,mt2701-spi"; 411*724ba675SRob Herring #address-cells = <1>; 412*724ba675SRob Herring #size-cells = <0>; 413*724ba675SRob Herring reg = <0 0x11017000 0 0x1000>; 414*724ba675SRob Herring interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_LOW>; 415*724ba675SRob Herring clocks = <&topckgen CLK_TOP_SYSPLL3_D2>, 416*724ba675SRob Herring <&topckgen CLK_TOP_SPI2_SEL>, 417*724ba675SRob Herring <&pericfg CLK_PERI_SPI2>; 418*724ba675SRob Herring clock-names = "parent-clk", "sel-clk", "spi-clk"; 419*724ba675SRob Herring status = "disabled"; 420*724ba675SRob Herring }; 421*724ba675SRob Herring 422*724ba675SRob Herring audsys: clock-controller@11220000 { 423*724ba675SRob Herring compatible = "mediatek,mt2701-audsys", "syscon"; 424*724ba675SRob Herring reg = <0 0x11220000 0 0x2000>; 425*724ba675SRob Herring #clock-cells = <1>; 426*724ba675SRob Herring 427*724ba675SRob Herring afe: audio-controller { 428*724ba675SRob Herring compatible = "mediatek,mt2701-audio"; 429*724ba675SRob Herring interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>, 430*724ba675SRob Herring <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>; 431*724ba675SRob Herring interrupt-names = "afe", "asys"; 432*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 433*724ba675SRob Herring 434*724ba675SRob Herring clocks = <&infracfg CLK_INFRA_AUDIO>, 435*724ba675SRob Herring <&topckgen CLK_TOP_AUD_MUX1_SEL>, 436*724ba675SRob Herring <&topckgen CLK_TOP_AUD_MUX2_SEL>, 437*724ba675SRob Herring <&topckgen CLK_TOP_AUD_48K_TIMING>, 438*724ba675SRob Herring <&topckgen CLK_TOP_AUD_44K_TIMING>, 439*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K1_SRC_SEL>, 440*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K2_SRC_SEL>, 441*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K3_SRC_SEL>, 442*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K4_SRC_SEL>, 443*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K1_SRC_DIV>, 444*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K2_SRC_DIV>, 445*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K3_SRC_DIV>, 446*724ba675SRob Herring <&topckgen CLK_TOP_AUD_K4_SRC_DIV>, 447*724ba675SRob Herring <&topckgen CLK_TOP_AUD_I2S1_MCLK>, 448*724ba675SRob Herring <&topckgen CLK_TOP_AUD_I2S2_MCLK>, 449*724ba675SRob Herring <&topckgen CLK_TOP_AUD_I2S3_MCLK>, 450*724ba675SRob Herring <&topckgen CLK_TOP_AUD_I2S4_MCLK>, 451*724ba675SRob Herring <&audsys CLK_AUD_I2SO1>, 452*724ba675SRob Herring <&audsys CLK_AUD_I2SO2>, 453*724ba675SRob Herring <&audsys CLK_AUD_I2SO3>, 454*724ba675SRob Herring <&audsys CLK_AUD_I2SO4>, 455*724ba675SRob Herring <&audsys CLK_AUD_I2SIN1>, 456*724ba675SRob Herring <&audsys CLK_AUD_I2SIN2>, 457*724ba675SRob Herring <&audsys CLK_AUD_I2SIN3>, 458*724ba675SRob Herring <&audsys CLK_AUD_I2SIN4>, 459*724ba675SRob Herring <&audsys CLK_AUD_ASRCO1>, 460*724ba675SRob Herring <&audsys CLK_AUD_ASRCO2>, 461*724ba675SRob Herring <&audsys CLK_AUD_ASRCO3>, 462*724ba675SRob Herring <&audsys CLK_AUD_ASRCO4>, 463*724ba675SRob Herring <&audsys CLK_AUD_AFE>, 464*724ba675SRob Herring <&audsys CLK_AUD_AFE_CONN>, 465*724ba675SRob Herring <&audsys CLK_AUD_A1SYS>, 466*724ba675SRob Herring <&audsys CLK_AUD_A2SYS>, 467*724ba675SRob Herring <&audsys CLK_AUD_AFE_MRGIF>; 468*724ba675SRob Herring 469*724ba675SRob Herring clock-names = "infra_sys_audio_clk", 470*724ba675SRob Herring "top_audio_mux1_sel", 471*724ba675SRob Herring "top_audio_mux2_sel", 472*724ba675SRob Herring "top_audio_a1sys_hp", 473*724ba675SRob Herring "top_audio_a2sys_hp", 474*724ba675SRob Herring "i2s0_src_sel", 475*724ba675SRob Herring "i2s1_src_sel", 476*724ba675SRob Herring "i2s2_src_sel", 477*724ba675SRob Herring "i2s3_src_sel", 478*724ba675SRob Herring "i2s0_src_div", 479*724ba675SRob Herring "i2s1_src_div", 480*724ba675SRob Herring "i2s2_src_div", 481*724ba675SRob Herring "i2s3_src_div", 482*724ba675SRob Herring "i2s0_mclk_en", 483*724ba675SRob Herring "i2s1_mclk_en", 484*724ba675SRob Herring "i2s2_mclk_en", 485*724ba675SRob Herring "i2s3_mclk_en", 486*724ba675SRob Herring "i2so0_hop_ck", 487*724ba675SRob Herring "i2so1_hop_ck", 488*724ba675SRob Herring "i2so2_hop_ck", 489*724ba675SRob Herring "i2so3_hop_ck", 490*724ba675SRob Herring "i2si0_hop_ck", 491*724ba675SRob Herring "i2si1_hop_ck", 492*724ba675SRob Herring "i2si2_hop_ck", 493*724ba675SRob Herring "i2si3_hop_ck", 494*724ba675SRob Herring "asrc0_out_ck", 495*724ba675SRob Herring "asrc1_out_ck", 496*724ba675SRob Herring "asrc2_out_ck", 497*724ba675SRob Herring "asrc3_out_ck", 498*724ba675SRob Herring "audio_afe_pd", 499*724ba675SRob Herring "audio_afe_conn_pd", 500*724ba675SRob Herring "audio_a1sys_pd", 501*724ba675SRob Herring "audio_a2sys_pd", 502*724ba675SRob Herring "audio_mrgif_pd"; 503*724ba675SRob Herring 504*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_AUD_MUX1_SEL>, 505*724ba675SRob Herring <&topckgen CLK_TOP_AUD_MUX2_SEL>, 506*724ba675SRob Herring <&topckgen CLK_TOP_AUD_MUX1_DIV>, 507*724ba675SRob Herring <&topckgen CLK_TOP_AUD_MUX2_DIV>; 508*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_AUD1PLL_98M>, 509*724ba675SRob Herring <&topckgen CLK_TOP_AUD2PLL_90M>; 510*724ba675SRob Herring assigned-clock-rates = <0>, <0>, <49152000>, <45158400>; 511*724ba675SRob Herring }; 512*724ba675SRob Herring }; 513*724ba675SRob Herring 514*724ba675SRob Herring mmsys: syscon@14000000 { 515*724ba675SRob Herring compatible = "mediatek,mt2701-mmsys", "syscon"; 516*724ba675SRob Herring reg = <0 0x14000000 0 0x1000>; 517*724ba675SRob Herring #clock-cells = <1>; 518*724ba675SRob Herring }; 519*724ba675SRob Herring 520*724ba675SRob Herring bls: pwm@1400a000 { 521*724ba675SRob Herring compatible = "mediatek,mt2701-disp-pwm"; 522*724ba675SRob Herring reg = <0 0x1400a000 0 0x1000>; 523*724ba675SRob Herring #pwm-cells = <2>; 524*724ba675SRob Herring clocks = <&mmsys CLK_MM_MDP_BLS_26M>, <&mmsys CLK_MM_DISP_BLS>; 525*724ba675SRob Herring clock-names = "main", "mm"; 526*724ba675SRob Herring status = "disabled"; 527*724ba675SRob Herring }; 528*724ba675SRob Herring 529*724ba675SRob Herring larb0: larb@14010000 { 530*724ba675SRob Herring compatible = "mediatek,mt2701-smi-larb"; 531*724ba675SRob Herring reg = <0 0x14010000 0 0x1000>; 532*724ba675SRob Herring mediatek,smi = <&smi_common>; 533*724ba675SRob Herring mediatek,larb-id = <0>; 534*724ba675SRob Herring clocks = <&mmsys CLK_MM_SMI_LARB0>, 535*724ba675SRob Herring <&mmsys CLK_MM_SMI_LARB0>; 536*724ba675SRob Herring clock-names = "apb", "smi"; 537*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 538*724ba675SRob Herring }; 539*724ba675SRob Herring 540*724ba675SRob Herring imgsys: syscon@15000000 { 541*724ba675SRob Herring compatible = "mediatek,mt2701-imgsys", "syscon"; 542*724ba675SRob Herring reg = <0 0x15000000 0 0x1000>; 543*724ba675SRob Herring #clock-cells = <1>; 544*724ba675SRob Herring }; 545*724ba675SRob Herring 546*724ba675SRob Herring larb2: larb@15001000 { 547*724ba675SRob Herring compatible = "mediatek,mt2701-smi-larb"; 548*724ba675SRob Herring reg = <0 0x15001000 0 0x1000>; 549*724ba675SRob Herring mediatek,smi = <&smi_common>; 550*724ba675SRob Herring mediatek,larb-id = <2>; 551*724ba675SRob Herring clocks = <&imgsys CLK_IMG_SMI_COMM>, 552*724ba675SRob Herring <&imgsys CLK_IMG_SMI_COMM>; 553*724ba675SRob Herring clock-names = "apb", "smi"; 554*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 555*724ba675SRob Herring }; 556*724ba675SRob Herring 557*724ba675SRob Herring jpegdec: jpegdec@15004000 { 558*724ba675SRob Herring compatible = "mediatek,mt2701-jpgdec"; 559*724ba675SRob Herring reg = <0 0x15004000 0 0x1000>; 560*724ba675SRob Herring interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_LOW>; 561*724ba675SRob Herring clocks = <&imgsys CLK_IMG_JPGDEC_SMI>, 562*724ba675SRob Herring <&imgsys CLK_IMG_JPGDEC>; 563*724ba675SRob Herring clock-names = "jpgdec-smi", 564*724ba675SRob Herring "jpgdec"; 565*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 566*724ba675SRob Herring iommus = <&iommu MT2701_M4U_PORT_JPGDEC_WDMA>, 567*724ba675SRob Herring <&iommu MT2701_M4U_PORT_JPGDEC_BSDMA>; 568*724ba675SRob Herring }; 569*724ba675SRob Herring 570*724ba675SRob Herring jpegenc: jpegenc@1500a000 { 571*724ba675SRob Herring compatible = "mediatek,mt2701-jpgenc", 572*724ba675SRob Herring "mediatek,mtk-jpgenc"; 573*724ba675SRob Herring reg = <0 0x1500a000 0 0x1000>; 574*724ba675SRob Herring interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_LOW>; 575*724ba675SRob Herring clocks = <&imgsys CLK_IMG_VENC>; 576*724ba675SRob Herring clock-names = "jpgenc"; 577*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 578*724ba675SRob Herring iommus = <&iommu MT2701_M4U_PORT_JPGENC_RDMA>, 579*724ba675SRob Herring <&iommu MT2701_M4U_PORT_JPGENC_BSDMA>; 580*724ba675SRob Herring }; 581*724ba675SRob Herring 582*724ba675SRob Herring vdecsys: syscon@16000000 { 583*724ba675SRob Herring compatible = "mediatek,mt2701-vdecsys", "syscon"; 584*724ba675SRob Herring reg = <0 0x16000000 0 0x1000>; 585*724ba675SRob Herring #clock-cells = <1>; 586*724ba675SRob Herring }; 587*724ba675SRob Herring 588*724ba675SRob Herring larb1: larb@16010000 { 589*724ba675SRob Herring compatible = "mediatek,mt2701-smi-larb"; 590*724ba675SRob Herring reg = <0 0x16010000 0 0x1000>; 591*724ba675SRob Herring mediatek,smi = <&smi_common>; 592*724ba675SRob Herring mediatek,larb-id = <1>; 593*724ba675SRob Herring clocks = <&vdecsys CLK_VDEC_CKGEN>, 594*724ba675SRob Herring <&vdecsys CLK_VDEC_LARB>; 595*724ba675SRob Herring clock-names = "apb", "smi"; 596*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; 597*724ba675SRob Herring }; 598*724ba675SRob Herring 599*724ba675SRob Herring hifsys: syscon@1a000000 { 600*724ba675SRob Herring compatible = "mediatek,mt2701-hifsys", "syscon"; 601*724ba675SRob Herring reg = <0 0x1a000000 0 0x1000>; 602*724ba675SRob Herring #clock-cells = <1>; 603*724ba675SRob Herring #reset-cells = <1>; 604*724ba675SRob Herring }; 605*724ba675SRob Herring 606*724ba675SRob Herring usb0: usb@1a1c0000 { 607*724ba675SRob Herring compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci"; 608*724ba675SRob Herring reg = <0 0x1a1c0000 0 0x1000>, 609*724ba675SRob Herring <0 0x1a1c4700 0 0x0100>; 610*724ba675SRob Herring reg-names = "mac", "ippc"; 611*724ba675SRob Herring interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_LOW>; 612*724ba675SRob Herring clocks = <&hifsys CLK_HIFSYS_USB0PHY>, 613*724ba675SRob Herring <&topckgen CLK_TOP_ETHIF_SEL>; 614*724ba675SRob Herring clock-names = "sys_ck", "ref_ck"; 615*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 616*724ba675SRob Herring phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>; 617*724ba675SRob Herring status = "disabled"; 618*724ba675SRob Herring }; 619*724ba675SRob Herring 620*724ba675SRob Herring u3phy0: t-phy@1a1c4000 { 621*724ba675SRob Herring compatible = "mediatek,mt2701-tphy", 622*724ba675SRob Herring "mediatek,generic-tphy-v1"; 623*724ba675SRob Herring reg = <0 0x1a1c4000 0 0x0700>; 624*724ba675SRob Herring #address-cells = <2>; 625*724ba675SRob Herring #size-cells = <2>; 626*724ba675SRob Herring ranges; 627*724ba675SRob Herring status = "disabled"; 628*724ba675SRob Herring 629*724ba675SRob Herring u2port0: usb-phy@1a1c4800 { 630*724ba675SRob Herring reg = <0 0x1a1c4800 0 0x0100>; 631*724ba675SRob Herring clocks = <&topckgen CLK_TOP_USB_PHY48M>; 632*724ba675SRob Herring clock-names = "ref"; 633*724ba675SRob Herring #phy-cells = <1>; 634*724ba675SRob Herring status = "okay"; 635*724ba675SRob Herring }; 636*724ba675SRob Herring 637*724ba675SRob Herring u3port0: usb-phy@1a1c4900 { 638*724ba675SRob Herring reg = <0 0x1a1c4900 0 0x0700>; 639*724ba675SRob Herring clocks = <&clk26m>; 640*724ba675SRob Herring clock-names = "ref"; 641*724ba675SRob Herring #phy-cells = <1>; 642*724ba675SRob Herring status = "okay"; 643*724ba675SRob Herring }; 644*724ba675SRob Herring }; 645*724ba675SRob Herring 646*724ba675SRob Herring usb1: usb@1a240000 { 647*724ba675SRob Herring compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci"; 648*724ba675SRob Herring reg = <0 0x1a240000 0 0x1000>, 649*724ba675SRob Herring <0 0x1a244700 0 0x0100>; 650*724ba675SRob Herring reg-names = "mac", "ippc"; 651*724ba675SRob Herring interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_LOW>; 652*724ba675SRob Herring clocks = <&hifsys CLK_HIFSYS_USB1PHY>, 653*724ba675SRob Herring <&topckgen CLK_TOP_ETHIF_SEL>; 654*724ba675SRob Herring clock-names = "sys_ck", "ref_ck"; 655*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 656*724ba675SRob Herring phys = <&u2port1 PHY_TYPE_USB2>, <&u3port1 PHY_TYPE_USB3>; 657*724ba675SRob Herring status = "disabled"; 658*724ba675SRob Herring }; 659*724ba675SRob Herring 660*724ba675SRob Herring u3phy1: t-phy@1a244000 { 661*724ba675SRob Herring compatible = "mediatek,mt2701-tphy", 662*724ba675SRob Herring "mediatek,generic-tphy-v1"; 663*724ba675SRob Herring reg = <0 0x1a244000 0 0x0700>; 664*724ba675SRob Herring #address-cells = <2>; 665*724ba675SRob Herring #size-cells = <2>; 666*724ba675SRob Herring ranges; 667*724ba675SRob Herring status = "disabled"; 668*724ba675SRob Herring 669*724ba675SRob Herring u2port1: usb-phy@1a244800 { 670*724ba675SRob Herring reg = <0 0x1a244800 0 0x0100>; 671*724ba675SRob Herring clocks = <&topckgen CLK_TOP_USB_PHY48M>; 672*724ba675SRob Herring clock-names = "ref"; 673*724ba675SRob Herring #phy-cells = <1>; 674*724ba675SRob Herring status = "okay"; 675*724ba675SRob Herring }; 676*724ba675SRob Herring 677*724ba675SRob Herring u3port1: usb-phy@1a244900 { 678*724ba675SRob Herring reg = <0 0x1a244900 0 0x0700>; 679*724ba675SRob Herring clocks = <&clk26m>; 680*724ba675SRob Herring clock-names = "ref"; 681*724ba675SRob Herring #phy-cells = <1>; 682*724ba675SRob Herring status = "okay"; 683*724ba675SRob Herring }; 684*724ba675SRob Herring }; 685*724ba675SRob Herring 686*724ba675SRob Herring usb2: usb@11200000 { 687*724ba675SRob Herring compatible = "mediatek,mt2701-musb", 688*724ba675SRob Herring "mediatek,mtk-musb"; 689*724ba675SRob Herring reg = <0 0x11200000 0 0x1000>; 690*724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>; 691*724ba675SRob Herring interrupt-names = "mc"; 692*724ba675SRob Herring phys = <&u2port2 PHY_TYPE_USB2>; 693*724ba675SRob Herring dr_mode = "otg"; 694*724ba675SRob Herring clocks = <&pericfg CLK_PERI_USB0>, 695*724ba675SRob Herring <&pericfg CLK_PERI_USB0_MCU>, 696*724ba675SRob Herring <&pericfg CLK_PERI_USB_SLV>; 697*724ba675SRob Herring clock-names = "main","mcu","univpll"; 698*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 699*724ba675SRob Herring status = "disabled"; 700*724ba675SRob Herring }; 701*724ba675SRob Herring 702*724ba675SRob Herring u2phy0: t-phy@11210000 { 703*724ba675SRob Herring compatible = "mediatek,mt2701-tphy", 704*724ba675SRob Herring "mediatek,generic-tphy-v1"; 705*724ba675SRob Herring reg = <0 0x11210000 0 0x0800>; 706*724ba675SRob Herring #address-cells = <2>; 707*724ba675SRob Herring #size-cells = <2>; 708*724ba675SRob Herring ranges; 709*724ba675SRob Herring status = "okay"; 710*724ba675SRob Herring 711*724ba675SRob Herring u2port2: usb-phy@1a1c4800 { 712*724ba675SRob Herring reg = <0 0x11210800 0 0x0100>; 713*724ba675SRob Herring clocks = <&topckgen CLK_TOP_USB_PHY48M>; 714*724ba675SRob Herring clock-names = "ref"; 715*724ba675SRob Herring #phy-cells = <1>; 716*724ba675SRob Herring status = "okay"; 717*724ba675SRob Herring }; 718*724ba675SRob Herring }; 719*724ba675SRob Herring 720*724ba675SRob Herring ethsys: syscon@1b000000 { 721*724ba675SRob Herring compatible = "mediatek,mt2701-ethsys", "syscon"; 722*724ba675SRob Herring reg = <0 0x1b000000 0 0x1000>; 723*724ba675SRob Herring #clock-cells = <1>; 724*724ba675SRob Herring #reset-cells = <1>; 725*724ba675SRob Herring }; 726*724ba675SRob Herring 727*724ba675SRob Herring eth: ethernet@1b100000 { 728*724ba675SRob Herring compatible = "mediatek,mt2701-eth", "syscon"; 729*724ba675SRob Herring reg = <0 0x1b100000 0 0x20000>; 730*724ba675SRob Herring interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW>, 731*724ba675SRob Herring <GIC_SPI 199 IRQ_TYPE_LEVEL_LOW>, 732*724ba675SRob Herring <GIC_SPI 198 IRQ_TYPE_LEVEL_LOW>; 733*724ba675SRob Herring clocks = <&topckgen CLK_TOP_ETHIF_SEL>, 734*724ba675SRob Herring <ðsys CLK_ETHSYS_ESW>, 735*724ba675SRob Herring <ðsys CLK_ETHSYS_GP1>, 736*724ba675SRob Herring <ðsys CLK_ETHSYS_GP2>, 737*724ba675SRob Herring <&apmixedsys CLK_APMIXED_TRGPLL>; 738*724ba675SRob Herring clock-names = "ethif", "esw", "gp1", "gp2", "trgpll"; 739*724ba675SRob Herring resets = <ðsys MT2701_ETHSYS_FE_RST>, 740*724ba675SRob Herring <ðsys MT2701_ETHSYS_GMAC_RST>, 741*724ba675SRob Herring <ðsys MT2701_ETHSYS_PPE_RST>; 742*724ba675SRob Herring reset-names = "fe", "gmac", "ppe"; 743*724ba675SRob Herring power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; 744*724ba675SRob Herring mediatek,ethsys = <ðsys>; 745*724ba675SRob Herring mediatek,pctl = <&syscfg_pctl_a>; 746*724ba675SRob Herring #address-cells = <1>; 747*724ba675SRob Herring #size-cells = <0>; 748*724ba675SRob Herring status = "disabled"; 749*724ba675SRob Herring }; 750*724ba675SRob Herring 751*724ba675SRob Herring bdpsys: syscon@1c000000 { 752*724ba675SRob Herring compatible = "mediatek,mt2701-bdpsys", "syscon"; 753*724ba675SRob Herring reg = <0 0x1c000000 0 0x1000>; 754*724ba675SRob Herring #clock-cells = <1>; 755*724ba675SRob Herring }; 756*724ba675SRob Herring}; 757