blob: cdee96fca6e25fec9a0e24208344c03621298721 [file] [log] [blame]
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +02001/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"; };
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +020029&sata0 { status = "okay"; };
30&i2c0 { status = "okay"; };
31
Sebastian Hesselbarth9e1c96e2012-12-18 01:24:29 +010032&sdio0 {
33 status = "okay";
34 /* sdio0 card detect is connected to wrong pin on CuBox */
35 cd-gpios = <&gpio0 12 1>;
36};
37
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +020038&spi0 {
39 status = "okay";
40
41 /* spi0.0: 4M Flash Winbond W25Q32BV */
42 spi-flash@0 {
43 compatible = "st,w25q32";
44 spi-max-frequency = <20000000>;
45 reg = <0>;
46 };
47};
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010048
49&pinctrl {
Sebastian Hesselbarth9e1c96e2012-12-18 01:24:29 +010050 pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>;
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010051 pinctrl-names = "default";
52
Sebastian Hesselbarth9e1c96e2012-12-18 01:24:29 +010053 pmx_gpio_12: pmx-gpio-12 {
54 marvell,pins = "mpp12";
55 marvell,function = "gpio";
56 };
57
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010058 pmx_gpio_18: pmx-gpio-18 {
59 marvell,pins = "mpp18";
60 marvell,function = "gpio";
61 };
62};