Merge tag 'drm-msm-fixes-2018-04-25' of git://people.freedesktop.org/~robclark/linux...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm2837-rpi-3-b.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2837.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm283x-rpi-smsc9514.dtsi"
6 #include "bcm283x-rpi-usb-host.dtsi"
7
8 / {
9         compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
10         model = "Raspberry Pi 3 Model B";
11
12         chosen {
13                 /* 8250 auxiliary UART instead of pl011 */
14                 stdout-path = "serial1:115200n8";
15         };
16
17         memory {
18                 reg = <0 0x40000000>;
19         };
20
21         leds {
22                 act {
23                         gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
24                 };
25         };
26 };
27
28 &firmware {
29         expgpio: gpio {
30                 compatible = "raspberrypi,firmware-gpio";
31                 gpio-controller;
32                 #gpio-cells = <2>;
33                 gpio-line-names = "BT_ON",
34                                   "WL_ON",
35                                   "STATUS_LED",
36                                   "LAN_RUN",
37                                   "HPD_N",
38                                   "CAM_GPIO0",
39                                   "CAM_GPIO1",
40                                   "PWR_LOW_N";
41                 status = "okay";
42         };
43 };
44
45 /* uart0 communicates with the BT module */
46 &uart0 {
47         pinctrl-names = "default";
48         pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
49         status = "okay";
50
51         bluetooth {
52                 compatible = "brcm,bcm43438-bt";
53                 max-speed = <2000000>;
54         };
55 };
56
57 /* uart1 is mapped to the pin header */
58 &uart1 {
59         pinctrl-names = "default";
60         pinctrl-0 = <&uart1_gpio14>;
61         status = "okay";
62 };
63
64 /* SDHCI is used to control the SDIO for wireless */
65 &sdhci {
66         pinctrl-names = "default";
67         pinctrl-0 = <&emmc_gpio34>;
68         status = "okay";
69         bus-width = <4>;
70         non-removable;
71 };
72
73 /* SDHOST is used to drive the SD card */
74 &sdhost {
75         pinctrl-names = "default";
76         pinctrl-0 = <&sdhost_gpio48>;
77         status = "okay";
78         bus-width = <4>;
79 };