diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2012-08-15 13:07:35 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-21 13:07:25 -0400 |
commit | 1f5e6c639e25de9f059ea0e0181a5baeb3b3f4bf (patch) | |
tree | 3526aff3fbd756665ce62411c1f688d8e504294f /arch/arm/boot | |
parent | 80a8b54b9a0ba418f25d2014b1375f9f4876eb15 (diff) |
ARM: dove: SolidRun CuBox DT
This patch adds basic support for the SolidRun CuBox to DT based
mach-dove. There are still some issues related to ongoing orion/mvebu
development, e.g. gpio-led will not work as there is no DT pinctrl
for dove yet and we don't have board specific setup code. Nevertheless,
the DT description is already introduced here.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/dove-cubox.dts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts new file mode 100644 index 00000000000..0adbd5a3809 --- /dev/null +++ b/arch/arm/boot/dts/dove-cubox.dts | |||
@@ -0,0 +1,42 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "dove.dtsi" | ||
4 | |||
5 | / { | ||
6 | model = "SolidRun CuBox"; | ||
7 | compatible = "solidrun,cubox", "marvell,dove"; | ||
8 | |||
9 | memory { | ||
10 | device_type = "memory"; | ||
11 | reg = <0x00000000 0x40000000>; | ||
12 | }; | ||
13 | |||
14 | chosen { | ||
15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
16 | }; | ||
17 | |||
18 | leds { | ||
19 | compatible = "gpio-leds"; | ||
20 | power { | ||
21 | label = "Power"; | ||
22 | gpios = <&gpio0 18 1>; | ||
23 | linux,default-trigger = "default-on"; | ||
24 | }; | ||
25 | }; | ||
26 | }; | ||
27 | |||
28 | &uart0 { status = "okay"; }; | ||
29 | &sdio0 { status = "okay"; }; | ||
30 | &sata0 { status = "okay"; }; | ||
31 | &i2c0 { status = "okay"; }; | ||
32 | |||
33 | &spi0 { | ||
34 | status = "okay"; | ||
35 | |||
36 | /* spi0.0: 4M Flash Winbond W25Q32BV */ | ||
37 | spi-flash@0 { | ||
38 | compatible = "st,w25q32"; | ||
39 | spi-max-frequency = <20000000>; | ||
40 | reg = <0>; | ||
41 | }; | ||
42 | }; | ||