xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm2711-rpi.dtsi (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include "bcm2835-rpi.dtsi"
3724ba675SRob Herring
4522c35e0SStefan Wahren#include <dt-bindings/power/raspberrypi-power.h>
5724ba675SRob Herring#include <dt-bindings/reset/raspberrypi,firmware-reset.h>
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	/* Will be filled by the bootloader */
9724ba675SRob Herring	memory@0 {
10724ba675SRob Herring		device_type = "memory";
11724ba675SRob Herring		reg = <0 0 0>;
12724ba675SRob Herring	};
13724ba675SRob Herring
14724ba675SRob Herring	aliases {
15724ba675SRob Herring		emmc2bus = &emmc2bus;
16724ba675SRob Herring		ethernet0 = &genet;
17724ba675SRob Herring		pcie0 = &pcie0;
18724ba675SRob Herring		blconfig = &blconfig;
19724ba675SRob Herring	};
20*84b1d6ccSUwe Kleine-König
21*84b1d6ccSUwe Kleine-König	i2c0mux: i2c-mux0 {
22*84b1d6ccSUwe Kleine-König		compatible = "i2c-mux-pinctrl";
23*84b1d6ccSUwe Kleine-König		#address-cells = <1>;
24*84b1d6ccSUwe Kleine-König		#size-cells = <0>;
25*84b1d6ccSUwe Kleine-König
26*84b1d6ccSUwe Kleine-König		i2c-parent = <&i2c0>;
27*84b1d6ccSUwe Kleine-König
28*84b1d6ccSUwe Kleine-König		pinctrl-names = "i2c0", "i2c0-vc";
29*84b1d6ccSUwe Kleine-König		pinctrl-0 = <&i2c0_gpio0>;
30*84b1d6ccSUwe Kleine-König		pinctrl-1 = <&i2c0_gpio44>;
31*84b1d6ccSUwe Kleine-König
32*84b1d6ccSUwe Kleine-König		i2c0_0: i2c@0 {
33*84b1d6ccSUwe Kleine-König			reg = <0>;
34*84b1d6ccSUwe Kleine-König			#address-cells = <1>;
35*84b1d6ccSUwe Kleine-König			#size-cells = <0>;
36*84b1d6ccSUwe Kleine-König		};
37*84b1d6ccSUwe Kleine-König
38*84b1d6ccSUwe Kleine-König		i2c0_1: i2c@1 {
39*84b1d6ccSUwe Kleine-König			reg = <1>;
40*84b1d6ccSUwe Kleine-König			#address-cells = <1>;
41*84b1d6ccSUwe Kleine-König			#size-cells = <0>;
42*84b1d6ccSUwe Kleine-König		};
43*84b1d6ccSUwe Kleine-König	};
44724ba675SRob Herring};
45724ba675SRob Herring
46724ba675SRob Herring&firmware {
47724ba675SRob Herring	expgpio: gpio {
48724ba675SRob Herring		compatible = "raspberrypi,firmware-gpio";
49724ba675SRob Herring		gpio-controller;
50724ba675SRob Herring		#gpio-cells = <2>;
51724ba675SRob Herring		status = "okay";
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	reset: reset {
55724ba675SRob Herring		compatible = "raspberrypi,firmware-reset";
56724ba675SRob Herring		#reset-cells = <1>;
57724ba675SRob Herring	};
58724ba675SRob Herring};
59724ba675SRob Herring
60724ba675SRob Herring&hdmi0 {
61724ba675SRob Herring	clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>;
62724ba675SRob Herring	clock-names = "hdmi", "bvb", "audio", "cec";
63724ba675SRob Herring	wifi-2.4ghz-coexistence;
64724ba675SRob Herring};
65724ba675SRob Herring
66724ba675SRob Herring&hdmi1 {
67724ba675SRob Herring	clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
68724ba675SRob Herring	clock-names = "hdmi", "bvb", "audio", "cec";
69724ba675SRob Herring	wifi-2.4ghz-coexistence;
70724ba675SRob Herring};
71724ba675SRob Herring
72724ba675SRob Herring&hvs {
73724ba675SRob Herring	clocks = <&firmware_clocks 4>;
74724ba675SRob Herring};
75724ba675SRob Herring
76*84b1d6ccSUwe Kleine-König&i2c0 {
77*84b1d6ccSUwe Kleine-König	/delete-property/ pinctrl-names;
78*84b1d6ccSUwe Kleine-König	/delete-property/ pinctrl-0;
79*84b1d6ccSUwe Kleine-König};
80*84b1d6ccSUwe Kleine-König
81724ba675SRob Herring&rmem {
82724ba675SRob Herring	/*
83724ba675SRob Herring	 * RPi4's co-processor will copy the board's bootloader configuration
84724ba675SRob Herring	 * into memory for the OS to consume. It'll also update this node with
85724ba675SRob Herring	 * its placement information.
86724ba675SRob Herring	 */
87724ba675SRob Herring	blconfig: nvram@0 {
88724ba675SRob Herring		compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
89724ba675SRob Herring		#address-cells = <1>;
90724ba675SRob Herring		#size-cells = <1>;
91724ba675SRob Herring		reg = <0x0 0x0 0x0>;
92724ba675SRob Herring		no-map;
93724ba675SRob Herring		status = "disabled";
94724ba675SRob Herring	};
95724ba675SRob Herring};
96724ba675SRob Herring
97724ba675SRob Herring&v3d {
98724ba675SRob Herring	clocks = <&firmware_clocks 5>;
99724ba675SRob Herring};
100724ba675SRob Herring
101724ba675SRob Herring&vchiq {
102724ba675SRob Herring	interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
103724ba675SRob Herring};
104522c35e0SStefan Wahren
105522c35e0SStefan Wahren&xhci {
106522c35e0SStefan Wahren	power-domains = <&power RPI_POWER_DOMAIN_USB>;
107522c35e0SStefan Wahren};
108