]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/blob - arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
HACK: ARM: dts: dra7-ipu-common: Revert to CMA pools for IPU early boots
[rpmsg/rpmsg.git] / arch / arm / boot / dts / bcm2837-rpi-3-b-plus.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2837.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm283x-rpi-lan7515.dtsi"
6 #include "bcm283x-rpi-usb-host.dtsi"
8 / {
9         compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
10         model = "Raspberry Pi 3 Model B+";
12         chosen {
13                 /* 8250 auxiliary UART instead of pl011 */
14                 stdout-path = "serial1:115200n8";
15         };
17         memory {
18                 reg = <0 0x40000000>;
19         };
21         leds {
22                 act {
23                         gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
24                 };
26                 pwr {
27                         label = "PWR";
28                         gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
29                 };
30         };
32         wifi_pwrseq: wifi-pwrseq {
33                 compatible = "mmc-pwrseq-simple";
34                 reset-gpios = <&expgpio 1 GPIO_ACTIVE_HIGH>;
35         };
36 };
38 &firmware {
39         expgpio: gpio {
40                 compatible = "raspberrypi,firmware-gpio";
41                 gpio-controller;
42                 #gpio-cells = <2>;
43                 gpio-line-names = "BT_ON",
44                                   "WL_ON",
45                                   "STATUS_LED",
46                                   "LAN_RUN",
47                                   "",
48                                   "CAM_GPIO0",
49                                   "CAM_GPIO1",
50                                   "";
51                 status = "okay";
52         };
53 };
55 &hdmi {
56         hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
57 };
59 &pwm {
60         pinctrl-names = "default";
61         pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
62         status = "okay";
63 };
65 /* SDHCI is used to control the SDIO for wireless */
66 &sdhci {
67         #address-cells = <1>;
68         #size-cells = <0>;
69         pinctrl-names = "default";
70         pinctrl-0 = <&emmc_gpio34>;
71         status = "okay";
72         bus-width = <4>;
73         non-removable;
74         mmc-pwrseq = <&wifi_pwrseq>;
76         brcmf: wifi@1 {
77                 reg = <1>;
78                 compatible = "brcm,bcm4329-fmac";
79         };
80 };
82 /* SDHOST is used to drive the SD card */
83 &sdhost {
84         pinctrl-names = "default";
85         pinctrl-0 = <&sdhost_gpio48>;
86         status = "okay";
87         bus-width = <4>;
88 };
90 /* uart0 communicates with the BT module */
91 &uart0 {
92         pinctrl-names = "default";
93         pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>;
94         status = "okay";
96         bluetooth {
97                 compatible = "brcm,bcm43438-bt";
98                 max-speed = <2000000>;
99                 shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
100         };
101 };
103 /* uart1 is mapped to the pin header */
104 &uart1 {
105         pinctrl-names = "default";
106         pinctrl-0 = <&uart1_gpio14>;
107         status = "okay";
108 };