-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Sebastian Hesselbarth
authored and
Jason Cooper
committed
Sep 21, 2012
1 parent
80a8b54
commit 1f5e6c6
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/dts-v1/; | ||
|
||
/include/ "dove.dtsi" | ||
|
||
/ { | ||
model = "SolidRun CuBox"; | ||
compatible = "solidrun,cubox", "marvell,dove"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x40000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
}; | ||
|
||
leds { | ||
compatible = "gpio-leds"; | ||
power { | ||
label = "Power"; | ||
gpios = <&gpio0 18 1>; | ||
linux,default-trigger = "default-on"; | ||
}; | ||
}; | ||
}; | ||
|
||
&uart0 { status = "okay"; }; | ||
&sdio0 { status = "okay"; }; | ||
&sata0 { status = "okay"; }; | ||
&i2c0 { status = "okay"; }; | ||
|
||
&spi0 { | ||
status = "okay"; | ||
|
||
/* spi0.0: 4M Flash Winbond W25Q32BV */ | ||
spi-flash@0 { | ||
compatible = "st,w25q32"; | ||
spi-max-frequency = <20000000>; | ||
reg = <0>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters