1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 3*724ba675SRob Herring 4*724ba675SRob Herring/ { 5*724ba675SRob Herring #address-cells = <2>; 6*724ba675SRob Herring #size-cells = <2>; 7*724ba675SRob Herring model = "Broadcom STB (bcm7445)"; 8*724ba675SRob Herring compatible = "brcm,bcm7445", "brcm,brcmstb"; 9*724ba675SRob Herring interrupt-parent = <&gic>; 10*724ba675SRob Herring 11*724ba675SRob Herring chosen { 12*724ba675SRob Herring bootargs = "console=ttyS0,115200 earlyprintk"; 13*724ba675SRob Herring }; 14*724ba675SRob Herring 15*724ba675SRob Herring cpus { 16*724ba675SRob Herring #address-cells = <1>; 17*724ba675SRob Herring #size-cells = <0>; 18*724ba675SRob Herring 19*724ba675SRob Herring cpu@0 { 20*724ba675SRob Herring compatible = "brcm,brahma-b15"; 21*724ba675SRob Herring device_type = "cpu"; 22*724ba675SRob Herring enable-method = "brcm,brahma-b15"; 23*724ba675SRob Herring reg = <0>; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring cpu@1 { 27*724ba675SRob Herring compatible = "brcm,brahma-b15"; 28*724ba675SRob Herring device_type = "cpu"; 29*724ba675SRob Herring enable-method = "brcm,brahma-b15"; 30*724ba675SRob Herring reg = <1>; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring cpu@2 { 34*724ba675SRob Herring compatible = "brcm,brahma-b15"; 35*724ba675SRob Herring device_type = "cpu"; 36*724ba675SRob Herring enable-method = "brcm,brahma-b15"; 37*724ba675SRob Herring reg = <2>; 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring cpu@3 { 41*724ba675SRob Herring compatible = "brcm,brahma-b15"; 42*724ba675SRob Herring device_type = "cpu"; 43*724ba675SRob Herring enable-method = "brcm,brahma-b15"; 44*724ba675SRob Herring reg = <3>; 45*724ba675SRob Herring }; 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring gic: interrupt-controller@ffd00000 { 49*724ba675SRob Herring compatible = "brcm,brahma-b15-gic", "arm,cortex-a15-gic"; 50*724ba675SRob Herring reg = <0x00 0xffd01000 0x00 0x1000>, 51*724ba675SRob Herring <0x00 0xffd02000 0x00 0x2000>, 52*724ba675SRob Herring <0x00 0xffd04000 0x00 0x2000>, 53*724ba675SRob Herring <0x00 0xffd06000 0x00 0x2000>; 54*724ba675SRob Herring interrupt-controller; 55*724ba675SRob Herring #interrupt-cells = <3>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring timer { 59*724ba675SRob Herring compatible = "arm,armv7-timer"; 60*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(15) | IRQ_TYPE_LEVEL_LOW)>, 61*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_RAW(15) | IRQ_TYPE_LEVEL_LOW)>, 62*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_RAW(15) | IRQ_TYPE_LEVEL_LOW)>, 63*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_RAW(15) | IRQ_TYPE_LEVEL_LOW)>; 64*724ba675SRob Herring }; 65*724ba675SRob Herring 66*724ba675SRob Herring rdb@f0000000 { 67*724ba675SRob Herring #address-cells = <1>; 68*724ba675SRob Herring #size-cells = <1>; 69*724ba675SRob Herring compatible = "simple-bus"; 70*724ba675SRob Herring ranges = <0 0x00 0xf0000000 0x1000000>; 71*724ba675SRob Herring 72*724ba675SRob Herring serial@40ab00 { 73*724ba675SRob Herring compatible = "ns16550a"; 74*724ba675SRob Herring reg = <0x40ab00 0x20>; 75*724ba675SRob Herring reg-shift = <2>; 76*724ba675SRob Herring reg-io-width = <4>; 77*724ba675SRob Herring interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 78*724ba675SRob Herring clock-frequency = <81000000>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring sun_top_ctrl: syscon@404000 { 82*724ba675SRob Herring compatible = "brcm,bcm7445-sun-top-ctrl", 83*724ba675SRob Herring "syscon"; 84*724ba675SRob Herring reg = <0x404000 0x51c>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring 87*724ba675SRob Herring hif_cpubiuctrl: syscon@3e2400 { 88*724ba675SRob Herring compatible = "brcm,bcm7445-hif-cpubiuctrl", 89*724ba675SRob Herring "syscon"; 90*724ba675SRob Herring reg = <0x3e2400 0x5b4>; 91*724ba675SRob Herring }; 92*724ba675SRob Herring 93*724ba675SRob Herring hif_continuation: syscon@452000 { 94*724ba675SRob Herring compatible = "brcm,bcm7445-hif-continuation", 95*724ba675SRob Herring "syscon"; 96*724ba675SRob Herring reg = <0x452000 0x100>; 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring irq0_intc: interrupt-controller@40a780 { 100*724ba675SRob Herring compatible = "brcm,bcm7120-l2-intc"; 101*724ba675SRob Herring interrupt-parent = <&gic>; 102*724ba675SRob Herring #interrupt-cells = <1>; 103*724ba675SRob Herring reg = <0x40a780 0x8>; 104*724ba675SRob Herring interrupt-controller; 105*724ba675SRob Herring interrupts = <GIC_SPI 0x45 0x0>, 106*724ba675SRob Herring <GIC_SPI 0x43 0x0>; 107*724ba675SRob Herring brcm,int-map-mask = <0x25c>, <0x7000000>; 108*724ba675SRob Herring brcm,int-fwd-mask = <0x70000>; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring irq0_aon_intc: interrupt-controller@417280 { 112*724ba675SRob Herring compatible = "brcm,bcm7120-l2-intc"; 113*724ba675SRob Herring reg = <0x417280 0x8>; 114*724ba675SRob Herring interrupt-parent = <&gic>; 115*724ba675SRob Herring #interrupt-cells = <1>; 116*724ba675SRob Herring interrupt-controller; 117*724ba675SRob Herring interrupts = <GIC_SPI 0x46 0x0>, 118*724ba675SRob Herring <GIC_SPI 0x44 0x0>, 119*724ba675SRob Herring <GIC_SPI 0x49 0x0>; 120*724ba675SRob Herring brcm,int-map-mask = <0x1e3 0x18000000 0x100000>; 121*724ba675SRob Herring brcm,int-fwd-mask = <0x0>; 122*724ba675SRob Herring brcm,irq-can-wake; 123*724ba675SRob Herring }; 124*724ba675SRob Herring 125*724ba675SRob Herring hif_intr2_intc: interrupt-controller@3e1000 { 126*724ba675SRob Herring compatible = "brcm,l2-intc"; 127*724ba675SRob Herring reg = <0x3e1000 0x30>; 128*724ba675SRob Herring interrupt-controller; 129*724ba675SRob Herring #interrupt-cells = <1>; 130*724ba675SRob Herring interrupts = <GIC_SPI 0x20 0x0>; 131*724ba675SRob Herring interrupt-parent = <&gic>; 132*724ba675SRob Herring interrupt-names = "hif"; 133*724ba675SRob Herring }; 134*724ba675SRob Herring 135*724ba675SRob Herring aon_pm_l2_intc: interrupt-controller@410640 { 136*724ba675SRob Herring compatible = "brcm,l2-intc"; 137*724ba675SRob Herring reg = <0x410640 0x30>; 138*724ba675SRob Herring interrupt-controller; 139*724ba675SRob Herring #interrupt-cells = <1>; 140*724ba675SRob Herring interrupts = <GIC_SPI 0x40 0x0>; 141*724ba675SRob Herring interrupt-parent = <&gic>; 142*724ba675SRob Herring brcm,irq-can-wake; 143*724ba675SRob Herring }; 144*724ba675SRob Herring 145*724ba675SRob Herring aon-ctrl@410000 { 146*724ba675SRob Herring compatible = "brcm,brcmstb-aon-ctrl"; 147*724ba675SRob Herring reg = <0x410000 0x200>, <0x410200 0x400>; 148*724ba675SRob Herring reg-names = "aon-ctrl", "aon-sram"; 149*724ba675SRob Herring }; 150*724ba675SRob Herring 151*724ba675SRob Herring nand_controller: nand-controller@3e2800 { 152*724ba675SRob Herring status = "disabled"; 153*724ba675SRob Herring #address-cells = <1>; 154*724ba675SRob Herring #size-cells = <0>; 155*724ba675SRob Herring compatible = "brcm,brcmnand-v7.1", "brcm,brcmnand"; 156*724ba675SRob Herring reg-names = "nand", "flash-dma"; 157*724ba675SRob Herring reg = <0x3e2800 0x600>, <0x3e3000 0x2c>; 158*724ba675SRob Herring interrupt-parent = <&hif_intr2_intc>; 159*724ba675SRob Herring interrupts = <24>, <4>; 160*724ba675SRob Herring interrupt-names = "nand_ctlrdy", "flash_dma_done"; 161*724ba675SRob Herring }; 162*724ba675SRob Herring 163*724ba675SRob Herring sata@45a000 { 164*724ba675SRob Herring compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci"; 165*724ba675SRob Herring reg-names = "ahci", "top-ctrl"; 166*724ba675SRob Herring reg = <0x45a000 0xa9c>, <0x458040 0x24>; 167*724ba675SRob Herring interrupts = <GIC_SPI 30 0>; 168*724ba675SRob Herring #address-cells = <1>; 169*724ba675SRob Herring #size-cells = <0>; 170*724ba675SRob Herring 171*724ba675SRob Herring sata0: sata-port@0 { 172*724ba675SRob Herring reg = <0>; 173*724ba675SRob Herring phys = <&sata_phy0>; 174*724ba675SRob Herring }; 175*724ba675SRob Herring 176*724ba675SRob Herring sata1: sata-port@1 { 177*724ba675SRob Herring reg = <1>; 178*724ba675SRob Herring phys = <&sata_phy1>; 179*724ba675SRob Herring }; 180*724ba675SRob Herring }; 181*724ba675SRob Herring 182*724ba675SRob Herring sata_phy: sata-phy@458100 { 183*724ba675SRob Herring compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3"; 184*724ba675SRob Herring reg = <0x458100 0x1f00>; 185*724ba675SRob Herring reg-names = "phy"; 186*724ba675SRob Herring #address-cells = <0x1>; 187*724ba675SRob Herring #size-cells = <0x0>; 188*724ba675SRob Herring 189*724ba675SRob Herring sata_phy0: sata-phy@0 { 190*724ba675SRob Herring reg = <0>; 191*724ba675SRob Herring #phy-cells = <0>; 192*724ba675SRob Herring }; 193*724ba675SRob Herring 194*724ba675SRob Herring sata_phy1: sata-phy@1 { 195*724ba675SRob Herring reg = <1>; 196*724ba675SRob Herring #phy-cells = <0>; 197*724ba675SRob Herring }; 198*724ba675SRob Herring }; 199*724ba675SRob Herring 200*724ba675SRob Herring upg_gio: gpio@40a700 { 201*724ba675SRob Herring compatible = "brcm,bcm7445-gpio", "brcm,brcmstb-gpio"; 202*724ba675SRob Herring reg = <0x40a700 0x80>; 203*724ba675SRob Herring #gpio-cells = <2>; 204*724ba675SRob Herring #interrupt-cells = <2>; 205*724ba675SRob Herring gpio-controller; 206*724ba675SRob Herring interrupt-controller; 207*724ba675SRob Herring interrupt-parent = <&irq0_intc>; 208*724ba675SRob Herring interrupts = <6>; 209*724ba675SRob Herring brcm,gpio-bank-widths = <32 32 32 24>; 210*724ba675SRob Herring }; 211*724ba675SRob Herring 212*724ba675SRob Herring upg_gio_aon: gpio@4172c0 { 213*724ba675SRob Herring compatible = "brcm,bcm7445-gpio", "brcm,brcmstb-gpio"; 214*724ba675SRob Herring reg = <0x4172c0 0x40>; 215*724ba675SRob Herring #gpio-cells = <2>; 216*724ba675SRob Herring #interrupt-cells = <2>; 217*724ba675SRob Herring gpio-controller; 218*724ba675SRob Herring interrupt-controller; 219*724ba675SRob Herring interrupts-extended = <&irq0_aon_intc 0x6>, 220*724ba675SRob Herring <&aon_pm_l2_intc 0x5>; 221*724ba675SRob Herring wakeup-source; 222*724ba675SRob Herring brcm,gpio-bank-widths = <18 4>; 223*724ba675SRob Herring }; 224*724ba675SRob Herring 225*724ba675SRob Herring }; 226*724ba675SRob Herring 227*724ba675SRob Herring memory_controllers@f1100000 { 228*724ba675SRob Herring compatible = "simple-bus"; 229*724ba675SRob Herring ranges = <0x0 0x0 0xf1100000 0x200000>; 230*724ba675SRob Herring #address-cells = <1>; 231*724ba675SRob Herring #size-cells = <1>; 232*724ba675SRob Herring 233*724ba675SRob Herring memc@0 { 234*724ba675SRob Herring compatible = "brcm,brcmstb-memc", "simple-bus"; 235*724ba675SRob Herring #address-cells = <1>; 236*724ba675SRob Herring #size-cells = <1>; 237*724ba675SRob Herring ranges = <0x0 0x0 0x80000>; 238*724ba675SRob Herring 239*724ba675SRob Herring memc-ddr@2000 { 240*724ba675SRob Herring compatible = "brcm,brcmstb-memc-ddr"; 241*724ba675SRob Herring reg = <0x2000 0x800>; 242*724ba675SRob Herring }; 243*724ba675SRob Herring 244*724ba675SRob Herring ddr-phy@6000 { 245*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-phy-v240.1"; 246*724ba675SRob Herring reg = <0x6000 0x21c>; 247*724ba675SRob Herring }; 248*724ba675SRob Herring 249*724ba675SRob Herring shimphy@8000 { 250*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-shimphy-v1.0"; 251*724ba675SRob Herring reg = <0x8000 0xe4>; 252*724ba675SRob Herring }; 253*724ba675SRob Herring }; 254*724ba675SRob Herring 255*724ba675SRob Herring memc@80000 { 256*724ba675SRob Herring compatible = "brcm,brcmstb-memc", "simple-bus"; 257*724ba675SRob Herring #address-cells = <1>; 258*724ba675SRob Herring #size-cells = <1>; 259*724ba675SRob Herring ranges = <0x0 0x80000 0x80000>; 260*724ba675SRob Herring 261*724ba675SRob Herring memc-ddr@2000 { 262*724ba675SRob Herring compatible = "brcm,brcmstb-memc-ddr"; 263*724ba675SRob Herring reg = <0x2000 0x800>; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring ddr-phy@6000 { 267*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-phy-v240.1"; 268*724ba675SRob Herring reg = <0x6000 0x21c>; 269*724ba675SRob Herring }; 270*724ba675SRob Herring 271*724ba675SRob Herring shimphy@8000 { 272*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-shimphy-v1.0"; 273*724ba675SRob Herring reg = <0x8000 0xe4>; 274*724ba675SRob Herring }; 275*724ba675SRob Herring }; 276*724ba675SRob Herring 277*724ba675SRob Herring memc@100000 { 278*724ba675SRob Herring compatible = "brcm,brcmstb-memc", "simple-bus"; 279*724ba675SRob Herring #address-cells = <1>; 280*724ba675SRob Herring #size-cells = <1>; 281*724ba675SRob Herring ranges = <0x0 0x100000 0x80000>; 282*724ba675SRob Herring 283*724ba675SRob Herring memc-ddr@2000 { 284*724ba675SRob Herring compatible = "brcm,brcmstb-memc-ddr"; 285*724ba675SRob Herring reg = <0x2000 0x800>; 286*724ba675SRob Herring }; 287*724ba675SRob Herring 288*724ba675SRob Herring ddr-phy@6000 { 289*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-phy-v240.1"; 290*724ba675SRob Herring reg = <0x6000 0x21c>; 291*724ba675SRob Herring }; 292*724ba675SRob Herring 293*724ba675SRob Herring shimphy@8000 { 294*724ba675SRob Herring compatible = "brcm,brcmstb-ddr-shimphy-v1.0"; 295*724ba675SRob Herring reg = <0x8000 0xe4>; 296*724ba675SRob Herring }; 297*724ba675SRob Herring }; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring sram@ffe00000 { 301*724ba675SRob Herring compatible = "brcm,boot-sram", "mmio-sram"; 302*724ba675SRob Herring reg = <0x0 0xffe00000 0x0 0x10000>; 303*724ba675SRob Herring }; 304*724ba675SRob Herring 305*724ba675SRob Herring smpboot { 306*724ba675SRob Herring compatible = "brcm,brcmstb-smpboot"; 307*724ba675SRob Herring syscon-cpu = <&hif_cpubiuctrl 0x88 0x178>; 308*724ba675SRob Herring syscon-cont = <&hif_continuation>; 309*724ba675SRob Herring }; 310*724ba675SRob Herring 311*724ba675SRob Herring reboot { 312*724ba675SRob Herring compatible = "brcm,brcmstb-reboot"; 313*724ba675SRob Herring syscon = <&sun_top_ctrl 0x304 0x308>; 314*724ba675SRob Herring }; 315*724ba675SRob Herring}; 316