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