summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dove-d2plug.dts
blob: c11d3636c8e5635004aa5ae73ceb3ab450882dd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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>;
	};
};