Skip to content

Commit

Permalink
BCM2708_DT: Adding starter Compute Module DTS files
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Elwell authored and popcornmix committed Jun 7, 2015
1 parent 4b4b956 commit 1ddcc63
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/bcm2708-rpi-cm.dts
@@ -0,0 +1,7 @@
/dts-v1/;

/include/ "bcm2708-rpi-cm.dtsi"

/ {
model = "Raspberry Pi Compute Module";
};
30 changes: 30 additions & 0 deletions 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";
};
};

0 comments on commit 1ddcc63

Please sign in to comment.