Merge branch 'master' of git://1984.lsi.us.es/nf
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / armada-370-db.dts
1 /*
2  * Device Tree file for Marvell Armada 370 evaluation board
3  * (DB-88F6710-BP-DDR3)
4  *
5  *  Copyright (C) 2012 Marvell
6  *
7  * Lior Amsalem <alior@marvell.com>
8  * Gregory CLEMENT <gregory.clement@free-electrons.com>
9  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10  *
11  * This file is licensed under the terms of the GNU General Public
12  * License version 2.  This program is licensed "as is" without any
13  * warranty of any kind, whether express or implied.
14  */
15
16 /dts-v1/;
17 /include/ "armada-370.dtsi"
18
19 / {
20         model = "Marvell Armada 370 Evaluation Board";
21         compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp";
22
23         chosen {
24                 bootargs = "console=ttyS0,115200 earlyprintk";
25         };
26
27         memory {
28                 device_type = "memory";
29                 reg = <0x00000000 0x40000000>; /* 1 GB */
30         };
31
32         soc {
33                 serial@d0012000 {
34                         clock-frequency = <200000000>;
35                         status = "okay";
36                 };
37                 sata@d00a0000 {
38                         nr-ports = <2>;
39                         status = "okay";
40                 };
41
42                 mdio {
43                         phy0: ethernet-phy@0 {
44                                 reg = <0>;
45                         };
46
47                         phy1: ethernet-phy@1 {
48                                 reg = <1>;
49                         };
50                 };
51
52                 ethernet@d0070000 {
53                         status = "okay";
54                         phy = <&phy0>;
55                         phy-mode = "rgmii-id";
56                 };
57                 ethernet@d0074000 {
58                         status = "okay";
59                         phy = <&phy1>;
60                         phy-mode = "rgmii-id";
61                 };
62
63                 mvsdio@d00d4000 {
64                         pinctrl-0 = <&sdio_pins1>;
65                         pinctrl-names = "default";
66                         /*
67                          * This device is disabled by default, because
68                          * using the SD card connector requires
69                          * changing the default CON40 connector
70                          * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a
71                          * different connector
72                          * "DB-88F6710_MPP_RGMII_SD_Jumper".
73                          */
74                         status = "disabled";
75                         /* No CD or WP GPIOs */
76                 };
77
78                 usb@d0050000 {
79                         status = "okay";
80                 };
81
82                 usb@d0051000 {
83                         status = "okay";
84                 };
85
86                 spi0: spi@d0010600 {
87                         status = "okay";
88
89                         spi-flash@0 {
90                                 #address-cells = <1>;
91                                 #size-cells = <1>;
92                                 compatible = "mx25l25635e";
93                                 reg = <0>; /* Chip select 0 */
94                                 spi-max-frequency = <50000000>;
95                         };
96                 };
97         };
98 };