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