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"
7 #include "bcm283x-rpi-wifi-bt.dtsi"
10 compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
11 model = "Raspberry Pi 3 Model B";
14 /* 8250 auxiliary UART instead of pl011 */
15 stdout-path = "serial1:115200n8";
19 device_type = "memory";
25 gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
31 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
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>;
139 /* uart1 is mapped to the pin header */
141 pinctrl-names = "default";
142 pinctrl-0 = <&uart1_gpio14>;
146 /* SDHOST is used to drive the SD card */
148 pinctrl-names = "default";
149 pinctrl-0 = <&sdhost_gpio48>;
155 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;