diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-29 08:29:06 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-08-12 17:03:50 -0400 |
commit | 5e9eaadb0b3fa8c12715d9761158ec328d7e9523 (patch) | |
tree | 6ec28f3b15954daa85ca7aa71241e4c524880b22 | |
parent | 3bba679795f2262ea29bdbc15a153909fc050ff6 (diff) |
ARM: dove: add initial DT file for Globalscale D2Plug
This adds an initial DT file for the Globalscale D2Plug with Dove SoC.
Currently, one LED is missing and I have not been able to get SD8787 driver
working. Those will be taken care of later.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/dove-d2plug.dts | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 8e7fec47454e..de374eb5121d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \ | |||
47 | da850-evm.dtb | 47 | da850-evm.dtb |
48 | dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \ | 48 | dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \ |
49 | dove-cubox.dtb \ | 49 | dove-cubox.dtb \ |
50 | dove-d2plug.dtb \ | ||
50 | dove-dove-db.dtb | 51 | dove-dove-db.dtb |
51 | dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \ | 52 | dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \ |
52 | exynos4210-smdkv310.dtb \ | 53 | exynos4210-smdkv310.dtb \ |
diff --git a/arch/arm/boot/dts/dove-d2plug.dts b/arch/arm/boot/dts/dove-d2plug.dts new file mode 100644 index 000000000000..e2222ce94f2f --- /dev/null +++ b/arch/arm/boot/dts/dove-d2plug.dts | |||
@@ -0,0 +1,69 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "dove.dtsi" | ||
4 | |||
5 | / { | ||
6 | model = "Globalscale D2Plug"; | ||
7 | compatible = "globalscale,d2plug", "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 | pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>; | ||
21 | pinctrl-names = "default"; | ||
22 | |||
23 | wlan-ap { | ||
24 | label = "wlan-ap"; | ||
25 | gpios = <&gpio0 0 1>; | ||
26 | }; | ||
27 | |||
28 | wlan-act { | ||
29 | label = "wlan-act"; | ||
30 | gpios = <&gpio0 1 1>; | ||
31 | }; | ||
32 | |||
33 | bluetooth-act { | ||
34 | label = "bt-act"; | ||
35 | gpios = <&gpio0 2 1>; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | &uart0 { status = "okay"; }; | ||
41 | &sata0 { status = "okay"; }; | ||
42 | &i2c0 { status = "okay"; }; | ||
43 | &mdio { status = "okay"; }; | ||
44 | ð { status = "okay"; }; | ||
45 | |||
46 | /* Samsung M8G2F eMMC */ | ||
47 | &sdio0 { | ||
48 | status = "okay"; | ||
49 | non-removable; | ||
50 | bus-width = <4>; | ||
51 | }; | ||
52 | |||
53 | /* Marvell SD8787 WLAN/BT */ | ||
54 | &sdio1 { | ||
55 | status = "okay"; | ||
56 | non-removable; | ||
57 | bus-width = <4>; | ||
58 | }; | ||
59 | |||
60 | &spi0 { | ||
61 | status = "okay"; | ||
62 | |||
63 | /* spi0.0: 4M Flash Macronix MX25L3205D */ | ||
64 | spi-flash@0 { | ||
65 | compatible = "st,m25l3205d"; | ||
66 | spi-max-frequency = <20000000>; | ||
67 | reg = <0>; | ||
68 | }; | ||
69 | }; | ||