1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2019 MediaTek Inc. 4*724ba675SRob Herring * 5*724ba675SRob Herring * Author: Ryder Lee <ryder.lee@mediatek.com> 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 10*724ba675SRob Herring#include <dt-bindings/clock/mt7629-clk.h> 11*724ba675SRob Herring#include <dt-bindings/power/mt7622-power.h> 12*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 13*724ba675SRob Herring#include <dt-bindings/phy/phy.h> 14*724ba675SRob Herring#include <dt-bindings/reset/mt7629-resets.h> 15*724ba675SRob Herring 16*724ba675SRob Herring/ { 17*724ba675SRob Herring compatible = "mediatek,mt7629"; 18*724ba675SRob Herring interrupt-parent = <&sysirq>; 19*724ba675SRob Herring #address-cells = <1>; 20*724ba675SRob Herring #size-cells = <1>; 21*724ba675SRob Herring 22*724ba675SRob Herring cpus { 23*724ba675SRob Herring #address-cells = <1>; 24*724ba675SRob Herring #size-cells = <0>; 25*724ba675SRob Herring enable-method = "mediatek,mt6589-smp"; 26*724ba675SRob Herring 27*724ba675SRob Herring cpu0: cpu@0 { 28*724ba675SRob Herring device_type = "cpu"; 29*724ba675SRob Herring compatible = "arm,cortex-a7"; 30*724ba675SRob Herring reg = <0x0>; 31*724ba675SRob Herring clock-frequency = <1250000000>; 32*724ba675SRob Herring cci-control-port = <&cci_control2>; 33*724ba675SRob Herring }; 34*724ba675SRob Herring 35*724ba675SRob Herring cpu1: cpu@1 { 36*724ba675SRob Herring device_type = "cpu"; 37*724ba675SRob Herring compatible = "arm,cortex-a7"; 38*724ba675SRob Herring reg = <0x1>; 39*724ba675SRob Herring clock-frequency = <1250000000>; 40*724ba675SRob Herring cci-control-port = <&cci_control2>; 41*724ba675SRob Herring }; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring pmu { 45*724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 46*724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_LOW>, 47*724ba675SRob Herring <GIC_SPI 9 IRQ_TYPE_LEVEL_LOW>; 48*724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring clk20m: oscillator-0 { 52*724ba675SRob Herring compatible = "fixed-clock"; 53*724ba675SRob Herring #clock-cells = <0>; 54*724ba675SRob Herring clock-frequency = <20000000>; 55*724ba675SRob Herring clock-output-names = "clk20m"; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring clk40m: oscillator-1 { 59*724ba675SRob Herring compatible = "fixed-clock"; 60*724ba675SRob Herring #clock-cells = <0>; 61*724ba675SRob Herring clock-frequency = <40000000>; 62*724ba675SRob Herring clock-output-names = "clkxtal"; 63*724ba675SRob Herring }; 64*724ba675SRob Herring 65*724ba675SRob Herring timer { 66*724ba675SRob Herring compatible = "arm,armv7-timer"; 67*724ba675SRob Herring interrupt-parent = <&gic>; 68*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 69*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 70*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 71*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 72*724ba675SRob Herring clock-frequency = <20000000>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring 75*724ba675SRob Herring soc { 76*724ba675SRob Herring compatible = "simple-bus"; 77*724ba675SRob Herring #address-cells = <1>; 78*724ba675SRob Herring #size-cells = <1>; 79*724ba675SRob Herring ranges; 80*724ba675SRob Herring 81*724ba675SRob Herring infracfg: syscon@10000000 { 82*724ba675SRob Herring compatible = "mediatek,mt7629-infracfg", "syscon"; 83*724ba675SRob Herring reg = <0x10000000 0x1000>; 84*724ba675SRob Herring #clock-cells = <1>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring 87*724ba675SRob Herring pericfg: syscon@10002000 { 88*724ba675SRob Herring compatible = "mediatek,mt7629-pericfg", "syscon"; 89*724ba675SRob Herring reg = <0x10002000 0x1000>; 90*724ba675SRob Herring #clock-cells = <1>; 91*724ba675SRob Herring }; 92*724ba675SRob Herring 93*724ba675SRob Herring scpsys: power-controller@10006000 { 94*724ba675SRob Herring compatible = "mediatek,mt7629-scpsys", 95*724ba675SRob Herring "mediatek,mt7622-scpsys"; 96*724ba675SRob Herring #power-domain-cells = <1>; 97*724ba675SRob Herring reg = <0x10006000 0x1000>; 98*724ba675SRob Herring clocks = <&topckgen CLK_TOP_HIF_SEL>; 99*724ba675SRob Herring clock-names = "hif_sel"; 100*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_HIF_SEL>; 101*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL1_D2>; 102*724ba675SRob Herring infracfg = <&infracfg>; 103*724ba675SRob Herring }; 104*724ba675SRob Herring 105*724ba675SRob Herring timer: timer@10009000 { 106*724ba675SRob Herring compatible = "mediatek,mt7629-timer", 107*724ba675SRob Herring "mediatek,mt6765-timer"; 108*724ba675SRob Herring reg = <0x10009000 0x60>; 109*724ba675SRob Herring interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; 110*724ba675SRob Herring clocks = <&clk20m>; 111*724ba675SRob Herring clock-names = "clk20m"; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring sysirq: interrupt-controller@10200a80 { 115*724ba675SRob Herring compatible = "mediatek,mt7629-sysirq", 116*724ba675SRob Herring "mediatek,mt6577-sysirq"; 117*724ba675SRob Herring reg = <0x10200a80 0x20>; 118*724ba675SRob Herring interrupt-controller; 119*724ba675SRob Herring #interrupt-cells = <3>; 120*724ba675SRob Herring interrupt-parent = <&gic>; 121*724ba675SRob Herring }; 122*724ba675SRob Herring 123*724ba675SRob Herring apmixedsys: syscon@10209000 { 124*724ba675SRob Herring compatible = "mediatek,mt7629-apmixedsys", "syscon"; 125*724ba675SRob Herring reg = <0x10209000 0x1000>; 126*724ba675SRob Herring #clock-cells = <1>; 127*724ba675SRob Herring }; 128*724ba675SRob Herring 129*724ba675SRob Herring rng: rng@1020f000 { 130*724ba675SRob Herring compatible = "mediatek,mt7629-rng", 131*724ba675SRob Herring "mediatek,mt7623-rng"; 132*724ba675SRob Herring reg = <0x1020f000 0x100>; 133*724ba675SRob Herring clocks = <&infracfg CLK_INFRA_TRNG_PD>; 134*724ba675SRob Herring clock-names = "rng"; 135*724ba675SRob Herring }; 136*724ba675SRob Herring 137*724ba675SRob Herring topckgen: syscon@10210000 { 138*724ba675SRob Herring compatible = "mediatek,mt7629-topckgen", "syscon"; 139*724ba675SRob Herring reg = <0x10210000 0x1000>; 140*724ba675SRob Herring #clock-cells = <1>; 141*724ba675SRob Herring }; 142*724ba675SRob Herring 143*724ba675SRob Herring watchdog: watchdog@10212000 { 144*724ba675SRob Herring compatible = "mediatek,mt7629-wdt", 145*724ba675SRob Herring "mediatek,mt6589-wdt"; 146*724ba675SRob Herring reg = <0x10212000 0x100>; 147*724ba675SRob Herring }; 148*724ba675SRob Herring 149*724ba675SRob Herring pio: pinctrl@10217000 { 150*724ba675SRob Herring compatible = "mediatek,mt7629-pinctrl"; 151*724ba675SRob Herring reg = <0x10217000 0x8000>, 152*724ba675SRob Herring <0x10005000 0x1000>; 153*724ba675SRob Herring reg-names = "base", "eint"; 154*724ba675SRob Herring gpio-controller; 155*724ba675SRob Herring gpio-ranges = <&pio 0 0 79>; 156*724ba675SRob Herring #gpio-cells = <2>; 157*724ba675SRob Herring #interrupt-cells = <2>; 158*724ba675SRob Herring interrupt-controller; 159*724ba675SRob Herring interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 160*724ba675SRob Herring interrupt-parent = <&gic>; 161*724ba675SRob Herring }; 162*724ba675SRob Herring 163*724ba675SRob Herring gic: interrupt-controller@10300000 { 164*724ba675SRob Herring compatible = "arm,gic-400"; 165*724ba675SRob Herring interrupt-controller; 166*724ba675SRob Herring #interrupt-cells = <3>; 167*724ba675SRob Herring interrupt-parent = <&gic>; 168*724ba675SRob Herring reg = <0x10310000 0x1000>, 169*724ba675SRob Herring <0x10320000 0x1000>, 170*724ba675SRob Herring <0x10340000 0x2000>, 171*724ba675SRob Herring <0x10360000 0x2000>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring cci: cci@10390000 { 175*724ba675SRob Herring compatible = "arm,cci-400"; 176*724ba675SRob Herring #address-cells = <1>; 177*724ba675SRob Herring #size-cells = <1>; 178*724ba675SRob Herring reg = <0x10390000 0x1000>; 179*724ba675SRob Herring ranges = <0 0x10390000 0x10000>; 180*724ba675SRob Herring 181*724ba675SRob Herring cci_control0: slave-if@1000 { 182*724ba675SRob Herring compatible = "arm,cci-400-ctrl-if"; 183*724ba675SRob Herring interface-type = "ace-lite"; 184*724ba675SRob Herring reg = <0x1000 0x1000>; 185*724ba675SRob Herring }; 186*724ba675SRob Herring 187*724ba675SRob Herring cci_control1: slave-if@4000 { 188*724ba675SRob Herring compatible = "arm,cci-400-ctrl-if"; 189*724ba675SRob Herring interface-type = "ace"; 190*724ba675SRob Herring reg = <0x4000 0x1000>; 191*724ba675SRob Herring }; 192*724ba675SRob Herring 193*724ba675SRob Herring cci_control2: slave-if@5000 { 194*724ba675SRob Herring compatible = "arm,cci-400-ctrl-if"; 195*724ba675SRob Herring interface-type = "ace"; 196*724ba675SRob Herring reg = <0x5000 0x1000>; 197*724ba675SRob Herring }; 198*724ba675SRob Herring 199*724ba675SRob Herring pmu@9000 { 200*724ba675SRob Herring compatible = "arm,cci-400-pmu,r1"; 201*724ba675SRob Herring reg = <0x9000 0x5000>; 202*724ba675SRob Herring interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 203*724ba675SRob Herring <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 204*724ba675SRob Herring <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 205*724ba675SRob Herring <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 206*724ba675SRob Herring <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 207*724ba675SRob Herring }; 208*724ba675SRob Herring }; 209*724ba675SRob Herring 210*724ba675SRob Herring uart0: serial@11002000 { 211*724ba675SRob Herring compatible = "mediatek,mt7629-uart", 212*724ba675SRob Herring "mediatek,mt6577-uart"; 213*724ba675SRob Herring reg = <0x11002000 0x400>; 214*724ba675SRob Herring interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>; 215*724ba675SRob Herring clocks = <&topckgen CLK_TOP_UART_SEL>, 216*724ba675SRob Herring <&pericfg CLK_PERI_UART0_PD>; 217*724ba675SRob Herring clock-names = "baud", "bus"; 218*724ba675SRob Herring status = "disabled"; 219*724ba675SRob Herring }; 220*724ba675SRob Herring 221*724ba675SRob Herring uart1: serial@11003000 { 222*724ba675SRob Herring compatible = "mediatek,mt7629-uart", 223*724ba675SRob Herring "mediatek,mt6577-uart"; 224*724ba675SRob Herring reg = <0x11003000 0x400>; 225*724ba675SRob Herring interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>; 226*724ba675SRob Herring clocks = <&topckgen CLK_TOP_UART_SEL>, 227*724ba675SRob Herring <&pericfg CLK_PERI_UART1_PD>; 228*724ba675SRob Herring clock-names = "baud", "bus"; 229*724ba675SRob Herring status = "disabled"; 230*724ba675SRob Herring }; 231*724ba675SRob Herring 232*724ba675SRob Herring uart2: serial@11004000 { 233*724ba675SRob Herring compatible = "mediatek,mt7629-uart", 234*724ba675SRob Herring "mediatek,mt6577-uart"; 235*724ba675SRob Herring reg = <0x11004000 0x400>; 236*724ba675SRob Herring interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>; 237*724ba675SRob Herring clocks = <&topckgen CLK_TOP_UART_SEL>, 238*724ba675SRob Herring <&pericfg CLK_PERI_UART2_PD>; 239*724ba675SRob Herring clock-names = "baud", "bus"; 240*724ba675SRob Herring status = "disabled"; 241*724ba675SRob Herring }; 242*724ba675SRob Herring 243*724ba675SRob Herring pwm: pwm@11006000 { 244*724ba675SRob Herring compatible = "mediatek,mt7629-pwm"; 245*724ba675SRob Herring reg = <0x11006000 0x1000>; 246*724ba675SRob Herring #pwm-cells = <2>; 247*724ba675SRob Herring clocks = <&topckgen CLK_TOP_PWM_SEL>, 248*724ba675SRob Herring <&pericfg CLK_PERI_PWM_PD>, 249*724ba675SRob Herring <&pericfg CLK_PERI_PWM1_PD>; 250*724ba675SRob Herring clock-names = "top", "main", "pwm1"; 251*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_PWM_SEL>; 252*724ba675SRob Herring assigned-clock-parents = 253*724ba675SRob Herring <&topckgen CLK_TOP_UNIVPLL2_D4>; 254*724ba675SRob Herring status = "disabled"; 255*724ba675SRob Herring }; 256*724ba675SRob Herring 257*724ba675SRob Herring i2c: i2c@11007000 { 258*724ba675SRob Herring compatible = "mediatek,mt7629-i2c", 259*724ba675SRob Herring "mediatek,mt2712-i2c"; 260*724ba675SRob Herring reg = <0x11007000 0x90>, 261*724ba675SRob Herring <0x11000100 0x80>; 262*724ba675SRob Herring interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; 263*724ba675SRob Herring clock-div = <4>; 264*724ba675SRob Herring clocks = <&pericfg CLK_PERI_I2C0_PD>, 265*724ba675SRob Herring <&pericfg CLK_PERI_AP_DMA_PD>; 266*724ba675SRob Herring clock-names = "main", "dma"; 267*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_AXI_SEL>; 268*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_SYSPLL1_D2>; 269*724ba675SRob Herring #address-cells = <1>; 270*724ba675SRob Herring #size-cells = <0>; 271*724ba675SRob Herring status = "disabled"; 272*724ba675SRob Herring }; 273*724ba675SRob Herring 274*724ba675SRob Herring spi: spi@1100a000 { 275*724ba675SRob Herring compatible = "mediatek,mt7629-spi", 276*724ba675SRob Herring "mediatek,mt7622-spi"; 277*724ba675SRob Herring #address-cells = <1>; 278*724ba675SRob Herring #size-cells = <0>; 279*724ba675SRob Herring reg = <0x1100a000 0x100>; 280*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_LOW>; 281*724ba675SRob Herring clocks = <&topckgen CLK_TOP_SYSPLL3_D2>, 282*724ba675SRob Herring <&topckgen CLK_TOP_SPI0_SEL>, 283*724ba675SRob Herring <&pericfg CLK_PERI_SPI0_PD>; 284*724ba675SRob Herring clock-names = "parent-clk", "sel-clk", "spi-clk"; 285*724ba675SRob Herring status = "disabled"; 286*724ba675SRob Herring }; 287*724ba675SRob Herring 288*724ba675SRob Herring qspi: spi@11014000 { 289*724ba675SRob Herring compatible = "mediatek,mt7629-nor", 290*724ba675SRob Herring "mediatek,mt8173-nor"; 291*724ba675SRob Herring reg = <0x11014000 0xe0>; 292*724ba675SRob Herring clocks = <&pericfg CLK_PERI_FLASH_PD>, 293*724ba675SRob Herring <&topckgen CLK_TOP_FLASH_SEL>; 294*724ba675SRob Herring clock-names = "spi", "sf"; 295*724ba675SRob Herring #address-cells = <1>; 296*724ba675SRob Herring #size-cells = <0>; 297*724ba675SRob Herring status = "disabled"; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring ssusbsys: syscon@1a000000 { 301*724ba675SRob Herring compatible = "mediatek,mt7629-ssusbsys", "syscon"; 302*724ba675SRob Herring reg = <0x1a000000 0x1000>; 303*724ba675SRob Herring #clock-cells = <1>; 304*724ba675SRob Herring #reset-cells = <1>; 305*724ba675SRob Herring }; 306*724ba675SRob Herring 307*724ba675SRob Herring ssusb: usb@1a0c0000 { 308*724ba675SRob Herring compatible = "mediatek,mt7629-xhci", 309*724ba675SRob Herring "mediatek,mtk-xhci"; 310*724ba675SRob Herring reg = <0x1a0c0000 0x01000>, 311*724ba675SRob Herring <0x1a0c3e00 0x0100>; 312*724ba675SRob Herring reg-names = "mac", "ippc"; 313*724ba675SRob Herring interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>; 314*724ba675SRob Herring clocks = <&ssusbsys CLK_SSUSB_SYS_EN>, 315*724ba675SRob Herring <&ssusbsys CLK_SSUSB_REF_EN>, 316*724ba675SRob Herring <&ssusbsys CLK_SSUSB_MCU_EN>, 317*724ba675SRob Herring <&ssusbsys CLK_SSUSB_DMA_EN>; 318*724ba675SRob Herring clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck"; 319*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_AXI_SEL>, 320*724ba675SRob Herring <&topckgen CLK_TOP_SATA_SEL>, 321*724ba675SRob Herring <&topckgen CLK_TOP_HIF_SEL>; 322*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_SYSPLL1_D2>, 323*724ba675SRob Herring <&topckgen CLK_TOP_UNIVPLL2_D4>, 324*724ba675SRob Herring <&topckgen CLK_TOP_UNIVPLL1_D2>; 325*724ba675SRob Herring power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>; 326*724ba675SRob Herring phys = <&u2port0 PHY_TYPE_USB2>, 327*724ba675SRob Herring <&u3port0 PHY_TYPE_USB3>; 328*724ba675SRob Herring status = "disabled"; 329*724ba675SRob Herring }; 330*724ba675SRob Herring 331*724ba675SRob Herring u3phy0: t-phy@1a0c4000 { 332*724ba675SRob Herring compatible = "mediatek,mt7629-tphy", 333*724ba675SRob Herring "mediatek,generic-tphy-v2"; 334*724ba675SRob Herring #address-cells = <1>; 335*724ba675SRob Herring #size-cells = <1>; 336*724ba675SRob Herring ranges = <0 0x1a0c4000 0xe00>; 337*724ba675SRob Herring status = "disabled"; 338*724ba675SRob Herring 339*724ba675SRob Herring u2port0: usb-phy@0 { 340*724ba675SRob Herring reg = <0 0x700>; 341*724ba675SRob Herring clocks = <&ssusbsys CLK_SSUSB_U2_PHY_EN>; 342*724ba675SRob Herring clock-names = "ref"; 343*724ba675SRob Herring #phy-cells = <1>; 344*724ba675SRob Herring status = "okay"; 345*724ba675SRob Herring }; 346*724ba675SRob Herring 347*724ba675SRob Herring u3port0: usb-phy@700 { 348*724ba675SRob Herring reg = <0x700 0x700>; 349*724ba675SRob Herring clocks = <&clk20m>; 350*724ba675SRob Herring clock-names = "ref"; 351*724ba675SRob Herring #phy-cells = <1>; 352*724ba675SRob Herring status = "okay"; 353*724ba675SRob Herring }; 354*724ba675SRob Herring }; 355*724ba675SRob Herring 356*724ba675SRob Herring pciesys: syscon@1a100800 { 357*724ba675SRob Herring compatible = "mediatek,mt7629-pciesys", "syscon"; 358*724ba675SRob Herring reg = <0x1a100800 0x1000>; 359*724ba675SRob Herring #clock-cells = <1>; 360*724ba675SRob Herring #reset-cells = <1>; 361*724ba675SRob Herring }; 362*724ba675SRob Herring 363*724ba675SRob Herring pciecfg: pciecfg@1a140000 { 364*724ba675SRob Herring compatible = "mediatek,generic-pciecfg", "syscon"; 365*724ba675SRob Herring reg = <0x1a140000 0x1000>; 366*724ba675SRob Herring }; 367*724ba675SRob Herring 368*724ba675SRob Herring pcie1: pcie@1a145000 { 369*724ba675SRob Herring compatible = "mediatek,mt7629-pcie"; 370*724ba675SRob Herring device_type = "pci"; 371*724ba675SRob Herring reg = <0x1a145000 0x1000>; 372*724ba675SRob Herring reg-names = "port1"; 373*724ba675SRob Herring linux,pci-domain = <1>; 374*724ba675SRob Herring #address-cells = <3>; 375*724ba675SRob Herring #size-cells = <2>; 376*724ba675SRob Herring interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>; 377*724ba675SRob Herring interrupt-names = "pcie_irq"; 378*724ba675SRob Herring clocks = <&pciesys CLK_PCIE_P1_MAC_EN>, 379*724ba675SRob Herring <&pciesys CLK_PCIE_P0_AHB_EN>, 380*724ba675SRob Herring <&pciesys CLK_PCIE_P1_AUX_EN>, 381*724ba675SRob Herring <&pciesys CLK_PCIE_P1_AXI_EN>, 382*724ba675SRob Herring <&pciesys CLK_PCIE_P1_OBFF_EN>, 383*724ba675SRob Herring <&pciesys CLK_PCIE_P1_PIPE_EN>; 384*724ba675SRob Herring clock-names = "sys_ck1", "ahb_ck1", 385*724ba675SRob Herring "aux_ck1", "axi_ck1", 386*724ba675SRob Herring "obff_ck1", "pipe_ck1"; 387*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_SATA_SEL>, 388*724ba675SRob Herring <&topckgen CLK_TOP_AXI_SEL>, 389*724ba675SRob Herring <&topckgen CLK_TOP_HIF_SEL>; 390*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL2_D4>, 391*724ba675SRob Herring <&topckgen CLK_TOP_SYSPLL1_D2>, 392*724ba675SRob Herring <&topckgen CLK_TOP_UNIVPLL1_D2>; 393*724ba675SRob Herring phys = <&pcieport1 PHY_TYPE_PCIE>; 394*724ba675SRob Herring phy-names = "pcie-phy1"; 395*724ba675SRob Herring power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 396*724ba675SRob Herring bus-range = <0x00 0xff>; 397*724ba675SRob Herring ranges = <0x82000000 0 0x20000000 0x20000000 0 0x10000000>; 398*724ba675SRob Herring status = "disabled"; 399*724ba675SRob Herring 400*724ba675SRob Herring #interrupt-cells = <1>; 401*724ba675SRob Herring interrupt-map-mask = <0 0 0 7>; 402*724ba675SRob Herring interrupt-map = <0 0 0 1 &pcie_intc1 0>, 403*724ba675SRob Herring <0 0 0 2 &pcie_intc1 1>, 404*724ba675SRob Herring <0 0 0 3 &pcie_intc1 2>, 405*724ba675SRob Herring <0 0 0 4 &pcie_intc1 3>; 406*724ba675SRob Herring pcie_intc1: interrupt-controller { 407*724ba675SRob Herring interrupt-controller; 408*724ba675SRob Herring #address-cells = <0>; 409*724ba675SRob Herring #interrupt-cells = <1>; 410*724ba675SRob Herring }; 411*724ba675SRob Herring }; 412*724ba675SRob Herring 413*724ba675SRob Herring pciephy1: t-phy@1a14a000 { 414*724ba675SRob Herring compatible = "mediatek,mt7629-tphy", 415*724ba675SRob Herring "mediatek,generic-tphy-v2"; 416*724ba675SRob Herring #address-cells = <1>; 417*724ba675SRob Herring #size-cells = <1>; 418*724ba675SRob Herring ranges = <0 0x1a14a000 0x1000>; 419*724ba675SRob Herring status = "disabled"; 420*724ba675SRob Herring 421*724ba675SRob Herring pcieport1: pcie-phy@0 { 422*724ba675SRob Herring reg = <0 0x1000>; 423*724ba675SRob Herring clocks = <&clk20m>; 424*724ba675SRob Herring clock-names = "ref"; 425*724ba675SRob Herring #phy-cells = <1>; 426*724ba675SRob Herring status = "okay"; 427*724ba675SRob Herring }; 428*724ba675SRob Herring }; 429*724ba675SRob Herring 430*724ba675SRob Herring ethsys: syscon@1b000000 { 431*724ba675SRob Herring compatible = "mediatek,mt7629-ethsys", "syscon"; 432*724ba675SRob Herring reg = <0x1b000000 0x1000>; 433*724ba675SRob Herring #clock-cells = <1>; 434*724ba675SRob Herring #reset-cells = <1>; 435*724ba675SRob Herring }; 436*724ba675SRob Herring 437*724ba675SRob Herring eth: ethernet@1b100000 { 438*724ba675SRob Herring compatible = "mediatek,mt7629-eth","syscon"; 439*724ba675SRob Herring reg = <0x1b100000 0x20000>; 440*724ba675SRob Herring interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_LOW>, 441*724ba675SRob Herring <GIC_SPI 224 IRQ_TYPE_LEVEL_LOW>, 442*724ba675SRob Herring <GIC_SPI 225 IRQ_TYPE_LEVEL_LOW>; 443*724ba675SRob Herring clocks = <&topckgen CLK_TOP_ETH_SEL>, 444*724ba675SRob Herring <&topckgen CLK_TOP_F10M_REF_SEL>, 445*724ba675SRob Herring <ðsys CLK_ETH_ESW_EN>, 446*724ba675SRob Herring <ðsys CLK_ETH_GP0_EN>, 447*724ba675SRob Herring <ðsys CLK_ETH_GP1_EN>, 448*724ba675SRob Herring <ðsys CLK_ETH_GP2_EN>, 449*724ba675SRob Herring <ðsys CLK_ETH_FE_EN>, 450*724ba675SRob Herring <&sgmiisys0 CLK_SGMII_TX_EN>, 451*724ba675SRob Herring <&sgmiisys0 CLK_SGMII_RX_EN>, 452*724ba675SRob Herring <&sgmiisys0 CLK_SGMII_CDR_REF>, 453*724ba675SRob Herring <&sgmiisys0 CLK_SGMII_CDR_FB>, 454*724ba675SRob Herring <&sgmiisys1 CLK_SGMII_TX_EN>, 455*724ba675SRob Herring <&sgmiisys1 CLK_SGMII_RX_EN>, 456*724ba675SRob Herring <&sgmiisys1 CLK_SGMII_CDR_REF>, 457*724ba675SRob Herring <&sgmiisys1 CLK_SGMII_CDR_FB>, 458*724ba675SRob Herring <&apmixedsys CLK_APMIXED_SGMIPLL>, 459*724ba675SRob Herring <&apmixedsys CLK_APMIXED_ETH2PLL>; 460*724ba675SRob Herring clock-names = "ethif", "sgmiitop", "esw", "gp0", "gp1", 461*724ba675SRob Herring "gp2", "fe", "sgmii_tx250m", "sgmii_rx250m", 462*724ba675SRob Herring "sgmii_cdr_ref", "sgmii_cdr_fb", 463*724ba675SRob Herring "sgmii2_tx250m", "sgmii2_rx250m", 464*724ba675SRob Herring "sgmii2_cdr_ref", "sgmii2_cdr_fb", 465*724ba675SRob Herring "sgmii_ck", "eth2pll"; 466*724ba675SRob Herring assigned-clocks = <&topckgen CLK_TOP_ETH_SEL>, 467*724ba675SRob Herring <&topckgen CLK_TOP_F10M_REF_SEL>; 468*724ba675SRob Herring assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL1_D2>, 469*724ba675SRob Herring <&topckgen CLK_TOP_SGMIIPLL_D2>; 470*724ba675SRob Herring power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>; 471*724ba675SRob Herring mediatek,ethsys = <ðsys>; 472*724ba675SRob Herring mediatek,sgmiisys = <&sgmiisys0>, <&sgmiisys1>; 473*724ba675SRob Herring mediatek,infracfg = <&infracfg>; 474*724ba675SRob Herring #address-cells = <1>; 475*724ba675SRob Herring #size-cells = <0>; 476*724ba675SRob Herring status = "disabled"; 477*724ba675SRob Herring }; 478*724ba675SRob Herring 479*724ba675SRob Herring sgmiisys0: syscon@1b128000 { 480*724ba675SRob Herring compatible = "mediatek,mt7629-sgmiisys", "syscon"; 481*724ba675SRob Herring reg = <0x1b128000 0x3000>; 482*724ba675SRob Herring #clock-cells = <1>; 483*724ba675SRob Herring }; 484*724ba675SRob Herring 485*724ba675SRob Herring sgmiisys1: syscon@1b130000 { 486*724ba675SRob Herring compatible = "mediatek,mt7629-sgmiisys", "syscon"; 487*724ba675SRob Herring reg = <0x1b130000 0x3000>; 488*724ba675SRob Herring #clock-cells = <1>; 489*724ba675SRob Herring }; 490*724ba675SRob Herring }; 491*724ba675SRob Herring}; 492