]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/armada-388-rd.dts
Merge tag 'sti-dt-for-v3.20-1' of git://git.stlinux.com/devel/kernel/linux-sti into...
[karo-tx-linux.git] / arch / arm / boot / dts / armada-388-rd.dts
1 /*
2  * Device Tree file for Marvell Armada 388 Reference Design board
3  * (RD-88F6820-AP)
4  *
5  *  Copyright (C) 2014 Marvell
6  *
7  * Gregory CLEMENT <gregory.clement@free-electrons.com>
8  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9  *
10  * This file is licensed under the terms of the GNU General Public
11  * License version 2.  This program is licensed "as is" without any
12  * warranty of any kind, whether express or implied.
13  */
14
15 /dts-v1/;
16 #include "armada-388.dtsi"
17
18 / {
19         model = "Marvell Armada 385 Reference Design";
20         compatible = "marvell,a385-rd", "marvell,armada388",
21                 "marvell,armada385","marvell,armada380";
22
23         chosen {
24                 bootargs = "console=ttyS0,115200 earlyprintk";
25         };
26
27         memory {
28                 device_type = "memory";
29                 reg = <0x00000000 0x10000000>; /* 256 MB */
30         };
31
32         soc {
33                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
34                           MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
35
36                 internal-regs {
37                         spi@10600 {
38                                 status = "okay";
39
40                                 spi-flash@0 {
41                                         #address-cells = <1>;
42                                         #size-cells = <1>;
43                                         compatible = "st,m25p128";
44                                         reg = <0>; /* Chip select 0 */
45                                         spi-max-frequency = <108000000>;
46                                 };
47                         };
48
49                         i2c@11000 {
50                                 status = "okay";
51                                 clock-frequency = <100000>;
52                         };
53
54                         serial@12000 {
55                                 status = "okay";
56                         };
57
58                         ethernet@30000 {
59                                 status = "okay";
60                                 phy = <&phy0>;
61                                 phy-mode = "rgmii-id";
62                         };
63
64                         ethernet@70000 {
65                                 status = "okay";
66                                 phy = <&phy1>;
67                                 phy-mode = "rgmii-id";
68                         };
69
70
71                         mdio@72004 {
72                                 phy0: ethernet-phy@0 {
73                                         reg = <0>;
74                                 };
75
76                                 phy1: ethernet-phy@1 {
77                                         reg = <1>;
78                                 };
79                         };
80
81                         usb3@f0000 {
82                                 status = "okay";
83                         };
84                 };
85
86                 pcie-controller {
87                         status = "okay";
88                         /*
89                          * One PCIe units is accessible through
90                          * standard PCIe slot on the board.
91                          */
92                         pcie@1,0 {
93                                 /* Port 0, Lane 0 */
94                                 status = "okay";
95                         };
96                 };
97         };
98 };