1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2837.dtsi"
4 #include "bcm2836-rpi.dtsi"
5 #include "bcm283x-rpi-smsc9514.dtsi"
6 #include "bcm283x-rpi-usb-host.dtsi"
9 compatible = "raspberrypi,3-model-b", "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 = <&expgpio 2 GPIO_ACTIVE_HIGH>;
28 wifi_pwrseq: wifi-pwrseq {
29 compatible = "mmc-pwrseq-simple";
30 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
36 compatible = "raspberrypi,firmware-gpio";
39 gpio-line-names = "BT_ON",
53 * Taken from rpi_SCH_3b_1p2_reduced.pdf and
54 * the official GPU firmware DT blob.
57 * "NC" = not connected (no rail from the SoC)
58 * "FOO" = GPIO line named "FOO" on the schematic
59 * "FOO_N" = GPIO line named "FOO" on schematic, active low
61 gpio-line-names = "ID_SDA",
92 /* Used by BT module */
112 /* Used by SD Card */
122 pinctrl-names = "default";
123 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
128 hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
129 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
133 /* uart0 communicates with the BT module */
135 pinctrl-names = "default";
136 pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
140 compatible = "brcm,bcm43438-bt";
141 max-speed = <2000000>;
142 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
146 /* uart1 is mapped to the pin header */
148 pinctrl-names = "default";
149 pinctrl-0 = <&uart1_gpio14>;
153 /* SDHCI is used to control the SDIO for wireless */
155 #address-cells = <1>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&emmc_gpio34>;
162 mmc-pwrseq = <&wifi_pwrseq>;
166 compatible = "brcm,bcm4329-fmac";
170 /* SDHOST is used to drive the SD card */
172 pinctrl-names = "default";
173 pinctrl-0 = <&sdhost_gpio48>;