blob: bed5b62b73a329b207c0cbaa6b7842983f74ad9a [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";
Sebastian Hesselbarthe35e40c2012-12-27 23:21:10 +010020 pinctrl-0 = <&pmx_gpio_18>;
21 pinctrl-names = "default";
22
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +020023 power {
24 label = "Power";
25 gpios = <&gpio0 18 1>;
26 linux,default-trigger = "default-on";
27 };
28 };
29};
30
31&uart0 { status = "okay"; };
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +020032&sata0 { status = "okay"; };
33&i2c0 { status = "okay"; };
34
Sebastian Hesselbarth9e1c96e2012-12-18 01:24:29 +010035&sdio0 {
36 status = "okay";
37 /* sdio0 card detect is connected to wrong pin on CuBox */
38 cd-gpios = <&gpio0 12 1>;
39};
40
Sebastian Hesselbarth1f5e6c62012-08-15 19:07:35 +020041&spi0 {
42 status = "okay";
43
44 /* spi0.0: 4M Flash Winbond W25Q32BV */
45 spi-flash@0 {
46 compatible = "st,w25q32";
47 spi-max-frequency = <20000000>;
48 reg = <0>;
49 };
50};
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010051
52&pinctrl {
Sebastian Hesselbarthe35e40c2012-12-27 23:21:10 +010053 pinctrl-0 = <&pmx_gpio_12>;
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010054 pinctrl-names = "default";
55
Sebastian Hesselbarth9e1c96e2012-12-18 01:24:29 +010056 pmx_gpio_12: pmx-gpio-12 {
57 marvell,pins = "mpp12";
58 marvell,function = "gpio";
59 };
60
Sebastian Hesselbarthe7cd8f82012-11-19 10:39:56 +010061 pmx_gpio_18: pmx-gpio-18 {
62 marvell,pins = "mpp18";
63 marvell,function = "gpio";
64 };
65};