Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "dove.dtsi"
0005 
0006 / {
0007         model = "Globalscale D2Plug";
0008         compatible = "globalscale,d2plug", "marvell,dove";
0009 
0010         memory {
0011                 device_type = "memory";
0012                 reg = <0x00000000 0x40000000>;
0013         };
0014 
0015         chosen {
0016                 bootargs = "console=ttyS0,115200n8 earlyprintk";
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-ap {
0025                         label = "wlan-ap";
0026                         gpios = <&gpio0 0 1>;
0027                 };
0028 
0029                 wlan-act {
0030                         label = "wlan-act";
0031                         gpios = <&gpio0 1 1>;
0032                 };
0033 
0034                 bluetooth-act {
0035                         label = "bt-act";
0036                         gpios = <&gpio0 2 1>;
0037                 };
0038         };
0039 };
0040 
0041 &uart0 { status = "okay"; };
0042 &sata0 { status = "okay"; };
0043 &i2c0 { status = "okay"; };
0044 &mdio { status = "okay"; };
0045 &eth { status = "okay"; };
0046 
0047 /* Samsung M8G2F eMMC */
0048 &sdio0 {
0049         status = "okay";
0050         non-removable;
0051         bus-width = <4>;
0052 };
0053 
0054 /* Marvell SD8787 WLAN/BT */
0055 &sdio1 {
0056         status = "okay";
0057         non-removable;
0058         bus-width = <4>;
0059 };
0060 
0061 &spi0 {
0062         status = "okay";
0063 
0064         /* spi0.0: 4M Flash Macronix MX25L3205D */
0065         flash@0 {
0066                 compatible = "st,m25l3205d";
0067                 spi-max-frequency = <20000000>;
0068                 reg = <0>;
0069         };
0070 };