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