1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring#include "bcm283x.dtsi" 3*724ba675SRob Herring 4*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 5*724ba675SRob Herring#include <dt-bindings/soc/bcm2835-pm.h> 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring compatible = "brcm,bcm2711"; 9*724ba675SRob Herring 10*724ba675SRob Herring #address-cells = <2>; 11*724ba675SRob Herring #size-cells = <1>; 12*724ba675SRob Herring 13*724ba675SRob Herring interrupt-parent = <&gicv2>; 14*724ba675SRob Herring 15*724ba675SRob Herring vc4: gpu { 16*724ba675SRob Herring compatible = "brcm,bcm2711-vc5"; 17*724ba675SRob Herring status = "disabled"; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring clk_27MHz: clk-27M { 21*724ba675SRob Herring #clock-cells = <0>; 22*724ba675SRob Herring compatible = "fixed-clock"; 23*724ba675SRob Herring clock-frequency = <27000000>; 24*724ba675SRob Herring clock-output-names = "27MHz-clock"; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring clk_108MHz: clk-108M { 28*724ba675SRob Herring #clock-cells = <0>; 29*724ba675SRob Herring compatible = "fixed-clock"; 30*724ba675SRob Herring clock-frequency = <108000000>; 31*724ba675SRob Herring clock-output-names = "108MHz-clock"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring soc { 35*724ba675SRob Herring /* 36*724ba675SRob Herring * Defined ranges: 37*724ba675SRob Herring * Common BCM283x peripherals 38*724ba675SRob Herring * BCM2711-specific peripherals 39*724ba675SRob Herring * ARM-local peripherals 40*724ba675SRob Herring */ 41*724ba675SRob Herring ranges = <0x7e000000 0x0 0xfe000000 0x01800000>, 42*724ba675SRob Herring <0x7c000000 0x0 0xfc000000 0x02000000>, 43*724ba675SRob Herring <0x40000000 0x0 0xff800000 0x00800000>; 44*724ba675SRob Herring /* Emulate a contiguous 30-bit address range for DMA */ 45*724ba675SRob Herring dma-ranges = <0xc0000000 0x0 0x00000000 0x40000000>; 46*724ba675SRob Herring 47*724ba675SRob Herring /* 48*724ba675SRob Herring * This node is the provider for the enable-method for 49*724ba675SRob Herring * bringing up secondary cores. 50*724ba675SRob Herring */ 51*724ba675SRob Herring local_intc: interrupt-controller@40000000 { 52*724ba675SRob Herring compatible = "brcm,bcm2836-l1-intc"; 53*724ba675SRob Herring reg = <0x40000000 0x100>; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring gicv2: interrupt-controller@40041000 { 57*724ba675SRob Herring interrupt-controller; 58*724ba675SRob Herring #interrupt-cells = <3>; 59*724ba675SRob Herring compatible = "arm,gic-400"; 60*724ba675SRob Herring reg = <0x40041000 0x1000>, 61*724ba675SRob Herring <0x40042000 0x2000>, 62*724ba675SRob Herring <0x40044000 0x2000>, 63*724ba675SRob Herring <0x40046000 0x2000>; 64*724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 65*724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH)>; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring avs_monitor: avs-monitor@7d5d2000 { 69*724ba675SRob Herring compatible = "brcm,bcm2711-avs-monitor", 70*724ba675SRob Herring "syscon", "simple-mfd"; 71*724ba675SRob Herring reg = <0x7d5d2000 0xf00>; 72*724ba675SRob Herring 73*724ba675SRob Herring thermal: thermal { 74*724ba675SRob Herring compatible = "brcm,bcm2711-thermal"; 75*724ba675SRob Herring #thermal-sensor-cells = <0>; 76*724ba675SRob Herring }; 77*724ba675SRob Herring }; 78*724ba675SRob Herring 79*724ba675SRob Herring dma: dma@7e007000 { 80*724ba675SRob Herring compatible = "brcm,bcm2835-dma"; 81*724ba675SRob Herring reg = <0x7e007000 0xb00>; 82*724ba675SRob Herring interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, 83*724ba675SRob Herring <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, 84*724ba675SRob Herring <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, 85*724ba675SRob Herring <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>, 86*724ba675SRob Herring <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, 87*724ba675SRob Herring <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 88*724ba675SRob Herring <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, 89*724ba675SRob Herring /* DMA lite 7 - 10 */ 90*724ba675SRob Herring <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 91*724ba675SRob Herring <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 92*724ba675SRob Herring <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 93*724ba675SRob Herring <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 94*724ba675SRob Herring interrupt-names = "dma0", 95*724ba675SRob Herring "dma1", 96*724ba675SRob Herring "dma2", 97*724ba675SRob Herring "dma3", 98*724ba675SRob Herring "dma4", 99*724ba675SRob Herring "dma5", 100*724ba675SRob Herring "dma6", 101*724ba675SRob Herring "dma7", 102*724ba675SRob Herring "dma8", 103*724ba675SRob Herring "dma9", 104*724ba675SRob Herring "dma10"; 105*724ba675SRob Herring #dma-cells = <1>; 106*724ba675SRob Herring brcm,dma-channel-mask = <0x07f5>; 107*724ba675SRob Herring }; 108*724ba675SRob Herring 109*724ba675SRob Herring pm: watchdog@7e100000 { 110*724ba675SRob Herring compatible = "brcm,bcm2711-pm", "brcm,bcm2835-pm-wdt"; 111*724ba675SRob Herring #power-domain-cells = <1>; 112*724ba675SRob Herring #reset-cells = <1>; 113*724ba675SRob Herring reg = <0x7e100000 0x114>, 114*724ba675SRob Herring <0x7e00a000 0x24>, 115*724ba675SRob Herring <0x7ec11000 0x20>; 116*724ba675SRob Herring reg-names = "pm", "asb", "rpivid_asb"; 117*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_V3D>, 118*724ba675SRob Herring <&clocks BCM2835_CLOCK_PERI_IMAGE>, 119*724ba675SRob Herring <&clocks BCM2835_CLOCK_H264>, 120*724ba675SRob Herring <&clocks BCM2835_CLOCK_ISP>; 121*724ba675SRob Herring clock-names = "v3d", "peri_image", "h264", "isp"; 122*724ba675SRob Herring system-power-controller; 123*724ba675SRob Herring }; 124*724ba675SRob Herring 125*724ba675SRob Herring rng@7e104000 { 126*724ba675SRob Herring compatible = "brcm,bcm2711-rng200"; 127*724ba675SRob Herring reg = <0x7e104000 0x28>; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring uart2: serial@7e201400 { 131*724ba675SRob Herring compatible = "arm,pl011", "arm,primecell"; 132*724ba675SRob Herring reg = <0x7e201400 0x200>; 133*724ba675SRob Herring interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 134*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_UART>, 135*724ba675SRob Herring <&clocks BCM2835_CLOCK_VPU>; 136*724ba675SRob Herring clock-names = "uartclk", "apb_pclk"; 137*724ba675SRob Herring arm,primecell-periphid = <0x00241011>; 138*724ba675SRob Herring status = "disabled"; 139*724ba675SRob Herring }; 140*724ba675SRob Herring 141*724ba675SRob Herring uart3: serial@7e201600 { 142*724ba675SRob Herring compatible = "arm,pl011", "arm,primecell"; 143*724ba675SRob Herring reg = <0x7e201600 0x200>; 144*724ba675SRob Herring interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 145*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_UART>, 146*724ba675SRob Herring <&clocks BCM2835_CLOCK_VPU>; 147*724ba675SRob Herring clock-names = "uartclk", "apb_pclk"; 148*724ba675SRob Herring arm,primecell-periphid = <0x00241011>; 149*724ba675SRob Herring status = "disabled"; 150*724ba675SRob Herring }; 151*724ba675SRob Herring 152*724ba675SRob Herring uart4: serial@7e201800 { 153*724ba675SRob Herring compatible = "arm,pl011", "arm,primecell"; 154*724ba675SRob Herring reg = <0x7e201800 0x200>; 155*724ba675SRob Herring interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 156*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_UART>, 157*724ba675SRob Herring <&clocks BCM2835_CLOCK_VPU>; 158*724ba675SRob Herring clock-names = "uartclk", "apb_pclk"; 159*724ba675SRob Herring arm,primecell-periphid = <0x00241011>; 160*724ba675SRob Herring status = "disabled"; 161*724ba675SRob Herring }; 162*724ba675SRob Herring 163*724ba675SRob Herring uart5: serial@7e201a00 { 164*724ba675SRob Herring compatible = "arm,pl011", "arm,primecell"; 165*724ba675SRob Herring reg = <0x7e201a00 0x200>; 166*724ba675SRob Herring interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 167*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_UART>, 168*724ba675SRob Herring <&clocks BCM2835_CLOCK_VPU>; 169*724ba675SRob Herring clock-names = "uartclk", "apb_pclk"; 170*724ba675SRob Herring arm,primecell-periphid = <0x00241011>; 171*724ba675SRob Herring status = "disabled"; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring spi3: spi@7e204600 { 175*724ba675SRob Herring compatible = "brcm,bcm2835-spi"; 176*724ba675SRob Herring reg = <0x7e204600 0x0200>; 177*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 178*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 179*724ba675SRob Herring #address-cells = <1>; 180*724ba675SRob Herring #size-cells = <0>; 181*724ba675SRob Herring status = "disabled"; 182*724ba675SRob Herring }; 183*724ba675SRob Herring 184*724ba675SRob Herring spi4: spi@7e204800 { 185*724ba675SRob Herring compatible = "brcm,bcm2835-spi"; 186*724ba675SRob Herring reg = <0x7e204800 0x0200>; 187*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 188*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 189*724ba675SRob Herring #address-cells = <1>; 190*724ba675SRob Herring #size-cells = <0>; 191*724ba675SRob Herring status = "disabled"; 192*724ba675SRob Herring }; 193*724ba675SRob Herring 194*724ba675SRob Herring spi5: spi@7e204a00 { 195*724ba675SRob Herring compatible = "brcm,bcm2835-spi"; 196*724ba675SRob Herring reg = <0x7e204a00 0x0200>; 197*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 198*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 199*724ba675SRob Herring #address-cells = <1>; 200*724ba675SRob Herring #size-cells = <0>; 201*724ba675SRob Herring status = "disabled"; 202*724ba675SRob Herring }; 203*724ba675SRob Herring 204*724ba675SRob Herring spi6: spi@7e204c00 { 205*724ba675SRob Herring compatible = "brcm,bcm2835-spi"; 206*724ba675SRob Herring reg = <0x7e204c00 0x0200>; 207*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 208*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 209*724ba675SRob Herring #address-cells = <1>; 210*724ba675SRob Herring #size-cells = <0>; 211*724ba675SRob Herring status = "disabled"; 212*724ba675SRob Herring }; 213*724ba675SRob Herring 214*724ba675SRob Herring i2c3: i2c@7e205600 { 215*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 216*724ba675SRob Herring reg = <0x7e205600 0x200>; 217*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 218*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 219*724ba675SRob Herring #address-cells = <1>; 220*724ba675SRob Herring #size-cells = <0>; 221*724ba675SRob Herring status = "disabled"; 222*724ba675SRob Herring }; 223*724ba675SRob Herring 224*724ba675SRob Herring i2c4: i2c@7e205800 { 225*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 226*724ba675SRob Herring reg = <0x7e205800 0x200>; 227*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 228*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 229*724ba675SRob Herring #address-cells = <1>; 230*724ba675SRob Herring #size-cells = <0>; 231*724ba675SRob Herring status = "disabled"; 232*724ba675SRob Herring }; 233*724ba675SRob Herring 234*724ba675SRob Herring i2c5: i2c@7e205a00 { 235*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 236*724ba675SRob Herring reg = <0x7e205a00 0x200>; 237*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 238*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 239*724ba675SRob Herring #address-cells = <1>; 240*724ba675SRob Herring #size-cells = <0>; 241*724ba675SRob Herring status = "disabled"; 242*724ba675SRob Herring }; 243*724ba675SRob Herring 244*724ba675SRob Herring i2c6: i2c@7e205c00 { 245*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 246*724ba675SRob Herring reg = <0x7e205c00 0x200>; 247*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 248*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VPU>; 249*724ba675SRob Herring #address-cells = <1>; 250*724ba675SRob Herring #size-cells = <0>; 251*724ba675SRob Herring status = "disabled"; 252*724ba675SRob Herring }; 253*724ba675SRob Herring 254*724ba675SRob Herring pixelvalve0: pixelvalve@7e206000 { 255*724ba675SRob Herring compatible = "brcm,bcm2711-pixelvalve0"; 256*724ba675SRob Herring reg = <0x7e206000 0x100>; 257*724ba675SRob Herring interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 258*724ba675SRob Herring status = "disabled"; 259*724ba675SRob Herring }; 260*724ba675SRob Herring 261*724ba675SRob Herring pixelvalve1: pixelvalve@7e207000 { 262*724ba675SRob Herring compatible = "brcm,bcm2711-pixelvalve1"; 263*724ba675SRob Herring reg = <0x7e207000 0x100>; 264*724ba675SRob Herring interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 265*724ba675SRob Herring status = "disabled"; 266*724ba675SRob Herring }; 267*724ba675SRob Herring 268*724ba675SRob Herring pixelvalve2: pixelvalve@7e20a000 { 269*724ba675SRob Herring compatible = "brcm,bcm2711-pixelvalve2"; 270*724ba675SRob Herring reg = <0x7e20a000 0x100>; 271*724ba675SRob Herring interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 272*724ba675SRob Herring status = "disabled"; 273*724ba675SRob Herring }; 274*724ba675SRob Herring 275*724ba675SRob Herring pwm1: pwm@7e20c800 { 276*724ba675SRob Herring compatible = "brcm,bcm2835-pwm"; 277*724ba675SRob Herring reg = <0x7e20c800 0x28>; 278*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_PWM>; 279*724ba675SRob Herring assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; 280*724ba675SRob Herring assigned-clock-rates = <10000000>; 281*724ba675SRob Herring #pwm-cells = <2>; 282*724ba675SRob Herring status = "disabled"; 283*724ba675SRob Herring }; 284*724ba675SRob Herring 285*724ba675SRob Herring pixelvalve4: pixelvalve@7e216000 { 286*724ba675SRob Herring compatible = "brcm,bcm2711-pixelvalve4"; 287*724ba675SRob Herring reg = <0x7e216000 0x100>; 288*724ba675SRob Herring interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 289*724ba675SRob Herring status = "disabled"; 290*724ba675SRob Herring }; 291*724ba675SRob Herring 292*724ba675SRob Herring hvs: hvs@7e400000 { 293*724ba675SRob Herring compatible = "brcm,bcm2711-hvs"; 294*724ba675SRob Herring reg = <0x7e400000 0x8000>; 295*724ba675SRob Herring interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 296*724ba675SRob Herring }; 297*724ba675SRob Herring 298*724ba675SRob Herring pixelvalve3: pixelvalve@7ec12000 { 299*724ba675SRob Herring compatible = "brcm,bcm2711-pixelvalve3"; 300*724ba675SRob Herring reg = <0x7ec12000 0x100>; 301*724ba675SRob Herring interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 302*724ba675SRob Herring status = "disabled"; 303*724ba675SRob Herring }; 304*724ba675SRob Herring 305*724ba675SRob Herring vec: vec@7ec13000 { 306*724ba675SRob Herring compatible = "brcm,bcm2711-vec"; 307*724ba675SRob Herring reg = <0x7ec13000 0x1000>; 308*724ba675SRob Herring clocks = <&clocks BCM2835_CLOCK_VEC>; 309*724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 310*724ba675SRob Herring status = "disabled"; 311*724ba675SRob Herring }; 312*724ba675SRob Herring 313*724ba675SRob Herring dvp: clock@7ef00000 { 314*724ba675SRob Herring compatible = "brcm,brcm2711-dvp"; 315*724ba675SRob Herring reg = <0x7ef00000 0x10>; 316*724ba675SRob Herring clocks = <&clk_108MHz>; 317*724ba675SRob Herring #clock-cells = <1>; 318*724ba675SRob Herring #reset-cells = <1>; 319*724ba675SRob Herring }; 320*724ba675SRob Herring 321*724ba675SRob Herring aon_intr: interrupt-controller@7ef00100 { 322*724ba675SRob Herring compatible = "brcm,bcm2711-l2-intc", "brcm,l2-intc"; 323*724ba675SRob Herring reg = <0x7ef00100 0x30>; 324*724ba675SRob Herring interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 325*724ba675SRob Herring interrupt-controller; 326*724ba675SRob Herring #interrupt-cells = <1>; 327*724ba675SRob Herring }; 328*724ba675SRob Herring 329*724ba675SRob Herring hdmi0: hdmi@7ef00700 { 330*724ba675SRob Herring compatible = "brcm,bcm2711-hdmi0"; 331*724ba675SRob Herring reg = <0x7ef00700 0x300>, 332*724ba675SRob Herring <0x7ef00300 0x200>, 333*724ba675SRob Herring <0x7ef00f00 0x80>, 334*724ba675SRob Herring <0x7ef00f80 0x80>, 335*724ba675SRob Herring <0x7ef01b00 0x200>, 336*724ba675SRob Herring <0x7ef01f00 0x400>, 337*724ba675SRob Herring <0x7ef00200 0x80>, 338*724ba675SRob Herring <0x7ef04300 0x100>, 339*724ba675SRob Herring <0x7ef20000 0x100>; 340*724ba675SRob Herring reg-names = "hdmi", 341*724ba675SRob Herring "dvp", 342*724ba675SRob Herring "phy", 343*724ba675SRob Herring "rm", 344*724ba675SRob Herring "packet", 345*724ba675SRob Herring "metadata", 346*724ba675SRob Herring "csc", 347*724ba675SRob Herring "cec", 348*724ba675SRob Herring "hd"; 349*724ba675SRob Herring clock-names = "hdmi", "bvb", "audio", "cec"; 350*724ba675SRob Herring resets = <&dvp 0>; 351*724ba675SRob Herring interrupt-parent = <&aon_intr>; 352*724ba675SRob Herring interrupts = <0>, <1>, <2>, 353*724ba675SRob Herring <3>, <4>, <5>; 354*724ba675SRob Herring interrupt-names = "cec-tx", "cec-rx", "cec-low", 355*724ba675SRob Herring "wakeup", "hpd-connected", "hpd-removed"; 356*724ba675SRob Herring ddc = <&ddc0>; 357*724ba675SRob Herring dmas = <&dma 10>; 358*724ba675SRob Herring dma-names = "audio-rx"; 359*724ba675SRob Herring status = "disabled"; 360*724ba675SRob Herring }; 361*724ba675SRob Herring 362*724ba675SRob Herring ddc0: i2c@7ef04500 { 363*724ba675SRob Herring compatible = "brcm,bcm2711-hdmi-i2c"; 364*724ba675SRob Herring reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; 365*724ba675SRob Herring reg-names = "bsc", "auto-i2c"; 366*724ba675SRob Herring clock-frequency = <97500>; 367*724ba675SRob Herring status = "disabled"; 368*724ba675SRob Herring }; 369*724ba675SRob Herring 370*724ba675SRob Herring hdmi1: hdmi@7ef05700 { 371*724ba675SRob Herring compatible = "brcm,bcm2711-hdmi1"; 372*724ba675SRob Herring reg = <0x7ef05700 0x300>, 373*724ba675SRob Herring <0x7ef05300 0x200>, 374*724ba675SRob Herring <0x7ef05f00 0x80>, 375*724ba675SRob Herring <0x7ef05f80 0x80>, 376*724ba675SRob Herring <0x7ef06b00 0x200>, 377*724ba675SRob Herring <0x7ef06f00 0x400>, 378*724ba675SRob Herring <0x7ef00280 0x80>, 379*724ba675SRob Herring <0x7ef09300 0x100>, 380*724ba675SRob Herring <0x7ef20000 0x100>; 381*724ba675SRob Herring reg-names = "hdmi", 382*724ba675SRob Herring "dvp", 383*724ba675SRob Herring "phy", 384*724ba675SRob Herring "rm", 385*724ba675SRob Herring "packet", 386*724ba675SRob Herring "metadata", 387*724ba675SRob Herring "csc", 388*724ba675SRob Herring "cec", 389*724ba675SRob Herring "hd"; 390*724ba675SRob Herring ddc = <&ddc1>; 391*724ba675SRob Herring clock-names = "hdmi", "bvb", "audio", "cec"; 392*724ba675SRob Herring resets = <&dvp 1>; 393*724ba675SRob Herring interrupt-parent = <&aon_intr>; 394*724ba675SRob Herring interrupts = <8>, <7>, <6>, 395*724ba675SRob Herring <9>, <10>, <11>; 396*724ba675SRob Herring interrupt-names = "cec-tx", "cec-rx", "cec-low", 397*724ba675SRob Herring "wakeup", "hpd-connected", "hpd-removed"; 398*724ba675SRob Herring dmas = <&dma 17>; 399*724ba675SRob Herring dma-names = "audio-rx"; 400*724ba675SRob Herring status = "disabled"; 401*724ba675SRob Herring }; 402*724ba675SRob Herring 403*724ba675SRob Herring ddc1: i2c@7ef09500 { 404*724ba675SRob Herring compatible = "brcm,bcm2711-hdmi-i2c"; 405*724ba675SRob Herring reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>; 406*724ba675SRob Herring reg-names = "bsc", "auto-i2c"; 407*724ba675SRob Herring clock-frequency = <97500>; 408*724ba675SRob Herring status = "disabled"; 409*724ba675SRob Herring }; 410*724ba675SRob Herring }; 411*724ba675SRob Herring 412*724ba675SRob Herring /* 413*724ba675SRob Herring * emmc2 has different DMA constraints based on SoC revisions. It was 414*724ba675SRob Herring * moved into its own bus, so as for RPi4's firmware to update them. 415*724ba675SRob Herring * The firmware will find whether the emmc2bus alias is defined, and if 416*724ba675SRob Herring * so, it'll edit the dma-ranges property below accordingly. 417*724ba675SRob Herring */ 418*724ba675SRob Herring emmc2bus: emmc2bus { 419*724ba675SRob Herring compatible = "simple-bus"; 420*724ba675SRob Herring #address-cells = <2>; 421*724ba675SRob Herring #size-cells = <1>; 422*724ba675SRob Herring 423*724ba675SRob Herring ranges = <0x0 0x7e000000 0x0 0xfe000000 0x01800000>; 424*724ba675SRob Herring dma-ranges = <0x0 0xc0000000 0x0 0x00000000 0x40000000>; 425*724ba675SRob Herring 426*724ba675SRob Herring emmc2: mmc@7e340000 { 427*724ba675SRob Herring compatible = "brcm,bcm2711-emmc2"; 428*724ba675SRob Herring reg = <0x0 0x7e340000 0x100>; 429*724ba675SRob Herring interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 430*724ba675SRob Herring clocks = <&clocks BCM2711_CLOCK_EMMC2>; 431*724ba675SRob Herring status = "disabled"; 432*724ba675SRob Herring }; 433*724ba675SRob Herring }; 434*724ba675SRob Herring 435*724ba675SRob Herring arm-pmu { 436*724ba675SRob Herring compatible = "arm,cortex-a72-pmu", "arm,armv8-pmuv3"; 437*724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 438*724ba675SRob Herring <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 439*724ba675SRob Herring <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 440*724ba675SRob Herring <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 441*724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 442*724ba675SRob Herring }; 443*724ba675SRob Herring 444*724ba675SRob Herring timer { 445*724ba675SRob Herring compatible = "arm,armv8-timer"; 446*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | 447*724ba675SRob Herring IRQ_TYPE_LEVEL_LOW)>, 448*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | 449*724ba675SRob Herring IRQ_TYPE_LEVEL_LOW)>, 450*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | 451*724ba675SRob Herring IRQ_TYPE_LEVEL_LOW)>, 452*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | 453*724ba675SRob Herring IRQ_TYPE_LEVEL_LOW)>; 454*724ba675SRob Herring /* This only applies to the ARMv7 stub */ 455*724ba675SRob Herring arm,cpu-registers-not-fw-configured; 456*724ba675SRob Herring }; 457*724ba675SRob Herring 458*724ba675SRob Herring cpus: cpus { 459*724ba675SRob Herring #address-cells = <1>; 460*724ba675SRob Herring #size-cells = <0>; 461*724ba675SRob Herring enable-method = "brcm,bcm2836-smp"; // for ARM 32-bit 462*724ba675SRob Herring 463*724ba675SRob Herring /* Source for d/i-cache-line-size and d/i-cache-sets 464*724ba675SRob Herring * https://developer.arm.com/documentation/100095/0003 465*724ba675SRob Herring * /Level-1-Memory-System/About-the-L1-memory-system?lang=en 466*724ba675SRob Herring * Source for d/i-cache-size 467*724ba675SRob Herring * https://www.raspberrypi.com/documentation/computers 468*724ba675SRob Herring * /processors.html#bcm2711 469*724ba675SRob Herring */ 470*724ba675SRob Herring cpu0: cpu@0 { 471*724ba675SRob Herring device_type = "cpu"; 472*724ba675SRob Herring compatible = "arm,cortex-a72"; 473*724ba675SRob Herring reg = <0>; 474*724ba675SRob Herring enable-method = "spin-table"; 475*724ba675SRob Herring cpu-release-addr = <0x0 0x000000d8>; 476*724ba675SRob Herring d-cache-size = <0x8000>; 477*724ba675SRob Herring d-cache-line-size = <64>; 478*724ba675SRob Herring d-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 479*724ba675SRob Herring i-cache-size = <0xc000>; 480*724ba675SRob Herring i-cache-line-size = <64>; 481*724ba675SRob Herring i-cache-sets = <256>; // 48KiB(size)/64(line-size)=768ways/3-way set 482*724ba675SRob Herring next-level-cache = <&l2>; 483*724ba675SRob Herring }; 484*724ba675SRob Herring 485*724ba675SRob Herring cpu1: cpu@1 { 486*724ba675SRob Herring device_type = "cpu"; 487*724ba675SRob Herring compatible = "arm,cortex-a72"; 488*724ba675SRob Herring reg = <1>; 489*724ba675SRob Herring enable-method = "spin-table"; 490*724ba675SRob Herring cpu-release-addr = <0x0 0x000000e0>; 491*724ba675SRob Herring d-cache-size = <0x8000>; 492*724ba675SRob Herring d-cache-line-size = <64>; 493*724ba675SRob Herring d-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 494*724ba675SRob Herring i-cache-size = <0xc000>; 495*724ba675SRob Herring i-cache-line-size = <64>; 496*724ba675SRob Herring i-cache-sets = <256>; // 48KiB(size)/64(line-size)=768ways/3-way set 497*724ba675SRob Herring next-level-cache = <&l2>; 498*724ba675SRob Herring }; 499*724ba675SRob Herring 500*724ba675SRob Herring cpu2: cpu@2 { 501*724ba675SRob Herring device_type = "cpu"; 502*724ba675SRob Herring compatible = "arm,cortex-a72"; 503*724ba675SRob Herring reg = <2>; 504*724ba675SRob Herring enable-method = "spin-table"; 505*724ba675SRob Herring cpu-release-addr = <0x0 0x000000e8>; 506*724ba675SRob Herring d-cache-size = <0x8000>; 507*724ba675SRob Herring d-cache-line-size = <64>; 508*724ba675SRob Herring d-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 509*724ba675SRob Herring i-cache-size = <0xc000>; 510*724ba675SRob Herring i-cache-line-size = <64>; 511*724ba675SRob Herring i-cache-sets = <256>; // 48KiB(size)/64(line-size)=768ways/3-way set 512*724ba675SRob Herring next-level-cache = <&l2>; 513*724ba675SRob Herring }; 514*724ba675SRob Herring 515*724ba675SRob Herring cpu3: cpu@3 { 516*724ba675SRob Herring device_type = "cpu"; 517*724ba675SRob Herring compatible = "arm,cortex-a72"; 518*724ba675SRob Herring reg = <3>; 519*724ba675SRob Herring enable-method = "spin-table"; 520*724ba675SRob Herring cpu-release-addr = <0x0 0x000000f0>; 521*724ba675SRob Herring d-cache-size = <0x8000>; 522*724ba675SRob Herring d-cache-line-size = <64>; 523*724ba675SRob Herring d-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 524*724ba675SRob Herring i-cache-size = <0xc000>; 525*724ba675SRob Herring i-cache-line-size = <64>; 526*724ba675SRob Herring i-cache-sets = <256>; // 48KiB(size)/64(line-size)=768ways/3-way set 527*724ba675SRob Herring next-level-cache = <&l2>; 528*724ba675SRob Herring }; 529*724ba675SRob Herring 530*724ba675SRob Herring /* Source for d/i-cache-line-size and d/i-cache-sets 531*724ba675SRob Herring * https://developer.arm.com/documentation/100095/0003 532*724ba675SRob Herring * /Level-2-Memory-System/About-the-L2-memory-system?lang=en 533*724ba675SRob Herring * Source for d/i-cache-size 534*724ba675SRob Herring * https://www.raspberrypi.com/documentation/computers 535*724ba675SRob Herring * /processors.html#bcm2711 536*724ba675SRob Herring */ 537*724ba675SRob Herring l2: l2-cache0 { 538*724ba675SRob Herring compatible = "cache"; 539*724ba675SRob Herring cache-unified; 540*724ba675SRob Herring cache-size = <0x100000>; 541*724ba675SRob Herring cache-line-size = <64>; 542*724ba675SRob Herring cache-sets = <1024>; // 1MiB(size)/64(line-size)=16384ways/16-way set 543*724ba675SRob Herring cache-level = <2>; 544*724ba675SRob Herring }; 545*724ba675SRob Herring }; 546*724ba675SRob Herring 547*724ba675SRob Herring scb { 548*724ba675SRob Herring compatible = "simple-bus"; 549*724ba675SRob Herring #address-cells = <2>; 550*724ba675SRob Herring #size-cells = <1>; 551*724ba675SRob Herring 552*724ba675SRob Herring ranges = <0x0 0x7c000000 0x0 0xfc000000 0x03800000>, 553*724ba675SRob Herring <0x6 0x00000000 0x6 0x00000000 0x40000000>; 554*724ba675SRob Herring 555*724ba675SRob Herring pcie0: pcie@7d500000 { 556*724ba675SRob Herring compatible = "brcm,bcm2711-pcie"; 557*724ba675SRob Herring reg = <0x0 0x7d500000 0x9310>; 558*724ba675SRob Herring device_type = "pci"; 559*724ba675SRob Herring #address-cells = <3>; 560*724ba675SRob Herring #interrupt-cells = <1>; 561*724ba675SRob Herring #size-cells = <2>; 562*724ba675SRob Herring interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 563*724ba675SRob Herring <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; 564*724ba675SRob Herring interrupt-names = "pcie", "msi"; 565*724ba675SRob Herring interrupt-map-mask = <0x0 0x0 0x0 0x7>; 566*724ba675SRob Herring interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 567*724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH>, 568*724ba675SRob Herring <0 0 0 2 &gicv2 GIC_SPI 144 569*724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH>, 570*724ba675SRob Herring <0 0 0 3 &gicv2 GIC_SPI 145 571*724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH>, 572*724ba675SRob Herring <0 0 0 4 &gicv2 GIC_SPI 146 573*724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH>; 574*724ba675SRob Herring msi-controller; 575*724ba675SRob Herring msi-parent = <&pcie0>; 576*724ba675SRob Herring 577*724ba675SRob Herring ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 578*724ba675SRob Herring 0x0 0x04000000>; 579*724ba675SRob Herring /* 580*724ba675SRob Herring * The wrapper around the PCIe block has a bug 581*724ba675SRob Herring * preventing it from accessing beyond the first 3GB of 582*724ba675SRob Herring * memory. 583*724ba675SRob Herring */ 584*724ba675SRob Herring dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000 585*724ba675SRob Herring 0x0 0xc0000000>; 586*724ba675SRob Herring brcm,enable-ssc; 587*724ba675SRob Herring }; 588*724ba675SRob Herring 589*724ba675SRob Herring genet: ethernet@7d580000 { 590*724ba675SRob Herring compatible = "brcm,bcm2711-genet-v5"; 591*724ba675SRob Herring reg = <0x0 0x7d580000 0x10000>; 592*724ba675SRob Herring #address-cells = <0x1>; 593*724ba675SRob Herring #size-cells = <0x1>; 594*724ba675SRob Herring interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, 595*724ba675SRob Herring <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; 596*724ba675SRob Herring status = "disabled"; 597*724ba675SRob Herring 598*724ba675SRob Herring genet_mdio: mdio@e14 { 599*724ba675SRob Herring compatible = "brcm,genet-mdio-v5"; 600*724ba675SRob Herring reg = <0xe14 0x8>; 601*724ba675SRob Herring reg-names = "mdio"; 602*724ba675SRob Herring #address-cells = <0x1>; 603*724ba675SRob Herring #size-cells = <0x0>; 604*724ba675SRob Herring }; 605*724ba675SRob Herring }; 606*724ba675SRob Herring 607*724ba675SRob Herring v3d: gpu@7ec00000 { 608*724ba675SRob Herring compatible = "brcm,2711-v3d"; 609*724ba675SRob Herring reg = <0x0 0x7ec00000 0x4000>, 610*724ba675SRob Herring <0x0 0x7ec04000 0x4000>; 611*724ba675SRob Herring reg-names = "hub", "core0"; 612*724ba675SRob Herring 613*724ba675SRob Herring power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; 614*724ba675SRob Herring resets = <&pm BCM2835_RESET_V3D>; 615*724ba675SRob Herring interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 616*724ba675SRob Herring }; 617*724ba675SRob Herring }; 618*724ba675SRob Herring}; 619*724ba675SRob Herring 620*724ba675SRob Herring&clk_osc { 621*724ba675SRob Herring clock-frequency = <54000000>; 622*724ba675SRob Herring}; 623*724ba675SRob Herring 624*724ba675SRob Herring&clocks { 625*724ba675SRob Herring compatible = "brcm,bcm2711-cprman"; 626*724ba675SRob Herring}; 627*724ba675SRob Herring 628*724ba675SRob Herring&cpu_thermal { 629*724ba675SRob Herring coefficients = <(-487) 410040>; 630*724ba675SRob Herring thermal-sensors = <&thermal>; 631*724ba675SRob Herring}; 632*724ba675SRob Herring 633*724ba675SRob Herring&dsi0 { 634*724ba675SRob Herring interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 635*724ba675SRob Herring}; 636*724ba675SRob Herring 637*724ba675SRob Herring&dsi1 { 638*724ba675SRob Herring interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 639*724ba675SRob Herring compatible = "brcm,bcm2711-dsi1"; 640*724ba675SRob Herring}; 641*724ba675SRob Herring 642*724ba675SRob Herring&gpio { 643*724ba675SRob Herring compatible = "brcm,bcm2711-gpio"; 644*724ba675SRob Herring interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 645*724ba675SRob Herring <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 646*724ba675SRob Herring <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 647*724ba675SRob Herring <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; 648*724ba675SRob Herring 649*724ba675SRob Herring gpio-ranges = <&gpio 0 0 58>; 650*724ba675SRob Herring 651*724ba675SRob Herring gpclk0_gpio49: gpclk0-gpio49 { 652*724ba675SRob Herring pin-gpclk { 653*724ba675SRob Herring pins = "gpio49"; 654*724ba675SRob Herring function = "alt1"; 655*724ba675SRob Herring bias-disable; 656*724ba675SRob Herring }; 657*724ba675SRob Herring }; 658*724ba675SRob Herring gpclk1_gpio50: gpclk1-gpio50 { 659*724ba675SRob Herring pin-gpclk { 660*724ba675SRob Herring pins = "gpio50"; 661*724ba675SRob Herring function = "alt1"; 662*724ba675SRob Herring bias-disable; 663*724ba675SRob Herring }; 664*724ba675SRob Herring }; 665*724ba675SRob Herring gpclk2_gpio51: gpclk2-gpio51 { 666*724ba675SRob Herring pin-gpclk { 667*724ba675SRob Herring pins = "gpio51"; 668*724ba675SRob Herring function = "alt1"; 669*724ba675SRob Herring bias-disable; 670*724ba675SRob Herring }; 671*724ba675SRob Herring }; 672*724ba675SRob Herring 673*724ba675SRob Herring i2c0_gpio46: i2c0-gpio46 { 674*724ba675SRob Herring pin-sda { 675*724ba675SRob Herring function = "alt0"; 676*724ba675SRob Herring pins = "gpio46"; 677*724ba675SRob Herring bias-pull-up; 678*724ba675SRob Herring }; 679*724ba675SRob Herring pin-scl { 680*724ba675SRob Herring function = "alt0"; 681*724ba675SRob Herring pins = "gpio47"; 682*724ba675SRob Herring bias-disable; 683*724ba675SRob Herring }; 684*724ba675SRob Herring }; 685*724ba675SRob Herring i2c1_gpio46: i2c1-gpio46 { 686*724ba675SRob Herring pin-sda { 687*724ba675SRob Herring function = "alt1"; 688*724ba675SRob Herring pins = "gpio46"; 689*724ba675SRob Herring bias-pull-up; 690*724ba675SRob Herring }; 691*724ba675SRob Herring pin-scl { 692*724ba675SRob Herring function = "alt1"; 693*724ba675SRob Herring pins = "gpio47"; 694*724ba675SRob Herring bias-disable; 695*724ba675SRob Herring }; 696*724ba675SRob Herring }; 697*724ba675SRob Herring i2c3_gpio2: i2c3-gpio2 { 698*724ba675SRob Herring pin-sda { 699*724ba675SRob Herring function = "alt5"; 700*724ba675SRob Herring pins = "gpio2"; 701*724ba675SRob Herring bias-pull-up; 702*724ba675SRob Herring }; 703*724ba675SRob Herring pin-scl { 704*724ba675SRob Herring function = "alt5"; 705*724ba675SRob Herring pins = "gpio3"; 706*724ba675SRob Herring bias-disable; 707*724ba675SRob Herring }; 708*724ba675SRob Herring }; 709*724ba675SRob Herring i2c3_gpio4: i2c3-gpio4 { 710*724ba675SRob Herring pin-sda { 711*724ba675SRob Herring function = "alt5"; 712*724ba675SRob Herring pins = "gpio4"; 713*724ba675SRob Herring bias-pull-up; 714*724ba675SRob Herring }; 715*724ba675SRob Herring pin-scl { 716*724ba675SRob Herring function = "alt5"; 717*724ba675SRob Herring pins = "gpio5"; 718*724ba675SRob Herring bias-disable; 719*724ba675SRob Herring }; 720*724ba675SRob Herring }; 721*724ba675SRob Herring i2c4_gpio6: i2c4-gpio6 { 722*724ba675SRob Herring pin-sda { 723*724ba675SRob Herring function = "alt5"; 724*724ba675SRob Herring pins = "gpio6"; 725*724ba675SRob Herring bias-pull-up; 726*724ba675SRob Herring }; 727*724ba675SRob Herring pin-scl { 728*724ba675SRob Herring function = "alt5"; 729*724ba675SRob Herring pins = "gpio7"; 730*724ba675SRob Herring bias-disable; 731*724ba675SRob Herring }; 732*724ba675SRob Herring }; 733*724ba675SRob Herring i2c4_gpio8: i2c4-gpio8 { 734*724ba675SRob Herring pin-sda { 735*724ba675SRob Herring function = "alt5"; 736*724ba675SRob Herring pins = "gpio8"; 737*724ba675SRob Herring bias-pull-up; 738*724ba675SRob Herring }; 739*724ba675SRob Herring pin-scl { 740*724ba675SRob Herring function = "alt5"; 741*724ba675SRob Herring pins = "gpio9"; 742*724ba675SRob Herring bias-disable; 743*724ba675SRob Herring }; 744*724ba675SRob Herring }; 745*724ba675SRob Herring i2c5_gpio10: i2c5-gpio10 { 746*724ba675SRob Herring pin-sda { 747*724ba675SRob Herring function = "alt5"; 748*724ba675SRob Herring pins = "gpio10"; 749*724ba675SRob Herring bias-pull-up; 750*724ba675SRob Herring }; 751*724ba675SRob Herring pin-scl { 752*724ba675SRob Herring function = "alt5"; 753*724ba675SRob Herring pins = "gpio11"; 754*724ba675SRob Herring bias-disable; 755*724ba675SRob Herring }; 756*724ba675SRob Herring }; 757*724ba675SRob Herring i2c5_gpio12: i2c5-gpio12 { 758*724ba675SRob Herring pin-sda { 759*724ba675SRob Herring function = "alt5"; 760*724ba675SRob Herring pins = "gpio12"; 761*724ba675SRob Herring bias-pull-up; 762*724ba675SRob Herring }; 763*724ba675SRob Herring pin-scl { 764*724ba675SRob Herring function = "alt5"; 765*724ba675SRob Herring pins = "gpio13"; 766*724ba675SRob Herring bias-disable; 767*724ba675SRob Herring }; 768*724ba675SRob Herring }; 769*724ba675SRob Herring i2c6_gpio0: i2c6-gpio0 { 770*724ba675SRob Herring pin-sda { 771*724ba675SRob Herring function = "alt5"; 772*724ba675SRob Herring pins = "gpio0"; 773*724ba675SRob Herring bias-pull-up; 774*724ba675SRob Herring }; 775*724ba675SRob Herring pin-scl { 776*724ba675SRob Herring function = "alt5"; 777*724ba675SRob Herring pins = "gpio1"; 778*724ba675SRob Herring bias-disable; 779*724ba675SRob Herring }; 780*724ba675SRob Herring }; 781*724ba675SRob Herring i2c6_gpio22: i2c6-gpio22 { 782*724ba675SRob Herring pin-sda { 783*724ba675SRob Herring function = "alt5"; 784*724ba675SRob Herring pins = "gpio22"; 785*724ba675SRob Herring bias-pull-up; 786*724ba675SRob Herring }; 787*724ba675SRob Herring pin-scl { 788*724ba675SRob Herring function = "alt5"; 789*724ba675SRob Herring pins = "gpio23"; 790*724ba675SRob Herring bias-disable; 791*724ba675SRob Herring }; 792*724ba675SRob Herring }; 793*724ba675SRob Herring i2c_slave_gpio8: i2c-slave-gpio8 { 794*724ba675SRob Herring pins-i2c-slave { 795*724ba675SRob Herring pins = "gpio8", 796*724ba675SRob Herring "gpio9", 797*724ba675SRob Herring "gpio10", 798*724ba675SRob Herring "gpio11"; 799*724ba675SRob Herring function = "alt3"; 800*724ba675SRob Herring }; 801*724ba675SRob Herring }; 802*724ba675SRob Herring 803*724ba675SRob Herring jtag_gpio48: jtag-gpio48 { 804*724ba675SRob Herring pins-jtag { 805*724ba675SRob Herring pins = "gpio48", 806*724ba675SRob Herring "gpio49", 807*724ba675SRob Herring "gpio50", 808*724ba675SRob Herring "gpio51", 809*724ba675SRob Herring "gpio52", 810*724ba675SRob Herring "gpio53"; 811*724ba675SRob Herring function = "alt4"; 812*724ba675SRob Herring }; 813*724ba675SRob Herring }; 814*724ba675SRob Herring 815*724ba675SRob Herring mii_gpio28: mii-gpio28 { 816*724ba675SRob Herring pins-mii { 817*724ba675SRob Herring pins = "gpio28", 818*724ba675SRob Herring "gpio29", 819*724ba675SRob Herring "gpio30", 820*724ba675SRob Herring "gpio31"; 821*724ba675SRob Herring function = "alt4"; 822*724ba675SRob Herring }; 823*724ba675SRob Herring }; 824*724ba675SRob Herring mii_gpio36: mii-gpio36 { 825*724ba675SRob Herring pins-mii { 826*724ba675SRob Herring pins = "gpio36", 827*724ba675SRob Herring "gpio37", 828*724ba675SRob Herring "gpio38", 829*724ba675SRob Herring "gpio39"; 830*724ba675SRob Herring function = "alt5"; 831*724ba675SRob Herring }; 832*724ba675SRob Herring }; 833*724ba675SRob Herring 834*724ba675SRob Herring pcm_gpio50: pcm-gpio50 { 835*724ba675SRob Herring pins-pcm { 836*724ba675SRob Herring pins = "gpio50", 837*724ba675SRob Herring "gpio51", 838*724ba675SRob Herring "gpio52", 839*724ba675SRob Herring "gpio53"; 840*724ba675SRob Herring function = "alt2"; 841*724ba675SRob Herring }; 842*724ba675SRob Herring }; 843*724ba675SRob Herring 844*724ba675SRob Herring pwm0_0_gpio12: pwm0-0-gpio12 { 845*724ba675SRob Herring pin-pwm { 846*724ba675SRob Herring pins = "gpio12"; 847*724ba675SRob Herring function = "alt0"; 848*724ba675SRob Herring bias-disable; 849*724ba675SRob Herring }; 850*724ba675SRob Herring }; 851*724ba675SRob Herring pwm0_0_gpio18: pwm0-0-gpio18 { 852*724ba675SRob Herring pin-pwm { 853*724ba675SRob Herring pins = "gpio18"; 854*724ba675SRob Herring function = "alt5"; 855*724ba675SRob Herring bias-disable; 856*724ba675SRob Herring }; 857*724ba675SRob Herring }; 858*724ba675SRob Herring pwm1_0_gpio40: pwm1-0-gpio40 { 859*724ba675SRob Herring pin-pwm { 860*724ba675SRob Herring pins = "gpio40"; 861*724ba675SRob Herring function = "alt0"; 862*724ba675SRob Herring bias-disable; 863*724ba675SRob Herring }; 864*724ba675SRob Herring }; 865*724ba675SRob Herring pwm0_1_gpio13: pwm0-1-gpio13 { 866*724ba675SRob Herring pin-pwm { 867*724ba675SRob Herring pins = "gpio13"; 868*724ba675SRob Herring function = "alt0"; 869*724ba675SRob Herring bias-disable; 870*724ba675SRob Herring }; 871*724ba675SRob Herring }; 872*724ba675SRob Herring pwm0_1_gpio19: pwm0-1-gpio19 { 873*724ba675SRob Herring pin-pwm { 874*724ba675SRob Herring pins = "gpio19"; 875*724ba675SRob Herring function = "alt5"; 876*724ba675SRob Herring bias-disable; 877*724ba675SRob Herring }; 878*724ba675SRob Herring }; 879*724ba675SRob Herring pwm1_1_gpio41: pwm1-1-gpio41 { 880*724ba675SRob Herring pin-pwm { 881*724ba675SRob Herring pins = "gpio41"; 882*724ba675SRob Herring function = "alt0"; 883*724ba675SRob Herring bias-disable; 884*724ba675SRob Herring }; 885*724ba675SRob Herring }; 886*724ba675SRob Herring pwm0_1_gpio45: pwm0-1-gpio45 { 887*724ba675SRob Herring pin-pwm { 888*724ba675SRob Herring pins = "gpio45"; 889*724ba675SRob Herring function = "alt0"; 890*724ba675SRob Herring bias-disable; 891*724ba675SRob Herring }; 892*724ba675SRob Herring }; 893*724ba675SRob Herring pwm0_0_gpio52: pwm0-0-gpio52 { 894*724ba675SRob Herring pin-pwm { 895*724ba675SRob Herring pins = "gpio52"; 896*724ba675SRob Herring function = "alt1"; 897*724ba675SRob Herring bias-disable; 898*724ba675SRob Herring }; 899*724ba675SRob Herring }; 900*724ba675SRob Herring pwm0_1_gpio53: pwm0-1-gpio53 { 901*724ba675SRob Herring pin-pwm { 902*724ba675SRob Herring pins = "gpio53"; 903*724ba675SRob Herring function = "alt1"; 904*724ba675SRob Herring bias-disable; 905*724ba675SRob Herring }; 906*724ba675SRob Herring }; 907*724ba675SRob Herring 908*724ba675SRob Herring rgmii_gpio35: rgmii-gpio35 { 909*724ba675SRob Herring pin-start-stop { 910*724ba675SRob Herring pins = "gpio35"; 911*724ba675SRob Herring function = "alt4"; 912*724ba675SRob Herring }; 913*724ba675SRob Herring pin-rx-ok { 914*724ba675SRob Herring pins = "gpio36"; 915*724ba675SRob Herring function = "alt4"; 916*724ba675SRob Herring }; 917*724ba675SRob Herring }; 918*724ba675SRob Herring rgmii_irq_gpio34: rgmii-irq-gpio34 { 919*724ba675SRob Herring pin-irq { 920*724ba675SRob Herring pins = "gpio34"; 921*724ba675SRob Herring function = "alt5"; 922*724ba675SRob Herring }; 923*724ba675SRob Herring }; 924*724ba675SRob Herring rgmii_irq_gpio39: rgmii-irq-gpio39 { 925*724ba675SRob Herring pin-irq { 926*724ba675SRob Herring pins = "gpio39"; 927*724ba675SRob Herring function = "alt4"; 928*724ba675SRob Herring }; 929*724ba675SRob Herring }; 930*724ba675SRob Herring rgmii_mdio_gpio28: rgmii-mdio-gpio28 { 931*724ba675SRob Herring pins-mdio { 932*724ba675SRob Herring pins = "gpio28", 933*724ba675SRob Herring "gpio29"; 934*724ba675SRob Herring function = "alt5"; 935*724ba675SRob Herring }; 936*724ba675SRob Herring }; 937*724ba675SRob Herring rgmii_mdio_gpio37: rgmii-mdio-gpio37 { 938*724ba675SRob Herring pins-mdio { 939*724ba675SRob Herring pins = "gpio37", 940*724ba675SRob Herring "gpio38"; 941*724ba675SRob Herring function = "alt4"; 942*724ba675SRob Herring }; 943*724ba675SRob Herring }; 944*724ba675SRob Herring 945*724ba675SRob Herring spi0_gpio46: spi0-gpio46 { 946*724ba675SRob Herring pins-spi { 947*724ba675SRob Herring pins = "gpio46", 948*724ba675SRob Herring "gpio47", 949*724ba675SRob Herring "gpio48", 950*724ba675SRob Herring "gpio49"; 951*724ba675SRob Herring function = "alt2"; 952*724ba675SRob Herring }; 953*724ba675SRob Herring }; 954*724ba675SRob Herring spi2_gpio46: spi2-gpio46 { 955*724ba675SRob Herring pins-spi { 956*724ba675SRob Herring pins = "gpio46", 957*724ba675SRob Herring "gpio47", 958*724ba675SRob Herring "gpio48", 959*724ba675SRob Herring "gpio49", 960*724ba675SRob Herring "gpio50"; 961*724ba675SRob Herring function = "alt5"; 962*724ba675SRob Herring }; 963*724ba675SRob Herring }; 964*724ba675SRob Herring spi3_gpio0: spi3-gpio0 { 965*724ba675SRob Herring pins-spi { 966*724ba675SRob Herring pins = "gpio0", 967*724ba675SRob Herring "gpio1", 968*724ba675SRob Herring "gpio2", 969*724ba675SRob Herring "gpio3"; 970*724ba675SRob Herring function = "alt3"; 971*724ba675SRob Herring }; 972*724ba675SRob Herring }; 973*724ba675SRob Herring spi4_gpio4: spi4-gpio4 { 974*724ba675SRob Herring pins-spi { 975*724ba675SRob Herring pins = "gpio4", 976*724ba675SRob Herring "gpio5", 977*724ba675SRob Herring "gpio6", 978*724ba675SRob Herring "gpio7"; 979*724ba675SRob Herring function = "alt3"; 980*724ba675SRob Herring }; 981*724ba675SRob Herring }; 982*724ba675SRob Herring spi5_gpio12: spi5-gpio12 { 983*724ba675SRob Herring pins-spi { 984*724ba675SRob Herring pins = "gpio12", 985*724ba675SRob Herring "gpio13", 986*724ba675SRob Herring "gpio14", 987*724ba675SRob Herring "gpio15"; 988*724ba675SRob Herring function = "alt3"; 989*724ba675SRob Herring }; 990*724ba675SRob Herring }; 991*724ba675SRob Herring spi6_gpio18: spi6-gpio18 { 992*724ba675SRob Herring pins-spi { 993*724ba675SRob Herring pins = "gpio18", 994*724ba675SRob Herring "gpio19", 995*724ba675SRob Herring "gpio20", 996*724ba675SRob Herring "gpio21"; 997*724ba675SRob Herring function = "alt3"; 998*724ba675SRob Herring }; 999*724ba675SRob Herring }; 1000*724ba675SRob Herring 1001*724ba675SRob Herring uart2_gpio0: uart2-gpio0 { 1002*724ba675SRob Herring pin-tx { 1003*724ba675SRob Herring pins = "gpio0"; 1004*724ba675SRob Herring function = "alt4"; 1005*724ba675SRob Herring bias-disable; 1006*724ba675SRob Herring }; 1007*724ba675SRob Herring pin-rx { 1008*724ba675SRob Herring pins = "gpio1"; 1009*724ba675SRob Herring function = "alt4"; 1010*724ba675SRob Herring bias-pull-up; 1011*724ba675SRob Herring }; 1012*724ba675SRob Herring }; 1013*724ba675SRob Herring uart2_ctsrts_gpio2: uart2-ctsrts-gpio2 { 1014*724ba675SRob Herring pin-cts { 1015*724ba675SRob Herring pins = "gpio2"; 1016*724ba675SRob Herring function = "alt4"; 1017*724ba675SRob Herring bias-pull-up; 1018*724ba675SRob Herring }; 1019*724ba675SRob Herring pin-rts { 1020*724ba675SRob Herring pins = "gpio3"; 1021*724ba675SRob Herring function = "alt4"; 1022*724ba675SRob Herring bias-disable; 1023*724ba675SRob Herring }; 1024*724ba675SRob Herring }; 1025*724ba675SRob Herring uart3_gpio4: uart3-gpio4 { 1026*724ba675SRob Herring pin-tx { 1027*724ba675SRob Herring pins = "gpio4"; 1028*724ba675SRob Herring function = "alt4"; 1029*724ba675SRob Herring bias-disable; 1030*724ba675SRob Herring }; 1031*724ba675SRob Herring pin-rx { 1032*724ba675SRob Herring pins = "gpio5"; 1033*724ba675SRob Herring function = "alt4"; 1034*724ba675SRob Herring bias-pull-up; 1035*724ba675SRob Herring }; 1036*724ba675SRob Herring }; 1037*724ba675SRob Herring uart3_ctsrts_gpio6: uart3-ctsrts-gpio6 { 1038*724ba675SRob Herring pin-cts { 1039*724ba675SRob Herring pins = "gpio6"; 1040*724ba675SRob Herring function = "alt4"; 1041*724ba675SRob Herring bias-pull-up; 1042*724ba675SRob Herring }; 1043*724ba675SRob Herring pin-rts { 1044*724ba675SRob Herring pins = "gpio7"; 1045*724ba675SRob Herring function = "alt4"; 1046*724ba675SRob Herring bias-disable; 1047*724ba675SRob Herring }; 1048*724ba675SRob Herring }; 1049*724ba675SRob Herring uart4_gpio8: uart4-gpio8 { 1050*724ba675SRob Herring pin-tx { 1051*724ba675SRob Herring pins = "gpio8"; 1052*724ba675SRob Herring function = "alt4"; 1053*724ba675SRob Herring bias-disable; 1054*724ba675SRob Herring }; 1055*724ba675SRob Herring pin-rx { 1056*724ba675SRob Herring pins = "gpio9"; 1057*724ba675SRob Herring function = "alt4"; 1058*724ba675SRob Herring bias-pull-up; 1059*724ba675SRob Herring }; 1060*724ba675SRob Herring }; 1061*724ba675SRob Herring uart4_ctsrts_gpio10: uart4-ctsrts-gpio10 { 1062*724ba675SRob Herring pin-cts { 1063*724ba675SRob Herring pins = "gpio10"; 1064*724ba675SRob Herring function = "alt4"; 1065*724ba675SRob Herring bias-pull-up; 1066*724ba675SRob Herring }; 1067*724ba675SRob Herring pin-rts { 1068*724ba675SRob Herring pins = "gpio11"; 1069*724ba675SRob Herring function = "alt4"; 1070*724ba675SRob Herring bias-disable; 1071*724ba675SRob Herring }; 1072*724ba675SRob Herring }; 1073*724ba675SRob Herring uart5_gpio12: uart5-gpio12 { 1074*724ba675SRob Herring pin-tx { 1075*724ba675SRob Herring pins = "gpio12"; 1076*724ba675SRob Herring function = "alt4"; 1077*724ba675SRob Herring bias-disable; 1078*724ba675SRob Herring }; 1079*724ba675SRob Herring pin-rx { 1080*724ba675SRob Herring pins = "gpio13"; 1081*724ba675SRob Herring function = "alt4"; 1082*724ba675SRob Herring bias-pull-up; 1083*724ba675SRob Herring }; 1084*724ba675SRob Herring }; 1085*724ba675SRob Herring uart5_ctsrts_gpio14: uart5-ctsrts-gpio14 { 1086*724ba675SRob Herring pin-cts { 1087*724ba675SRob Herring pins = "gpio14"; 1088*724ba675SRob Herring function = "alt4"; 1089*724ba675SRob Herring bias-pull-up; 1090*724ba675SRob Herring }; 1091*724ba675SRob Herring pin-rts { 1092*724ba675SRob Herring pins = "gpio15"; 1093*724ba675SRob Herring function = "alt4"; 1094*724ba675SRob Herring bias-disable; 1095*724ba675SRob Herring }; 1096*724ba675SRob Herring }; 1097*724ba675SRob Herring}; 1098*724ba675SRob Herring 1099*724ba675SRob Herring&rmem { 1100*724ba675SRob Herring #address-cells = <2>; 1101*724ba675SRob Herring}; 1102*724ba675SRob Herring 1103*724ba675SRob Herring&cma { 1104*724ba675SRob Herring /* 1105*724ba675SRob Herring * arm64 reserves the CMA by default somewhere in ZONE_DMA32, 1106*724ba675SRob Herring * that's not good enough for the BCM2711 as some devices can 1107*724ba675SRob Herring * only address the lower 1G of memory (ZONE_DMA). 1108*724ba675SRob Herring */ 1109*724ba675SRob Herring alloc-ranges = <0x0 0x00000000 0x40000000>; 1110*724ba675SRob Herring}; 1111*724ba675SRob Herring 1112*724ba675SRob Herring&i2c0 { 1113*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 1114*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 1115*724ba675SRob Herring}; 1116*724ba675SRob Herring 1117*724ba675SRob Herring&i2c1 { 1118*724ba675SRob Herring compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; 1119*724ba675SRob Herring interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 1120*724ba675SRob Herring}; 1121*724ba675SRob Herring 1122*724ba675SRob Herring&mailbox { 1123*724ba675SRob Herring interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 1124*724ba675SRob Herring}; 1125*724ba675SRob Herring 1126*724ba675SRob Herring&sdhci { 1127*724ba675SRob Herring interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 1128*724ba675SRob Herring}; 1129*724ba675SRob Herring 1130*724ba675SRob Herring&sdhost { 1131*724ba675SRob Herring interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 1132*724ba675SRob Herring}; 1133*724ba675SRob Herring 1134*724ba675SRob Herring&spi { 1135*724ba675SRob Herring interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 1136*724ba675SRob Herring}; 1137*724ba675SRob Herring 1138*724ba675SRob Herring&spi1 { 1139*724ba675SRob Herring interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 1140*724ba675SRob Herring}; 1141*724ba675SRob Herring 1142*724ba675SRob Herring&spi2 { 1143*724ba675SRob Herring interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 1144*724ba675SRob Herring}; 1145*724ba675SRob Herring 1146*724ba675SRob Herring&system_timer { 1147*724ba675SRob Herring interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 1148*724ba675SRob Herring <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 1149*724ba675SRob Herring <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 1150*724ba675SRob Herring <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 1151*724ba675SRob Herring}; 1152*724ba675SRob Herring 1153*724ba675SRob Herring&txp { 1154*724ba675SRob Herring interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 1155*724ba675SRob Herring}; 1156*724ba675SRob Herring 1157*724ba675SRob Herring&uart0 { 1158*724ba675SRob Herring interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 1159*724ba675SRob Herring}; 1160*724ba675SRob Herring 1161*724ba675SRob Herring&uart1 { 1162*724ba675SRob Herring interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 1163*724ba675SRob Herring}; 1164*724ba675SRob Herring 1165*724ba675SRob Herring&usb { 1166*724ba675SRob Herring interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 1167*724ba675SRob Herring}; 1168*724ba675SRob Herring 1169*724ba675SRob Herring&vec { 1170*724ba675SRob Herring compatible = "brcm,bcm2711-vec"; 1171*724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 1172*724ba675SRob Herring}; 1173