1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2711.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm283x-rpi-usb-peripheral.dtsi"
8 compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
9 model = "Raspberry Pi 4 Model B";
12 /* 8250 auxiliary UART instead of pl011 */
13 stdout-path = "serial1:115200n8";
16 /* Will be filled by the bootloader */
18 device_type = "memory";
28 gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
33 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
37 wifi_pwrseq: wifi-pwrseq {
38 compatible = "mmc-pwrseq-simple";
39 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
42 sd_io_1v8_reg: sd_io_1v8_reg {
43 compatible = "regulator-gpio";
44 regulator-name = "vdd-sd-io";
45 regulator-min-microvolt = <1800000>;
46 regulator-max-microvolt = <3300000>;
49 regulator-settling-time-us = <5000>;
50 gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
59 compatible = "raspberrypi,firmware-gpio";
62 gpio-line-names = "BT_ON",
75 pinctrl-names = "default";
76 pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>;
80 /* SDHCI is used to control the SDIO for wireless */
84 pinctrl-names = "default";
85 pinctrl-0 = <&emmc_gpio34>;
88 mmc-pwrseq = <&wifi_pwrseq>;
93 compatible = "brcm,bcm4329-fmac";
97 /* EMMC2 is used to drive the SD card */
99 vqmmc-supply = <&sd_io_1v8_reg>;
105 phy-handle = <&phy1>;
106 phy-mode = "rgmii-rxid";
111 phy1: ethernet-phy@1 {
112 /* No PHY interrupt */
117 /* uart0 communicates with the BT module */
119 pinctrl-names = "default";
120 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>;
125 compatible = "brcm,bcm43438-bt";
126 max-speed = <2000000>;
127 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
131 /* uart1 is mapped to the pin header */
133 pinctrl-names = "default";
134 pinctrl-0 = <&uart1_gpio14>;
139 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;