blob: c78ed064d1667d0d20f00cdd84b0af05d385bac0 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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 };
Tom Rini53633a82024-02-29 12:33:36 -050019
Tom Rini762f85b2024-07-20 11:15:10 -060020 i2c0mux: i2c-mux0 {
21 compatible = "i2c-mux-pinctrl";
22 #address-cells = <1>;
23 #size-cells = <0>;
24
25 i2c-parent = <&i2c0>;
26
27 pinctrl-names = "i2c0", "i2c0-vc";
28 pinctrl-0 = <&i2c0_gpio0>;
29 pinctrl-1 = <&i2c0_gpio44>;
30
31 i2c0_0: i2c@0 {
32 reg = <0>;
33 #address-cells = <1>;
34 #size-cells = <0>;
35 };
36
37 i2c0_1: i2c@1 {
38 reg = <1>;
39 #address-cells = <1>;
40 #size-cells = <0>;
41 };
Tom Rini53633a82024-02-29 12:33:36 -050042 };
Tom Rini762f85b2024-07-20 11:15:10 -060043};
Tom Rini53633a82024-02-29 12:33:36 -050044
Tom Rini762f85b2024-07-20 11:15:10 -060045&firmware {
Tom Rini53633a82024-02-29 12:33:36 -050046 expgpio: gpio {
47 compatible = "raspberrypi,firmware-gpio";
48 gpio-controller;
49 #gpio-cells = <2>;
50 status = "okay";
51 };
52
53 reset: reset {
54 compatible = "raspberrypi,firmware-reset";
55 #reset-cells = <1>;
56 };
57};
58
59&hdmi0 {
60 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>;
61 clock-names = "hdmi", "bvb", "audio", "cec";
62 wifi-2.4ghz-coexistence;
63};
64
65&hdmi1 {
66 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
67 clock-names = "hdmi", "bvb", "audio", "cec";
68 wifi-2.4ghz-coexistence;
69};
70
71&hvs {
72 clocks = <&firmware_clocks 4>;
73};
74
Tom Rini762f85b2024-07-20 11:15:10 -060075&i2c0 {
76 /delete-property/ pinctrl-names;
77 /delete-property/ pinctrl-0;
78};
79
Tom Rini53633a82024-02-29 12:33:36 -050080&rmem {
81 /*
82 * RPi4's co-processor will copy the board's bootloader configuration
83 * into memory for the OS to consume. It'll also update this node with
84 * its placement information.
85 */
86 blconfig: nvram@0 {
87 compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
88 #address-cells = <1>;
89 #size-cells = <1>;
90 reg = <0x0 0x0 0x0>;
91 no-map;
92 status = "disabled";
93 };
94};
95
96&v3d {
97 clocks = <&firmware_clocks 5>;
98};
99
100&vchiq {
101 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
102};