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};
104