summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-08-27 20:31:17 +0300
committerStefan Wahren <stefan.wahren@i2se.com>2018-08-27 20:31:17 +0300
commita54fe8a6cf66828499b121c3c39c194b43b8ed94 (patch)
treeb6d51e0ccd0e1077bdf259ffbbab31d1635f2017 /arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
parentb33b80710a54bd19f76eff5a327167234a7ee7f8 (diff)
downloadlinux-a54fe8a6cf66828499b121c3c39c194b43b8ed94.tar.xz
ARM: dts: add Raspberry Pi Compute Module 3 and IO board
The Raspberry Pi Compute Module 3 (CM3) and the Raspberry Pi Compute Module 3 Lite (CM3L) are SoMs which contains a BCM2837 processor, 1 GB RAM and a GPIO expander. The CM3 has a 4 GB eMMC, but on the CM3L the eMMC is unpopulated and it's up to the user to connect their own SD/MMC device. The dtsi file is designed to work for both modules. There is also a matching carrier board which is called Compute Module IO Board V3. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi b/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
new file mode 100644
index 000000000000..7b7ab6aea988
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
@@ -0,0 +1,52 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+#include "bcm2837.dtsi"
+#include "bcm2835-rpi.dtsi"
+
+/ {
+ memory {
+ reg = <0 0x40000000>;
+ };
+
+ reg_3v3: fixed-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "3V3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ reg_1v8: fixed-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "1V8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+};
+
+&firmware {
+ expgpio: gpio {
+ compatible = "raspberrypi,firmware-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-line-names = "HDMI_HPD_N",
+ "EMMC_EN_N",
+ "NC",
+ "NC",
+ "NC",
+ "NC",
+ "NC",
+ "NC";
+ status = "okay";
+ };
+};
+
+&sdhost {
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhost_gpio48>;
+ bus-width = <4>;
+ vmmc-supply = <&reg_3v3>;
+ vqmmc-supply = <&reg_1v8>;
+ status = "okay";
+};