Merge remote-tracking branch 'efi/chainsaw' into x86/efi
[deliverable/linux.git] / arch / arm / boot / dts / dove-cubox.dts
CommitLineData
1f5e6c63
SH
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";
e35e40cd
SH
20 pinctrl-0 = <&pmx_gpio_18>;
21 pinctrl-names = "default";
22
1f5e6c63
SH
23 power {
24 label = "Power";
25 gpios = <&gpio0 18 1>;
26 linux,default-trigger = "default-on";
27 };
28 };
41e364bb
SH
29
30 regulators {
31 compatible = "simple-bus";
32 #address-cells = <1>;
33 #size-cells = <0>;
34
35 usb_power: regulator@1 {
36 compatible = "regulator-fixed";
37 reg = <1>;
38 regulator-name = "USB Power";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 enable-active-high;
42 regulator-always-on;
43 regulator-boot-on;
44 gpio = <&gpio0 1 0>;
45 };
46 };
1f5e6c63
SH
47};
48
49&uart0 { status = "okay"; };
1f5e6c63
SH
50&sata0 { status = "okay"; };
51&i2c0 { status = "okay"; };
52
9e1c96ed
SH
53&sdio0 {
54 status = "okay";
55 /* sdio0 card detect is connected to wrong pin on CuBox */
56 cd-gpios = <&gpio0 12 1>;
57};
58
1f5e6c63
SH
59&spi0 {
60 status = "okay";
61
62 /* spi0.0: 4M Flash Winbond W25Q32BV */
63 spi-flash@0 {
64 compatible = "st,w25q32";
65 spi-max-frequency = <20000000>;
66 reg = <0>;
67 };
68};
e7cd8f87
SH
69
70&pinctrl {
41e364bb 71 pinctrl-0 = <&pmx_gpio_1 &pmx_gpio_12>;
e7cd8f87
SH
72 pinctrl-names = "default";
73
41e364bb
SH
74 pmx_gpio_1: pmx-gpio-1 {
75 marvell,pins = "mpp1";
76 marvell,function = "gpio";
77 };
78
9e1c96ed
SH
79 pmx_gpio_12: pmx-gpio-12 {
80 marvell,pins = "mpp12";
81 marvell,function = "gpio";
82 };
83
e7cd8f87
SH
84 pmx_gpio_18: pmx-gpio-18 {
85 marvell,pins = "mpp18";
86 marvell,function = "gpio";
87 };
88};
This page took 0.066493 seconds and 5 git commands to generate.