ARM: dove: add initial DT file for Globalscale D2Plug
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 29 Jul 2013 12:29:06 +0000 (14:29 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 12 Aug 2013 21:03:50 +0000 (21:03 +0000)
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>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/dove-d2plug.dts [new file with mode: 0644]

index 8e7fec47454e6fb88ece01d8922db00369354c3f..de374eb5121dd25c407679674d14f3f0ed8bff17 100644 (file)
@@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
        da850-evm.dtb
 dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
        dove-cubox.dtb \
+       dove-d2plug.dtb \
        dove-dove-db.dtb
 dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
        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 (file)
index 0000000..e2222ce
--- /dev/null
@@ -0,0 +1,69 @@
+/dts-v1/;
+
+/include/ "dove.dtsi"
+
+/ {
+       model = "Globalscale D2Plug";
+       compatible = "globalscale,d2plug", "marvell,dove";
+
+       memory {
+               device_type = "memory";
+               reg = <0x00000000 0x40000000>;
+       };
+
+       chosen {
+               bootargs = "console=ttyS0,115200n8 earlyprintk";
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
+               pinctrl-names = "default";
+
+               wlan-ap {
+                       label = "wlan-ap";
+                       gpios = <&gpio0 0 1>;
+               };
+
+               wlan-act {
+                       label = "wlan-act";
+                       gpios = <&gpio0 1 1>;
+               };
+
+               bluetooth-act {
+                       label = "bt-act";
+                       gpios = <&gpio0 2 1>;
+               };
+       };
+};
+
+&uart0 { status = "okay"; };
+&sata0 { status = "okay"; };
+&i2c0 { status = "okay"; };
+&mdio { status = "okay"; };
+&eth { status = "okay"; };
+
+/* Samsung M8G2F eMMC */
+&sdio0 {
+       status = "okay";
+       non-removable;
+       bus-width = <4>;
+};
+
+/* Marvell SD8787 WLAN/BT */
+&sdio1 {
+       status = "okay";
+       non-removable;
+       bus-width = <4>;
+};
+
+&spi0 {
+       status = "okay";
+
+       /* spi0.0: 4M Flash Macronix MX25L3205D */
+       spi-flash@0 {
+               compatible = "st,m25l3205d";
+               spi-max-frequency = <20000000>;
+               reg = <0>;
+       };
+};
This page took 0.026017 seconds and 5 git commands to generate.