• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
35/* uart1 is mapped to the pin header */
36&uart1 {
37	pinctrl-names = "default";
38	pinctrl-0 = <&uart1_gpio14>;
39	status = "okay";
40};
41
42/* SDHCI is used to control the SDIO for wireless */
43&sdhci {
44	pinctrl-names = "default";
45	pinctrl-0 = <&emmc_gpio34>;
46	status = "okay";
47	bus-width = <4>;
48	non-removable;
49};
50
51/* SDHOST is used to drive the SD card */
52&sdhost {
53	pinctrl-names = "default";
54	pinctrl-0 = <&sdhost_gpio48>;
55	status = "okay";
56	bus-width = <4>;
57};
58