1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2838.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2838-rpi.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";
17 reg = <0 0 0x40000000>;
22 gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
27 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
31 wifi_pwrseq: wifi-pwrseq {
32 compatible = "mmc-pwrseq-simple";
33 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
36 sd_io_1v8_reg: sd_io_1v8_reg {
38 compatible = "regulator-gpio";
39 vin-supply = <&vdd_5v0_reg>;
40 regulator-name = "vdd-sd-io";
41 regulator-min-microvolt = <1800000>;
42 regulator-max-microvolt = <3300000>;
45 regulator-settling-time-us = <5000>;
47 gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
55 compatible = "raspberrypi,firmware-gpio";
58 gpio-line-names = "BT_ON",
71 pinctrl-names = "default";
72 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
76 /* SDHCI is used to control the SDIO for wireless */
80 pinctrl-names = "default";
81 pinctrl-0 = <&emmc_gpio34>;
85 mmc-pwrseq = <&wifi_pwrseq>;
89 compatible = "brcm,bcm4329-fmac";
93 /* EMMC2 is used to drive the SD card */
97 vqmmc-supply = <&sd_io_1v8_reg>;
100 /* uart0 communicates with the BT module */
102 pinctrl-names = "default";
103 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>;
107 compatible = "brcm,bcm43438-bt";
108 max-speed = <2000000>;
109 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
113 /* uart1 is mapped to the pin header */
115 pinctrl-names = "default";
116 pinctrl-0 = <&uart1_gpio14>;