Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | #include "bcm2837.dtsi" |
| 3 | #include "bcm2835-rpi.dtsi" |
| 4 | #include "bcm283x-rpi-smsc9514.dtsi" |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 5 | #include "bcm283x-rpi-usb-host.dtsi" |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; |
| 9 | model = "Raspberry Pi 3 Model B"; |
| 10 | |
| 11 | memory { |
| 12 | reg = <0 0x40000000>; |
| 13 | }; |
| 14 | |
| 15 | leds { |
| 16 | act { |
| 17 | gpios = <&gpio 47 0>; |
| 18 | }; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 19 | }; |
| 20 | }; |
| 21 | |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 22 | /* uart0 communicates with the BT module */ |
| 23 | &uart0 { |
| 24 | pinctrl-names = "default"; |
| 25 | pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>; |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | /* uart1 is mapped to the pin header */ |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 30 | &uart1 { |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 31 | pinctrl-names = "default"; |
| 32 | pinctrl-0 = <&uart1_gpio14>; |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | /* SDHCI is used to control the SDIO for wireless */ |
| 37 | &sdhci { |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&emmc_gpio34>; |
| 40 | status = "okay"; |
| 41 | bus-width = <4>; |
| 42 | non-removable; |
| 43 | }; |
| 44 | |
| 45 | /* SDHOST is used to drive the SD card */ |
| 46 | &sdhost { |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&sdhost_gpio48>; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 49 | status = "okay"; |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 50 | bus-width = <4>; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 51 | }; |