1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2837.dtsi"
4 #include "bcm2836-rpi.dtsi"
5 #include "bcm283x-rpi-usb-host.dtsi"
6 #include "bcm283x-rpi-wifi-bt.dtsi"
9 compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837";
10 model = "Raspberry Pi 3 Model A+";
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";
38 compatible = "raspberrypi,firmware-gpio";
55 * This is mostly based on the official GPU firmware DT blob.
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 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
123 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
133 /* SDHOST is used to drive the SD card */
135 pinctrl-names = "default";
136 pinctrl-0 = <&sdhost_gpio48>;
141 /* uart0 communicates with the BT module
143 * WL_REG_ON and BT_REG_ON of the CYW43455 Wifi/BT module are driven
144 * by a single GPIO. We can't give GPIO control to one of the drivers,
145 * otherwise the other part would get unexpectedly disturbed.
148 pinctrl-names = "default";
149 pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>;
152 /* uart1 is mapped to the pin header */
154 pinctrl-names = "default";
155 pinctrl-0 = <&uart1_gpio14>;