| 1 |
// 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 |
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 |
}; |
| 42 |
}; |
| 43 |
}; |
| 44 |
|
| 45 |
&firmware { |
| 46 |
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 |
|
| 75 |
&i2c0 { |
| 76 |
/delete-property/ pinctrl-names; |
| 77 |
/delete-property/ pinctrl-0; |
| 78 |
}; |
| 79 |
|
| 80 |
&pm { |
| 81 |
clocks = <&firmware_clocks 5>, |
| 82 |
<&clocks BCM2835_CLOCK_PERI_IMAGE>, |
| 83 |
<&clocks BCM2835_CLOCK_H264>, |
| 84 |
<&clocks BCM2835_CLOCK_ISP>; |
| 85 |
clock-names = "v3d", "peri_image", "h264", "isp"; |
| 86 |
}; |
| 87 |
|
| 88 |
&rmem { |
| 89 |
/* |
| 90 |
* RPi4's co-processor will copy the board's bootloader configuration |
| 91 |
* into memory for the OS to consume. It'll also update this node with |
| 92 |
* its placement information. |
| 93 |
*/ |
| 94 |
blconfig: nvram@0 { |
| 95 |
compatible = "raspberrypi,bootloader-config", "nvmem-rmem"; |
| 96 |
#address-cells = <1>; |
| 97 |
#size-cells = <1>; |
| 98 |
reg = <0x0 0x0 0x0>; |
| 99 |
no-map; |
| 100 |
status = "disabled"; |
| 101 |
}; |
| 102 |
}; |
| 103 |
|
| 104 |
&v3d { |
| 105 |
clocks = <&firmware_clocks 5>; |
| 106 |
}; |
| 107 |
|
| 108 |
&vchiq { |
| 109 |
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 110 |
}; |