summaryrefslogblamecommitdiff
path: root/arch/arm/boot/dts/dove-d2plug.dts
blob: 273f12ca2512a3ded3833f107394c10d36b66436 (plain) (tree)
1
2
3
4
                                   

         
                    

































































                                                                  
// SPDX-License-Identifier: GPL-2.0
/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>;
	};
};