Merge tag 'iio-fixes-for-5.6a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / dove-d3plug.dts
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                 wlan-act {
25                         label = "wlan-act";
26                         gpios = <&gpio0 0 1>;
27                 };
28
29                 wlan-ap {
30                         label = "wlan-ap";
31                         gpios = <&gpio0 1 1>;
32                 };
33
34                 status {
35                         label = "status";
36                         gpios = <&gpio0 2 1>;
37                 };
38         };
39
40         regulators {
41                 compatible = "simple-bus";
42                 #address-cells = <1>;
43                 #size-cells = <0>;
44
45                 usb_power: regulator@1 {
46                         compatible = "regulator-fixed";
47                         reg = <1>;
48                         regulator-name = "USB Power";
49                         regulator-min-microvolt = <5000000>;
50                         regulator-max-microvolt = <5000000>;
51                         enable-active-high;
52                         regulator-always-on;
53                         regulator-boot-on;
54                         gpio = <&gpio0 8 0>;
55                         pinctrl-0 = <&pmx_gpio_8>;
56                         pinctrl-names = "default";
57                 };
58         };
59 };
60
61 &uart0 { status = "okay"; };
62 &sata0 { status = "okay"; };
63 &i2c0 { status = "okay"; };
64
65 /* Samsung M8G2F eMMC */
66 &sdio0 {
67         status = "okay";
68         non-removable;
69         bus-width = <4>;
70 };
71
72 /* Marvell SD8787 WLAN/BT */
73 &sdio1 {
74         status = "okay";
75         non-removable;
76 };
77
78 &spi0 {
79         status = "okay";
80
81         /* spi0.0: 2M Flash Macronix MX25L1605D */
82         spi-flash@0 {
83                 compatible = "st,m25l1605d";
84                 spi-max-frequency = <86000000>;
85                 reg = <0>;
86         };
87 };
88
89 &pcie {
90         status = "okay";
91         /* Fresco Logic USB3.0 xHCI controller */
92         pcie@1 {
93                 status = "okay";
94                 reset-gpios = <&gpio0 26 1>;
95                 reset-delay-us = <20000>;
96                 pinctrl-0 = <&pmx_camera_gpio>;
97                 pinctrl-names = "default";
98         };
99         /* Mini-PCIe slot */
100         pcie@2 {
101                 status = "okay";
102                 reset-gpios = <&gpio0 25 1>;
103         };
104 };