1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2837.dtsi"
4 #include "bcm2836-rpi.dtsi"
5 #include "bcm283x-rpi-led-deprecated.dtsi"
6 #include "bcm283x-rpi-smsc9514.dtsi"
7 #include "bcm283x-rpi-usb-host.dtsi"
8 #include "bcm283x-rpi-wifi-bt.dtsi"
11 compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
12 model = "Raspberry Pi 3 Model B";
15 /* 8250 auxiliary UART instead of pl011 */
16 stdout-path = "serial1:115200n8";
20 device_type = "memory";
26 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
31 compatible = "raspberrypi,firmware-gpio";
34 gpio-line-names = "BT_ON",
48 * Taken from rpi_SCH_3b_1p2_reduced.pdf and
49 * the official GPU firmware DT blob.
52 * "FOO" = GPIO line named "FOO" on the schematic
53 * "FOO_N" = GPIO line named "FOO" on schematic, active low
55 gpio-line-names = "ID_SDA",
86 /* Used by BT module */
106 /* Used by SD Card */
116 pinctrl-names = "default";
117 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
122 hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
123 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
128 gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
131 /* uart0 communicates with the BT module */
133 pinctrl-names = "default";
134 pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
137 /* uart1 is mapped to the pin header */
139 pinctrl-names = "default";
140 pinctrl-0 = <&uart1_gpio14>;
144 /* SDHOST is used to drive the SD card */
146 pinctrl-names = "default";
147 pinctrl-0 = <&sdhost_gpio48>;
153 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;