aboutsummaryrefslogtreecommitdiff
path: root/src/arm/bcm2837-rpi-3-b.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-11-13 20:15:33 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-11-13 20:15:33 +0000
commit550370858c61e6f7fe3832de73daa9cc25ba716a (patch)
treeb8d380020ec7026d5a54e3a2c67ef46ac8859511 /src/arm/bcm2837-rpi-3-b.dts
parentd5464ff11700ac44568e6816e00d1d1427cc46ae (diff)
downloadsrc-550370858c61e6f7fe3832de73daa9cc25ba716a.tar.gz
src-550370858c61e6f7fe3832de73daa9cc25ba716a.zip
Update our copies of the Device Tree Source to Linux 4.14vendor/device-tree/4.14
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=325773 svn path=/vendor/device-tree/4.14/; revision=325774; tag=vendor/device-tree/4.14
Diffstat (limited to 'src/arm/bcm2837-rpi-3-b.dts')
-rw-r--r--src/arm/bcm2837-rpi-3-b.dts58
1 files changed, 57 insertions, 1 deletions
diff --git a/src/arm/bcm2837-rpi-3-b.dts b/src/arm/bcm2837-rpi-3-b.dts
index c72a27d908b6..eb1a28da57e3 100644
--- a/src/arm/bcm2837-rpi-3-b.dts
+++ b/src/arm/bcm2837-rpi-3-b.dts
@@ -1 +1,57 @@
-#include "arm64/broadcom/bcm2837-rpi-3-b.dts"
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+#include "bcm2837.dtsi"
+#include "bcm2835-rpi.dtsi"
+#include "bcm283x-rpi-smsc9514.dtsi"
+#include "bcm283x-rpi-usb-host.dtsi"
+
+/ {
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
+ model = "Raspberry Pi 3 Model B";
+
+ chosen {
+ /* 8250 auxiliary UART instead of pl011 */
+ stdout-path = "serial1:115200n8";
+ };
+
+ memory {
+ reg = <0 0x40000000>;
+ };
+
+ leds {
+ act {
+ gpios = <&gpio 47 0>;
+ };
+ };
+};
+
+/* uart0 communicates with the BT module */
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
+ status = "okay";
+};
+
+/* uart1 is mapped to the pin header */
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_gpio14>;
+ status = "okay";
+};
+
+/* SDHCI is used to control the SDIO for wireless */
+&sdhci {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_gpio34>;
+ status = "okay";
+ bus-width = <4>;
+ non-removable;
+};
+
+/* SDHOST is used to drive the SD card */
+&sdhost {
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhost_gpio48>;
+ status = "okay";
+ bus-width = <4>;
+};