1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "dove.dtsi"
5
6/ {
7	model = "Globalscale D3Plug";
8	compatible = "globalscale,d3plug", "marvell,dove";
9
10	memory {
11		device_type = "memory";
12		reg = <0x00000000 0x40000000>;
13	};
14
15	chosen {
16		bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait";
17	};
18
19	leds {
20		compatible = "gpio-leds";
21		pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
22		pinctrl-names = "default";
23
24		led-wlan-act {
25			label = "wlan-act";
26			gpios = <&gpio0 0 1>;
27		};
28
29		led-wlan-ap {
30			label = "wlan-ap";
31			gpios = <&gpio0 1 1>;
32		};
33
34		led-status {
35			label = "status";
36			gpios = <&gpio0 2 1>;
37		};
38	};
39
40	usb_power: regulator-1 {
41		compatible = "regulator-fixed";
42		regulator-name = "USB Power";
43		regulator-min-microvolt = <5000000>;
44		regulator-max-microvolt = <5000000>;
45		enable-active-high;
46		regulator-always-on;
47		regulator-boot-on;
48		gpio = <&gpio0 8 0>;
49		pinctrl-0 = <&pmx_gpio_8>;
50		pinctrl-names = "default";
51	};
52};
53
54&uart0 { status = "okay"; };
55&sata0 { status = "okay"; };
56&i2c0 { status = "okay"; };
57
58/* Samsung M8G2F eMMC */
59&sdio0 {
60	status = "okay";
61	non-removable;
62	bus-width = <4>;
63};
64
65/* Marvell SD8787 WLAN/BT */
66&sdio1 {
67	status = "okay";
68	non-removable;
69};
70
71&spi0 {
72	status = "okay";
73
74	/* spi0.0: 2M Flash Macronix MX25L1605D */
75	flash@0 {
76		compatible = "st,m25l1605d";
77		spi-max-frequency = <86000000>;
78		reg = <0>;
79	};
80};
81
82&pcie {
83	status = "okay";
84	/* Fresco Logic USB3.0 xHCI controller */
85	pcie@1 {
86		status = "okay";
87		reset-gpios = <&gpio0 26 1>;
88		reset-delay-us = <20000>;
89		pinctrl-0 = <&pmx_camera_gpio>;
90		pinctrl-names = "default";
91	};
92	/* Mini-PCIe slot */
93	pcie@2 {
94		status = "okay";
95		reset-gpios = <&gpio0 25 1>;
96	};
97};
98