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";
29 gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
34 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
35 default-state = "keep";
36 linux,default-trigger = "default-on";
40 wifi_pwrseq: wifi-pwrseq {
41 compatible = "mmc-pwrseq-simple";
42 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
45 sd_io_1v8_reg: sd_io_1v8_reg {
46 compatible = "regulator-gpio";
47 regulator-name = "vdd-sd-io";
48 regulator-min-microvolt = <1800000>;
49 regulator-max-microvolt = <3300000>;
52 regulator-settling-time-us = <5000>;
53 gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
62 compatible = "raspberrypi,firmware-gpio";
65 gpio-line-names = "BT_ON",
78 pinctrl-names = "default";
79 pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>;
83 /* SDHCI is used to control the SDIO for wireless */
87 pinctrl-names = "default";
88 pinctrl-0 = <&emmc_gpio34>;
91 mmc-pwrseq = <&wifi_pwrseq>;
96 compatible = "brcm,bcm4329-fmac";
100 /* EMMC2 is used to drive the SD card */
102 vqmmc-supply = <&sd_io_1v8_reg>;
108 phy-handle = <&phy1>;
109 phy-mode = "rgmii-rxid";
114 phy1: ethernet-phy@1 {
115 /* No PHY interrupt */
120 /* uart0 communicates with the BT module */
122 pinctrl-names = "default";
123 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>;
128 compatible = "brcm,bcm43438-bt";
129 max-speed = <2000000>;
130 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
134 /* uart1 is mapped to the pin header */
136 pinctrl-names = "default";
137 pinctrl-0 = <&uart1_gpio14>;
142 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;