Commit | Line | Data |
---|---|---|
568fc0a3 GC |
1 | /* |
2 | * Device Tree file for Marvell Armada XP development board | |
3 | * (DB-MV784MP-GP) | |
4 | * | |
5 | * Copyright (C) 2013 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-xp-mv78460.dtsi" | |
18 | ||
19 | / { | |
20 | model = "Marvell Armada XP Development Board DB-MV784MP-GP"; | |
21 | compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; | |
22 | ||
23 | chosen { | |
24 | bootargs = "console=ttyS0,115200 earlyprintk"; | |
25 | }; | |
26 | ||
27 | memory { | |
28 | device_type = "memory"; | |
568fc0a3 | 29 | /* |
74898364 GC |
30 | * 8 GB of plug-in RAM modules by default.The amount |
31 | * of memory available can be changed by the | |
32 | * bootloader according the size of the module | |
33 | * actually plugged. Only 7GB are usable because | |
34 | * addresses from 0xC0000000 to 0xffffffff are used by | |
35 | * the internal registers of the SoC. | |
568fc0a3 | 36 | */ |
74898364 GC |
37 | reg = <0x00000000 0x00000000 0x00000000 0xC0000000>, |
38 | <0x00000001 0x00000000 0x00000001 0x00000000>; | |
568fc0a3 GC |
39 | }; |
40 | ||
41 | soc { | |
467f54b2 GC |
42 | internal-regs { |
43 | serial@12000 { | |
44 | clock-frequency = <250000000>; | |
45 | status = "okay"; | |
568fc0a3 | 46 | }; |
467f54b2 GC |
47 | serial@12100 { |
48 | clock-frequency = <250000000>; | |
49 | status = "okay"; | |
568fc0a3 | 50 | }; |
467f54b2 GC |
51 | serial@12200 { |
52 | clock-frequency = <250000000>; | |
53 | status = "okay"; | |
54 | }; | |
55 | serial@12300 { | |
56 | clock-frequency = <250000000>; | |
57 | status = "okay"; | |
568fc0a3 GC |
58 | }; |
59 | ||
467f54b2 GC |
60 | sata@a0000 { |
61 | nr-ports = <2>; | |
62 | status = "okay"; | |
568fc0a3 | 63 | }; |
568fc0a3 | 64 | |
467f54b2 GC |
65 | mdio { |
66 | phy0: ethernet-phy@0 { | |
67 | reg = <16>; | |
68 | }; | |
9dc3e346 | 69 | |
467f54b2 GC |
70 | phy1: ethernet-phy@1 { |
71 | reg = <17>; | |
72 | }; | |
9dc3e346 | 73 | |
467f54b2 GC |
74 | phy2: ethernet-phy@2 { |
75 | reg = <18>; | |
76 | }; | |
da8d1b38 | 77 | |
467f54b2 GC |
78 | phy3: ethernet-phy@3 { |
79 | reg = <19>; | |
80 | }; | |
da8d1b38 | 81 | }; |
513a7917 | 82 | |
467f54b2 GC |
83 | ethernet@70000 { |
84 | status = "okay"; | |
85 | phy = <&phy0>; | |
86 | phy-mode = "rgmii-id"; | |
87 | }; | |
88 | ethernet@74000 { | |
89 | status = "okay"; | |
90 | phy = <&phy1>; | |
91 | phy-mode = "rgmii-id"; | |
92 | }; | |
93 | ethernet@30000 { | |
94 | status = "okay"; | |
95 | phy = <&phy2>; | |
96 | phy-mode = "rgmii-id"; | |
97 | }; | |
98 | ethernet@34000 { | |
99 | status = "okay"; | |
100 | phy = <&phy3>; | |
101 | phy-mode = "rgmii-id"; | |
102 | }; | |
513a7917 | 103 | |
467f54b2 | 104 | spi0: spi@10600 { |
513a7917 | 105 | status = "okay"; |
467f54b2 GC |
106 | |
107 | spi-flash@0 { | |
108 | #address-cells = <1>; | |
109 | #size-cells = <1>; | |
110 | compatible = "n25q128a13"; | |
111 | reg = <0>; /* Chip select 0 */ | |
112 | spi-max-frequency = <108000000>; | |
113 | }; | |
513a7917 | 114 | }; |
467f54b2 GC |
115 | |
116 | devbus-bootcs@10400 { | |
513a7917 | 117 | status = "okay"; |
467f54b2 GC |
118 | ranges = <0 0xf0000000 0x1000000>; /* @addr 0xf000000, size 0x1000000 */ |
119 | ||
120 | /* Device Bus parameters are required */ | |
121 | ||
122 | /* Read parameters */ | |
123 | devbus,bus-width = <8>; | |
124 | devbus,turn-off-ps = <60000>; | |
125 | devbus,badr-skew-ps = <0>; | |
126 | devbus,acc-first-ps = <124000>; | |
127 | devbus,acc-next-ps = <248000>; | |
128 | devbus,rd-setup-ps = <0>; | |
129 | devbus,rd-hold-ps = <0>; | |
130 | ||
131 | /* Write parameters */ | |
132 | devbus,sync-enable = <0>; | |
133 | devbus,wr-high-ps = <60000>; | |
134 | devbus,wr-low-ps = <60000>; | |
135 | devbus,ale-wr-ps = <60000>; | |
136 | ||
137 | /* NOR 16 MiB */ | |
138 | nor@0 { | |
139 | compatible = "cfi-flash"; | |
140 | reg = <0 0x1000000>; | |
141 | bank-width = <2>; | |
142 | }; | |
513a7917 | 143 | }; |
467f54b2 GC |
144 | |
145 | pcie-controller { | |
513a7917 | 146 | status = "okay"; |
467f54b2 GC |
147 | |
148 | /* | |
149 | * The 3 slots are physically present as | |
150 | * standard PCIe slots on the board. | |
151 | */ | |
152 | pcie@1,0 { | |
153 | /* Port 0, Lane 0 */ | |
154 | status = "okay"; | |
155 | }; | |
156 | pcie@9,0 { | |
157 | /* Port 2, Lane 0 */ | |
158 | status = "okay"; | |
159 | }; | |
160 | pcie@10,0 { | |
161 | /* Port 3, Lane 0 */ | |
162 | status = "okay"; | |
163 | }; | |
513a7917 TP |
164 | }; |
165 | }; | |
568fc0a3 GC |
166 | }; |
167 | }; |