Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | #include "bcm2835-rpi.dtsi" |
| 3 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 4 | #include <dt-bindings/power/raspberrypi-power.h> |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 5 | #include <dt-bindings/reset/raspberrypi,firmware-reset.h> |
| 6 | |
| 7 | / { |
| 8 | /* Will be filled by the bootloader */ |
| 9 | memory@0 { |
| 10 | device_type = "memory"; |
| 11 | reg = <0 0 0>; |
| 12 | }; |
| 13 | |
| 14 | aliases { |
| 15 | emmc2bus = &emmc2bus; |
| 16 | ethernet0 = &genet; |
| 17 | pcie0 = &pcie0; |
| 18 | blconfig = &blconfig; |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | &firmware { |
| 23 | firmware_clocks: clocks { |
| 24 | compatible = "raspberrypi,firmware-clocks"; |
| 25 | #clock-cells = <1>; |
| 26 | }; |
| 27 | |
| 28 | expgpio: gpio { |
| 29 | compatible = "raspberrypi,firmware-gpio"; |
| 30 | gpio-controller; |
| 31 | #gpio-cells = <2>; |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | reset: reset { |
| 36 | compatible = "raspberrypi,firmware-reset"; |
| 37 | #reset-cells = <1>; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &hdmi0 { |
| 42 | clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>; |
| 43 | clock-names = "hdmi", "bvb", "audio", "cec"; |
| 44 | wifi-2.4ghz-coexistence; |
| 45 | }; |
| 46 | |
| 47 | &hdmi1 { |
| 48 | clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>; |
| 49 | clock-names = "hdmi", "bvb", "audio", "cec"; |
| 50 | wifi-2.4ghz-coexistence; |
| 51 | }; |
| 52 | |
| 53 | &hvs { |
| 54 | clocks = <&firmware_clocks 4>; |
| 55 | }; |
| 56 | |
| 57 | &rmem { |
| 58 | /* |
| 59 | * RPi4's co-processor will copy the board's bootloader configuration |
| 60 | * into memory for the OS to consume. It'll also update this node with |
| 61 | * its placement information. |
| 62 | */ |
| 63 | blconfig: nvram@0 { |
| 64 | compatible = "raspberrypi,bootloader-config", "nvmem-rmem"; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <1>; |
| 67 | reg = <0x0 0x0 0x0>; |
| 68 | no-map; |
| 69 | status = "disabled"; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | &v3d { |
| 74 | clocks = <&firmware_clocks 5>; |
| 75 | }; |
| 76 | |
| 77 | &vchiq { |
| 78 | interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 79 | }; |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 80 | |
| 81 | &xhci { |
| 82 | power-domains = <&power RPI_POWER_DOMAIN_USB>; |
| 83 | }; |