0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include "dove.dtsi"
0005
0006 / {
0007 model = "Globalscale D3Plug";
0008 compatible = "globalscale,d3plug", "marvell,dove";
0009
0010 memory {
0011 device_type = "memory";
0012 reg = <0x00000000 0x40000000>;
0013 };
0014
0015 chosen {
0016 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait";
0017 };
0018
0019 leds {
0020 compatible = "gpio-leds";
0021 pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
0022 pinctrl-names = "default";
0023
0024 wlan-act {
0025 label = "wlan-act";
0026 gpios = <&gpio0 0 1>;
0027 };
0028
0029 wlan-ap {
0030 label = "wlan-ap";
0031 gpios = <&gpio0 1 1>;
0032 };
0033
0034 status {
0035 label = "status";
0036 gpios = <&gpio0 2 1>;
0037 };
0038 };
0039
0040 regulators {
0041 compatible = "simple-bus";
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044
0045 usb_power: regulator@1 {
0046 compatible = "regulator-fixed";
0047 reg = <1>;
0048 regulator-name = "USB Power";
0049 regulator-min-microvolt = <5000000>;
0050 regulator-max-microvolt = <5000000>;
0051 enable-active-high;
0052 regulator-always-on;
0053 regulator-boot-on;
0054 gpio = <&gpio0 8 0>;
0055 pinctrl-0 = <&pmx_gpio_8>;
0056 pinctrl-names = "default";
0057 };
0058 };
0059 };
0060
0061 &uart0 { status = "okay"; };
0062 &sata0 { status = "okay"; };
0063 &i2c0 { status = "okay"; };
0064
0065 /* Samsung M8G2F eMMC */
0066 &sdio0 {
0067 status = "okay";
0068 non-removable;
0069 bus-width = <4>;
0070 };
0071
0072 /* Marvell SD8787 WLAN/BT */
0073 &sdio1 {
0074 status = "okay";
0075 non-removable;
0076 };
0077
0078 &spi0 {
0079 status = "okay";
0080
0081 /* spi0.0: 2M Flash Macronix MX25L1605D */
0082 flash@0 {
0083 compatible = "st,m25l1605d";
0084 spi-max-frequency = <86000000>;
0085 reg = <0>;
0086 };
0087 };
0088
0089 &pcie {
0090 status = "okay";
0091 /* Fresco Logic USB3.0 xHCI controller */
0092 pcie@1 {
0093 status = "okay";
0094 reset-gpios = <&gpio0 26 1>;
0095 reset-delay-us = <20000>;
0096 pinctrl-0 = <&pmx_camera_gpio>;
0097 pinctrl-names = "default";
0098 };
0099 /* Mini-PCIe slot */
0100 pcie@2 {
0101 status = "okay";
0102 reset-gpios = <&gpio0 25 1>;
0103 };
0104 };