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