1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2837.dtsi"
4 #include "bcm2836-rpi.dtsi"
5 #include "bcm283x-rpi-lan7515.dtsi"
6 #include "bcm283x-rpi-usb-host.dtsi"
9 compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
10 model = "Raspberry Pi 3 Model B+";
13 /* 8250 auxiliary UART instead of pl011 */
14 stdout-path = "serial1:115200n8";
18 device_type = "memory";
24 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
29 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
30 default-state = "keep";
31 linux,default-trigger = "default-on";
35 wifi_pwrseq: wifi-pwrseq {
36 compatible = "mmc-pwrseq-simple";
37 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
43 compatible = "raspberrypi,firmware-gpio";
46 gpio-line-names = "BT_ON",
60 * Taken from rpi_SCH_3bplus_1p0_reduced.pdf and
61 * the official GPU firmware DT blob.
64 * "NC" = not connected (no rail from the SoC)
65 * "FOO" = GPIO line named "FOO" on the schematic
66 * "FOO_N" = GPIO line named "FOO" on schematic, active low
68 gpio-line-names = "ID_SDA",
99 /* Used by BT module */
119 /* Used by SD Card */
129 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
130 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
140 /* SDHCI is used to control the SDIO for wireless */
142 #address-cells = <1>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&emmc_gpio34>;
149 mmc-pwrseq = <&wifi_pwrseq>;
153 compatible = "brcm,bcm4329-fmac";
157 /* SDHOST is used to drive the SD card */
159 pinctrl-names = "default";
160 pinctrl-0 = <&sdhost_gpio48>;
165 /* uart0 communicates with the BT module */
167 pinctrl-names = "default";
168 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>;
172 compatible = "brcm,bcm43438-bt";
173 max-speed = <2000000>;
174 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
178 /* uart1 is mapped to the pin header */
180 pinctrl-names = "default";
181 pinctrl-0 = <&uart1_gpio14>;