Merge tag 'locks-v4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton...
[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 0>;
24                 };
25         };
26 };
27
28 /* uart0 communicates with the BT module */
29 &uart0 {
30         pinctrl-names = "default";
31         pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
32         status = "okay";
33
34         bluetooth {
35                 compatible = "brcm,bcm43438-bt";
36                 max-speed = <2000000>;
37         };
38 };
39
40 /* uart1 is mapped to the pin header */
41 &uart1 {
42         pinctrl-names = "default";
43         pinctrl-0 = <&uart1_gpio14>;
44         status = "okay";
45 };
46
47 /* SDHCI is used to control the SDIO for wireless */
48 &sdhci {
49         pinctrl-names = "default";
50         pinctrl-0 = <&emmc_gpio34>;
51         status = "okay";
52         bus-width = <4>;
53         non-removable;
54 };
55
56 /* SDHOST is used to drive the SD card */
57 &sdhost {
58         pinctrl-names = "default";
59         pinctrl-0 = <&sdhost_gpio48>;
60         status = "okay";
61         bus-width = <4>;
62 };