1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot/ { 3*c66ec88fSEmmanuel Vadot #address-cells = <1>; 4*c66ec88fSEmmanuel Vadot #size-cells = <1>; 5*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7125"; 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot cpus { 8*c66ec88fSEmmanuel Vadot #address-cells = <1>; 9*c66ec88fSEmmanuel Vadot #size-cells = <0>; 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot mips-hpt-frequency = <202500000>; 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot cpu@0 { 14*c66ec88fSEmmanuel Vadot compatible = "brcm,bmips4380"; 15*c66ec88fSEmmanuel Vadot device_type = "cpu"; 16*c66ec88fSEmmanuel Vadot reg = <0>; 17*c66ec88fSEmmanuel Vadot }; 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot cpu@1 { 20*c66ec88fSEmmanuel Vadot compatible = "brcm,bmips4380"; 21*c66ec88fSEmmanuel Vadot device_type = "cpu"; 22*c66ec88fSEmmanuel Vadot reg = <1>; 23*c66ec88fSEmmanuel Vadot }; 24*c66ec88fSEmmanuel Vadot }; 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot aliases { 27*c66ec88fSEmmanuel Vadot uart0 = &uart0; 28*c66ec88fSEmmanuel Vadot }; 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel Vadot cpu_intc: interrupt-controller { 31*c66ec88fSEmmanuel Vadot #address-cells = <0>; 32*c66ec88fSEmmanuel Vadot compatible = "mti,cpu-interrupt-controller"; 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot interrupt-controller; 35*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 36*c66ec88fSEmmanuel Vadot }; 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot clocks { 39*c66ec88fSEmmanuel Vadot uart_clk: uart_clk { 40*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 41*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 42*c66ec88fSEmmanuel Vadot clock-frequency = <81000000>; 43*c66ec88fSEmmanuel Vadot }; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot upg_clk: upg_clk { 46*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 47*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 48*c66ec88fSEmmanuel Vadot clock-frequency = <27000000>; 49*c66ec88fSEmmanuel Vadot }; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot rdb { 53*c66ec88fSEmmanuel Vadot #address-cells = <1>; 54*c66ec88fSEmmanuel Vadot #size-cells = <1>; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 57*c66ec88fSEmmanuel Vadot ranges = <0 0x10000000 0x01000000>; 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel Vadot periph_intc: interrupt-controller@441400 { 60*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7038-l1-intc"; 61*c66ec88fSEmmanuel Vadot reg = <0x441400 0x30>, <0x441600 0x30>; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot interrupt-controller; 64*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu_intc>; 67*c66ec88fSEmmanuel Vadot interrupts = <2>, <3>; 68*c66ec88fSEmmanuel Vadot }; 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot sun_l2_intc: interrupt-controller@401800 { 71*c66ec88fSEmmanuel Vadot compatible = "brcm,l2-intc"; 72*c66ec88fSEmmanuel Vadot reg = <0x401800 0x30>; 73*c66ec88fSEmmanuel Vadot interrupt-controller; 74*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 75*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 76*c66ec88fSEmmanuel Vadot interrupts = <23>; 77*c66ec88fSEmmanuel Vadot }; 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot gisb-arb@400000 { 80*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7400-gisb-arb"; 81*c66ec88fSEmmanuel Vadot reg = <0x400000 0xdc>; 82*c66ec88fSEmmanuel Vadot native-endian; 83*c66ec88fSEmmanuel Vadot interrupt-parent = <&sun_l2_intc>; 84*c66ec88fSEmmanuel Vadot interrupts = <0>, <2>; 85*c66ec88fSEmmanuel Vadot brcm,gisb-arb-master-mask = <0x2f7>; 86*c66ec88fSEmmanuel Vadot brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pci_0", 87*c66ec88fSEmmanuel Vadot "bsp_0", "rdc_0", "rptd_0", 88*c66ec88fSEmmanuel Vadot "avd_0", "jtag_0"; 89*c66ec88fSEmmanuel Vadot }; 90*c66ec88fSEmmanuel Vadot 91*c66ec88fSEmmanuel Vadot upg_irq0_intc: interrupt-controller@406780 { 92*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7120-l2-intc"; 93*c66ec88fSEmmanuel Vadot reg = <0x406780 0x8>; 94*c66ec88fSEmmanuel Vadot 95*c66ec88fSEmmanuel Vadot brcm,int-map-mask = <0x44>, <0xf000000>, <0x100000>; 96*c66ec88fSEmmanuel Vadot brcm,int-fwd-mask = <0x70000>; 97*c66ec88fSEmmanuel Vadot 98*c66ec88fSEmmanuel Vadot interrupt-controller; 99*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 100*c66ec88fSEmmanuel Vadot 101*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 102*c66ec88fSEmmanuel Vadot interrupts = <18>, <19>, <20>; 103*c66ec88fSEmmanuel Vadot interrupt-names = "upg_main", "upg_bsc", "upg_spi"; 104*c66ec88fSEmmanuel Vadot }; 105*c66ec88fSEmmanuel Vadot 106*c66ec88fSEmmanuel Vadot sun_top_ctrl: syscon@404000 { 107*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7125-sun-top-ctrl", "syscon"; 108*c66ec88fSEmmanuel Vadot reg = <0x404000 0x60c>; 109*c66ec88fSEmmanuel Vadot native-endian; 110*c66ec88fSEmmanuel Vadot }; 111*c66ec88fSEmmanuel Vadot 112*c66ec88fSEmmanuel Vadot reboot { 113*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7038-reboot"; 114*c66ec88fSEmmanuel Vadot syscon = <&sun_top_ctrl 0x8 0x14>; 115*c66ec88fSEmmanuel Vadot }; 116*c66ec88fSEmmanuel Vadot 117*c66ec88fSEmmanuel Vadot uart0: serial@406b00 { 118*c66ec88fSEmmanuel Vadot compatible = "ns16550a"; 119*c66ec88fSEmmanuel Vadot reg = <0x406b00 0x20>; 120*c66ec88fSEmmanuel Vadot reg-io-width = <0x4>; 121*c66ec88fSEmmanuel Vadot reg-shift = <0x2>; 122*c66ec88fSEmmanuel Vadot native-endian; 123*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 124*c66ec88fSEmmanuel Vadot interrupts = <21>; 125*c66ec88fSEmmanuel Vadot clocks = <&uart_clk>; 126*c66ec88fSEmmanuel Vadot status = "disabled"; 127*c66ec88fSEmmanuel Vadot }; 128*c66ec88fSEmmanuel Vadot 129*c66ec88fSEmmanuel Vadot uart1: serial@406b40 { 130*c66ec88fSEmmanuel Vadot compatible = "ns16550a"; 131*c66ec88fSEmmanuel Vadot reg = <0x406b40 0x20>; 132*c66ec88fSEmmanuel Vadot reg-io-width = <0x4>; 133*c66ec88fSEmmanuel Vadot reg-shift = <0x2>; 134*c66ec88fSEmmanuel Vadot native-endian; 135*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 136*c66ec88fSEmmanuel Vadot interrupts = <64>; 137*c66ec88fSEmmanuel Vadot clocks = <&uart_clk>; 138*c66ec88fSEmmanuel Vadot status = "disabled"; 139*c66ec88fSEmmanuel Vadot }; 140*c66ec88fSEmmanuel Vadot 141*c66ec88fSEmmanuel Vadot uart2: serial@406b80 { 142*c66ec88fSEmmanuel Vadot compatible = "ns16550a"; 143*c66ec88fSEmmanuel Vadot reg = <0x406b80 0x20>; 144*c66ec88fSEmmanuel Vadot reg-io-width = <0x4>; 145*c66ec88fSEmmanuel Vadot reg-shift = <0x2>; 146*c66ec88fSEmmanuel Vadot native-endian; 147*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 148*c66ec88fSEmmanuel Vadot interrupts = <65>; 149*c66ec88fSEmmanuel Vadot clocks = <&uart_clk>; 150*c66ec88fSEmmanuel Vadot status = "disabled"; 151*c66ec88fSEmmanuel Vadot }; 152*c66ec88fSEmmanuel Vadot 153*c66ec88fSEmmanuel Vadot bsca: i2c@406200 { 154*c66ec88fSEmmanuel Vadot clock-frequency = <390000>; 155*c66ec88fSEmmanuel Vadot compatible = "brcm,brcmstb-i2c"; 156*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 157*c66ec88fSEmmanuel Vadot reg = <0x406200 0x58>; 158*c66ec88fSEmmanuel Vadot interrupts = <24>; 159*c66ec88fSEmmanuel Vadot interrupt-names = "upg_bsca"; 160*c66ec88fSEmmanuel Vadot status = "disabled"; 161*c66ec88fSEmmanuel Vadot }; 162*c66ec88fSEmmanuel Vadot 163*c66ec88fSEmmanuel Vadot bscb: i2c@406280 { 164*c66ec88fSEmmanuel Vadot clock-frequency = <390000>; 165*c66ec88fSEmmanuel Vadot compatible = "brcm,brcmstb-i2c"; 166*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 167*c66ec88fSEmmanuel Vadot reg = <0x406280 0x58>; 168*c66ec88fSEmmanuel Vadot interrupts = <25>; 169*c66ec88fSEmmanuel Vadot interrupt-names = "upg_bscb"; 170*c66ec88fSEmmanuel Vadot status = "disabled"; 171*c66ec88fSEmmanuel Vadot }; 172*c66ec88fSEmmanuel Vadot 173*c66ec88fSEmmanuel Vadot bscc: i2c@406300 { 174*c66ec88fSEmmanuel Vadot clock-frequency = <390000>; 175*c66ec88fSEmmanuel Vadot compatible = "brcm,brcmstb-i2c"; 176*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 177*c66ec88fSEmmanuel Vadot reg = <0x406300 0x58>; 178*c66ec88fSEmmanuel Vadot interrupts = <26>; 179*c66ec88fSEmmanuel Vadot interrupt-names = "upg_bscc"; 180*c66ec88fSEmmanuel Vadot status = "disabled"; 181*c66ec88fSEmmanuel Vadot }; 182*c66ec88fSEmmanuel Vadot 183*c66ec88fSEmmanuel Vadot bscd: i2c@406380 { 184*c66ec88fSEmmanuel Vadot clock-frequency = <390000>; 185*c66ec88fSEmmanuel Vadot compatible = "brcm,brcmstb-i2c"; 186*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 187*c66ec88fSEmmanuel Vadot reg = <0x406380 0x58>; 188*c66ec88fSEmmanuel Vadot interrupts = <27>; 189*c66ec88fSEmmanuel Vadot interrupt-names = "upg_bscd"; 190*c66ec88fSEmmanuel Vadot status = "disabled"; 191*c66ec88fSEmmanuel Vadot }; 192*c66ec88fSEmmanuel Vadot 193*c66ec88fSEmmanuel Vadot pwma: pwm@406580 { 194*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7038-pwm"; 195*c66ec88fSEmmanuel Vadot reg = <0x406580 0x28>; 196*c66ec88fSEmmanuel Vadot #pwm-cells = <2>; 197*c66ec88fSEmmanuel Vadot clocks = <&upg_clk>; 198*c66ec88fSEmmanuel Vadot status = "disabled"; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot 201*c66ec88fSEmmanuel Vadot watchdog: watchdog@4067e8 { 202*c66ec88fSEmmanuel Vadot clocks = <&upg_clk>; 203*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7038-wdt"; 204*c66ec88fSEmmanuel Vadot reg = <0x4067e8 0x14>; 205*c66ec88fSEmmanuel Vadot status = "disabled"; 206*c66ec88fSEmmanuel Vadot }; 207*c66ec88fSEmmanuel Vadot 208*c66ec88fSEmmanuel Vadot upg_gio: gpio@406700 { 209*c66ec88fSEmmanuel Vadot compatible = "brcm,brcmstb-gpio"; 210*c66ec88fSEmmanuel Vadot reg = <0x406700 0x80>; 211*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 212*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 213*c66ec88fSEmmanuel Vadot gpio-controller; 214*c66ec88fSEmmanuel Vadot interrupt-controller; 215*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 216*c66ec88fSEmmanuel Vadot interrupts = <6>; 217*c66ec88fSEmmanuel Vadot brcm,gpio-bank-widths = <32 32 32 18>; 218*c66ec88fSEmmanuel Vadot }; 219*c66ec88fSEmmanuel Vadot 220*c66ec88fSEmmanuel Vadot ehci0: usb@488300 { 221*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7125-ehci", "generic-ehci"; 222*c66ec88fSEmmanuel Vadot reg = <0x488300 0x100>; 223*c66ec88fSEmmanuel Vadot native-endian; 224*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 225*c66ec88fSEmmanuel Vadot interrupts = <60>; 226*c66ec88fSEmmanuel Vadot status = "disabled"; 227*c66ec88fSEmmanuel Vadot }; 228*c66ec88fSEmmanuel Vadot 229*c66ec88fSEmmanuel Vadot ohci0: usb@488400 { 230*c66ec88fSEmmanuel Vadot compatible = "brcm,bcm7125-ohci", "generic-ohci"; 231*c66ec88fSEmmanuel Vadot reg = <0x488400 0x100>; 232*c66ec88fSEmmanuel Vadot native-endian; 233*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 234*c66ec88fSEmmanuel Vadot interrupts = <61>; 235*c66ec88fSEmmanuel Vadot status = "disabled"; 236*c66ec88fSEmmanuel Vadot }; 237*c66ec88fSEmmanuel Vadot 238*c66ec88fSEmmanuel Vadot spi_l2_intc: interrupt-controller@411d00 { 239*c66ec88fSEmmanuel Vadot compatible = "brcm,l2-intc"; 240*c66ec88fSEmmanuel Vadot reg = <0x411d00 0x30>; 241*c66ec88fSEmmanuel Vadot interrupt-controller; 242*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 243*c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 244*c66ec88fSEmmanuel Vadot interrupts = <79>; 245*c66ec88fSEmmanuel Vadot }; 246*c66ec88fSEmmanuel Vadot 247*c66ec88fSEmmanuel Vadot qspi: spi@443000 { 248*c66ec88fSEmmanuel Vadot #address-cells = <0x1>; 249*c66ec88fSEmmanuel Vadot #size-cells = <0x0>; 250*c66ec88fSEmmanuel Vadot compatible = "brcm,spi-bcm-qspi", 251*c66ec88fSEmmanuel Vadot "brcm,spi-brcmstb-qspi"; 252*c66ec88fSEmmanuel Vadot clocks = <&upg_clk>; 253*c66ec88fSEmmanuel Vadot reg = <0x440920 0x4 0x443200 0x188 0x443000 0x50>; 254*c66ec88fSEmmanuel Vadot reg-names = "cs_reg", "hif_mspi", "bspi"; 255*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1 0x2 0x3 0x4 0x5 0x6>; 256*c66ec88fSEmmanuel Vadot interrupt-parent = <&spi_l2_intc>; 257*c66ec88fSEmmanuel Vadot interrupt-names = "spi_lr_fullness_reached", 258*c66ec88fSEmmanuel Vadot "spi_lr_session_aborted", 259*c66ec88fSEmmanuel Vadot "spi_lr_impatient", 260*c66ec88fSEmmanuel Vadot "spi_lr_session_done", 261*c66ec88fSEmmanuel Vadot "spi_lr_overread", 262*c66ec88fSEmmanuel Vadot "mspi_done", 263*c66ec88fSEmmanuel Vadot "mspi_halted"; 264*c66ec88fSEmmanuel Vadot status = "disabled"; 265*c66ec88fSEmmanuel Vadot }; 266*c66ec88fSEmmanuel Vadot 267*c66ec88fSEmmanuel Vadot mspi: spi@406400 { 268*c66ec88fSEmmanuel Vadot #address-cells = <1>; 269*c66ec88fSEmmanuel Vadot #size-cells = <0>; 270*c66ec88fSEmmanuel Vadot compatible = "brcm,spi-bcm-qspi", 271*c66ec88fSEmmanuel Vadot "brcm,spi-brcmstb-mspi"; 272*c66ec88fSEmmanuel Vadot clocks = <&upg_clk>; 273*c66ec88fSEmmanuel Vadot reg = <0x406400 0x180>; 274*c66ec88fSEmmanuel Vadot reg-names = "mspi"; 275*c66ec88fSEmmanuel Vadot interrupts = <0x14>; 276*c66ec88fSEmmanuel Vadot interrupt-parent = <&upg_irq0_intc>; 277*c66ec88fSEmmanuel Vadot interrupt-names = "mspi_done"; 278*c66ec88fSEmmanuel Vadot status = "disabled"; 279*c66ec88fSEmmanuel Vadot }; 280*c66ec88fSEmmanuel Vadot }; 281*c66ec88fSEmmanuel Vadot}; 282