Commit | Line | Data |
---|---|---|
a8a921dd | 1 | /* |
881a50e4 | 2 | * Device Tree file for Marvell Armada 388 Reference Design board |
a8a921dd GC |
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 | * | |
4fbf38b1 GC |
10 | * This file is dual-licensed: you can use it either under the terms |
11 | * of the GPL or the X11 license, at your option. Note that this dual | |
12 | * licensing only applies to this file, and not this project as a | |
13 | * whole. | |
14 | * | |
15 | * a) This file is free software; you can redistribute it and/or | |
16 | * modify it under the terms of the GNU General Public License as | |
17 | * published by the Free Software Foundation; either version 2 of the | |
18 | * License, or (at your option) any later version. | |
19 | * | |
20 | * This file is distributed in the hope that it will be useful | |
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | * GNU General Public License for more details. | |
24 | * | |
25 | * Or, alternatively | |
26 | * | |
27 | * b) Permission is hereby granted, free of charge, to any person | |
28 | * obtaining a copy of this software and associated documentation | |
29 | * files (the "Software"), to deal in the Software without | |
30 | * restriction, including without limitation the rights to use | |
31 | * copy, modify, merge, publish, distribute, sublicense, and/or | |
32 | * sell copies of the Software, and to permit persons to whom the | |
33 | * Software is furnished to do so, subject to the following | |
34 | * conditions: | |
35 | * | |
36 | * The above copyright notice and this permission notice shall be | |
37 | * included in all copies or substantial portions of the Software. | |
38 | * | |
39 | * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND | |
40 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
41 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
42 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
43 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY | |
44 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
45 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
46 | * OTHER DEALINGS IN THE SOFTWARE. | |
a8a921dd GC |
47 | */ |
48 | ||
49 | /dts-v1/; | |
881a50e4 | 50 | #include "armada-388.dtsi" |
a8a921dd GC |
51 | |
52 | / { | |
53 | model = "Marvell Armada 385 Reference Design"; | |
881a50e4 GC |
54 | compatible = "marvell,a385-rd", "marvell,armada388", |
55 | "marvell,armada385","marvell,armada380"; | |
a8a921dd GC |
56 | |
57 | chosen { | |
9552203c | 58 | stdout-path = "serial0:115200n8"; |
a8a921dd GC |
59 | }; |
60 | ||
61 | memory { | |
62 | device_type = "memory"; | |
63 | reg = <0x00000000 0x10000000>; /* 256 MB */ | |
64 | }; | |
65 | ||
66 | soc { | |
67 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 | |
68 | MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; | |
69 | ||
70 | internal-regs { | |
71 | spi@10600 { | |
72 | status = "okay"; | |
73 | ||
74 | spi-flash@0 { | |
75 | #address-cells = <1>; | |
76 | #size-cells = <1>; | |
e9f3ed4a | 77 | compatible = "st,m25p128", "jedec,spi-nor"; |
a8a921dd GC |
78 | reg = <0>; /* Chip select 0 */ |
79 | spi-max-frequency = <108000000>; | |
80 | }; | |
81 | }; | |
82 | ||
83 | i2c@11000 { | |
84 | status = "okay"; | |
85 | clock-frequency = <100000>; | |
86 | }; | |
87 | ||
444fdf94 GC |
88 | sdhci@d8000 { |
89 | pinctrl-names = "default"; | |
90 | pinctrl-0 = <&sdhci_pins>; | |
91 | broken-cd; | |
92 | no-1-8-v; | |
93 | wp-inverted; | |
94 | bus-width = <8>; | |
95 | status = "okay"; | |
96 | }; | |
97 | ||
a8a921dd | 98 | serial@12000 { |
a8a921dd GC |
99 | status = "okay"; |
100 | }; | |
101 | ||
102 | ethernet@30000 { | |
103 | status = "okay"; | |
104 | phy = <&phy0>; | |
105 | phy-mode = "rgmii-id"; | |
106 | }; | |
107 | ||
108 | ethernet@70000 { | |
109 | status = "okay"; | |
110 | phy = <&phy1>; | |
111 | phy-mode = "rgmii-id"; | |
112 | }; | |
113 | ||
114 | ||
4a25432b | 115 | mdio@72004 { |
a8a921dd GC |
116 | phy0: ethernet-phy@0 { |
117 | reg = <0>; | |
118 | }; | |
119 | ||
120 | phy1: ethernet-phy@1 { | |
121 | reg = <1>; | |
122 | }; | |
123 | }; | |
87e2fc37 GC |
124 | |
125 | usb3@f0000 { | |
126 | status = "okay"; | |
127 | }; | |
a8a921dd GC |
128 | }; |
129 | ||
130 | pcie-controller { | |
131 | status = "okay"; | |
132 | /* | |
133 | * One PCIe units is accessible through | |
134 | * standard PCIe slot on the board. | |
135 | */ | |
136 | pcie@1,0 { | |
137 | /* Port 0, Lane 0 */ | |
138 | status = "okay"; | |
139 | }; | |
140 | }; | |
141 | }; | |
142 | }; |