1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/dts-v1/;
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot#include "dove.dtsi"
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/ {
7*f126890aSEmmanuel Vadot	model = "Globalscale D2Plug";
8*f126890aSEmmanuel Vadot	compatible = "globalscale,d2plug", "marvell,dove";
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	memory {
11*f126890aSEmmanuel Vadot		device_type = "memory";
12*f126890aSEmmanuel Vadot		reg = <0x00000000 0x40000000>;
13*f126890aSEmmanuel Vadot	};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	chosen {
16*f126890aSEmmanuel Vadot		bootargs = "console=ttyS0,115200n8 earlyprintk";
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	leds {
20*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
21*f126890aSEmmanuel Vadot		pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
22*f126890aSEmmanuel Vadot		pinctrl-names = "default";
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot		led-wlan-ap {
25*f126890aSEmmanuel Vadot			label = "wlan-ap";
26*f126890aSEmmanuel Vadot			gpios = <&gpio0 0 1>;
27*f126890aSEmmanuel Vadot		};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot		led-wlan-act {
30*f126890aSEmmanuel Vadot			label = "wlan-act";
31*f126890aSEmmanuel Vadot			gpios = <&gpio0 1 1>;
32*f126890aSEmmanuel Vadot		};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot		led-bluetooth-act {
35*f126890aSEmmanuel Vadot			label = "bt-act";
36*f126890aSEmmanuel Vadot			gpios = <&gpio0 2 1>;
37*f126890aSEmmanuel Vadot		};
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&uart0 { status = "okay"; };
42*f126890aSEmmanuel Vadot&sata0 { status = "okay"; };
43*f126890aSEmmanuel Vadot&i2c0 { status = "okay"; };
44*f126890aSEmmanuel Vadot&mdio { status = "okay"; };
45*f126890aSEmmanuel Vadot&eth { status = "okay"; };
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot/* Samsung M8G2F eMMC */
48*f126890aSEmmanuel Vadot&sdio0 {
49*f126890aSEmmanuel Vadot	status = "okay";
50*f126890aSEmmanuel Vadot	non-removable;
51*f126890aSEmmanuel Vadot	bus-width = <4>;
52*f126890aSEmmanuel Vadot};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot/* Marvell SD8787 WLAN/BT */
55*f126890aSEmmanuel Vadot&sdio1 {
56*f126890aSEmmanuel Vadot	status = "okay";
57*f126890aSEmmanuel Vadot	non-removable;
58*f126890aSEmmanuel Vadot	bus-width = <4>;
59*f126890aSEmmanuel Vadot};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot&spi0 {
62*f126890aSEmmanuel Vadot	status = "okay";
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	/* spi0.0: 4M Flash Macronix MX25L3205D */
65*f126890aSEmmanuel Vadot	flash@0 {
66*f126890aSEmmanuel Vadot		compatible = "st,m25l3205d";
67*f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
68*f126890aSEmmanuel Vadot		reg = <0>;
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot};
71