summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Elwell <phil@raspberrypi.org>2015-05-12 17:26:35 +0100
committerpopcornmix <popcornmix@gmail.com>2015-05-18 14:13:25 +0100
commit8337dfc3f7bfca1b527334e7909561cea4caefa2 (patch)
treed0b2aba230f21c17710f1bd71bcac3621f2fd7d6
parentc4091326f01d8f938620c0ad33312dea23faf173 (diff)
downloadlinux-8337dfc3f7bfca1b527334e7909561cea4caefa2.tar.gz
BCM2708_DT: Adding starter Compute Module DTS files
-rw-r--r--arch/arm/boot/dts/Makefile1
-rwxr-xr-xarch/arm/boot/dts/bcm2708-rpi-cm.dts7
-rwxr-xr-xarch/arm/boot/dts/bcm2708-rpi-cm.dtsi30
3 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5effb3c2502f..31035e9fe175 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -3,6 +3,7 @@ ifeq ($(CONFIG_OF),y)
dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b.dtb
dtb-$(CONFIG_BCM2709_DT) += bcm2709-rpi-2-b.dtb
dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b-plus.dtb
+dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-cm.dtb
# Raspberry Pi
ifeq ($(CONFIG_BCM2708_DT),y)
diff --git a/arch/arm/boot/dts/bcm2708-rpi-cm.dts b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
new file mode 100755
index 000000000000..45f8244e6ba1
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
@@ -0,0 +1,7 @@
+/dts-v1/;
+
+/include/ "bcm2708-rpi-cm.dtsi"
+
+/ {
+ model = "Raspberry Pi Compute Module";
+};
diff --git a/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
new file mode 100755
index 000000000000..d0a6fb8f84aa
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
@@ -0,0 +1,30 @@
+/include/ "bcm2708.dtsi"
+
+/ {
+ aliases {
+ soc = &soc;
+ gpio = &gpio;
+ intc = &intc;
+ leds = &leds;
+ sound = &sound;
+ };
+
+ sound: sound {
+ };
+};
+
+&leds {
+ act_led: act {
+ label = "led0";
+ linux,default-trigger = "mmc0";
+ gpios = <&gpio 47 0>;
+ };
+};
+
+/ {
+ __overrides__ {
+ act_led_gpio = <&act_led>,"gpios:4";
+ act_led_activelow = <&act_led>,"gpios:8";
+ act_led_trigger = <&act_led>,"linux,default-trigger";
+ };
+};