diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-08-12 14:46:54 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 11:00:54 -0400 |
commit | 37078732998e51c2645db99e7434ccc6774dafed (patch) | |
tree | ef9bb21148d3e7d06000865186fc7ca70e343e5c /arch/arm/boot/dts/dove-d3plug.dts | |
parent | 74ecaa403a742b2c614a60e5ffef04a704d84071 (diff) |
ARM: dove: add initial DT file for Globalscale D3Plug
This adds an initial DT file for the Globalscale D3Plug with Dove SoC.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/dove-d3plug.dts')
-rw-r--r-- | arch/arm/boot/dts/dove-d3plug.dts | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove-d3plug.dts b/arch/arm/boot/dts/dove-d3plug.dts new file mode 100644 index 000000000000..f5f59bb5a534 --- /dev/null +++ b/arch/arm/boot/dts/dove-d3plug.dts | |||
@@ -0,0 +1,103 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | #include "dove.dtsi" | ||
4 | |||
5 | / { | ||
6 | model = "Globalscale D3Plug"; | ||
7 | compatible = "globalscale,d3plug", "marvell,dove"; | ||
8 | |||
9 | memory { | ||
10 | device_type = "memory"; | ||
11 | reg = <0x00000000 0x40000000>; | ||
12 | }; | ||
13 | |||
14 | chosen { | ||
15 | bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait"; | ||
16 | }; | ||
17 | |||
18 | leds { | ||
19 | compatible = "gpio-leds"; | ||
20 | pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>; | ||
21 | pinctrl-names = "default"; | ||
22 | |||
23 | wlan-act { | ||
24 | label = "wlan-act"; | ||
25 | gpios = <&gpio0 0 1>; | ||
26 | }; | ||
27 | |||
28 | wlan-ap { | ||
29 | label = "wlan-ap"; | ||
30 | gpios = <&gpio0 1 1>; | ||
31 | }; | ||
32 | |||
33 | status { | ||
34 | label = "status"; | ||
35 | gpios = <&gpio0 2 1>; | ||
36 | }; | ||
37 | }; | ||
38 | |||
39 | regulators { | ||
40 | compatible = "simple-bus"; | ||
41 | #address-cells = <1>; | ||
42 | #size-cells = <0>; | ||
43 | |||
44 | usb_power: regulator@1 { | ||
45 | compatible = "regulator-fixed"; | ||
46 | reg = <1>; | ||
47 | regulator-name = "USB Power"; | ||
48 | regulator-min-microvolt = <5000000>; | ||
49 | regulator-max-microvolt = <5000000>; | ||
50 | enable-active-high; | ||
51 | regulator-always-on; | ||
52 | regulator-boot-on; | ||
53 | gpio = <&gpio0 8 0>; | ||
54 | pinctrl-0 = <&pmx_gpio_8>; | ||
55 | pinctrl-names = "default"; | ||
56 | }; | ||
57 | }; | ||
58 | }; | ||
59 | |||
60 | &uart0 { status = "okay"; }; | ||
61 | &sata0 { status = "okay"; }; | ||
62 | &i2c0 { status = "okay"; }; | ||
63 | |||
64 | /* Samsung M8G2F eMMC */ | ||
65 | &sdio0 { | ||
66 | status = "okay"; | ||
67 | non-removable; | ||
68 | bus-width = <4>; | ||
69 | }; | ||
70 | |||
71 | /* Marvell SD8787 WLAN/BT */ | ||
72 | &sdio1 { | ||
73 | status = "okay"; | ||
74 | non-removable; | ||
75 | }; | ||
76 | |||
77 | &spi0 { | ||
78 | status = "okay"; | ||
79 | |||
80 | /* spi0.0: 2M Flash Macronix MX25L1605D */ | ||
81 | spi-flash@0 { | ||
82 | compatible = "st,m25l1605d"; | ||
83 | spi-max-frequency = <86000000>; | ||
84 | reg = <0>; | ||
85 | }; | ||
86 | }; | ||
87 | |||
88 | &pcie { | ||
89 | status = "okay"; | ||
90 | /* Fresco Logic USB3.0 xHCI controller */ | ||
91 | pcie-port@0 { | ||
92 | status = "okay"; | ||
93 | reset-gpios = <&gpio0 26 1>; | ||
94 | reset-delay-us = <20000>; | ||
95 | pinctrl-0 = <&pmx_camera_gpio>; | ||
96 | pinctrl-names = "default"; | ||
97 | }; | ||
98 | /* Mini-PCIe slot */ | ||
99 | pcie-port@1 { | ||
100 | status = "okay"; | ||
101 | reset-gpios = <&gpio0 25 1>; | ||
102 | }; | ||
103 | }; | ||