Commit | Line | Data |
---|---|---|
0c2123a6 GJ |
1 | /* |
2 | * Device Tree file for Marvell Armada 390 Development Board | |
3 | * (DB-88F6920) | |
4 | * | |
5 | * Copyright (C) 2016 Marvell | |
6 | * | |
7 | * Grzegorz Jaszczyk <jaz@semihalf.com> | |
8 | * | |
9 | * This file is dual-licensed: you can use it either under the terms | |
10 | * of the GPL or the X11 license, at your option. Note that this dual | |
11 | * licensing only applies to this file, and not this project as a | |
12 | * whole. | |
13 | * | |
14 | * a) This file is free software; you can redistribute it and/or | |
15 | * modify it under the terms of the GNU General Public License as | |
16 | * published by the Free Software Foundation; either version 2 of the | |
17 | * License, or (at your option) any later version. | |
18 | * | |
24f0b6fe | 19 | * This file is distributed in the hope that it will be useful, |
0c2123a6 GJ |
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 | * GNU General Public License for more details. | |
23 | * | |
24f0b6fe | 24 | * Or, alternatively, |
0c2123a6 GJ |
25 | * |
26 | * b) Permission is hereby granted, free of charge, to any person | |
27 | * obtaining a copy of this software and associated documentation | |
28 | * files (the "Software"), to deal in the Software without | |
24f0b6fe | 29 | * restriction, including without limitation the rights to use, |
0c2123a6 GJ |
30 | * copy, modify, merge, publish, distribute, sublicense, and/or |
31 | * sell copies of the Software, and to permit persons to whom the | |
32 | * Software is furnished to do so, subject to the following | |
33 | * conditions: | |
34 | * | |
35 | * The above copyright notice and this permission notice shall be | |
36 | * included in all copies or substantial portions of the Software. | |
37 | * | |
24f0b6fe | 38 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
0c2123a6 GJ |
39 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
40 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
41 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
24f0b6fe | 42 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
0c2123a6 GJ |
43 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
44 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
45 | * OTHER DEALINGS IN THE SOFTWARE. | |
46 | */ | |
47 | ||
48 | /dts-v1/; | |
49 | #include "armada-390.dtsi" | |
50 | ||
51 | / { | |
52 | model = "Marvell Armada 390 Development Board"; | |
53 | compatible = "marvell,a390-db", "marvell,armada390"; | |
54 | ||
55 | chosen { | |
56 | stdout-path = "serial0:115200n8"; | |
57 | }; | |
58 | ||
59 | memory { | |
60 | device_type = "memory"; | |
61 | reg = <0x00000000 0x80000000>; /* 2 GB */ | |
62 | }; | |
63 | ||
64 | soc { | |
65 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 | |
66 | MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; | |
67 | ||
68 | internal-regs { | |
0c2123a6 GJ |
69 | i2c@11000 { |
70 | status = "okay"; | |
71 | clock-frequency = <100000>; | |
72 | ||
73 | eeprom@50 { | |
74 | compatible = "atmel,24c64"; | |
75 | reg = <0x50>; | |
76 | }; | |
77 | }; | |
78 | ||
79 | /* CON104 */ | |
80 | serial@12000 { | |
81 | status = "okay"; | |
82 | }; | |
83 | ||
84 | /* CON97 */ | |
85 | usb@58000 { | |
86 | status = "okay"; | |
87 | }; | |
88 | ||
89 | flash@d0000 { | |
90 | status = "okay"; | |
91 | pinctrl-0 = <&nand_pins>; | |
92 | pinctrl-names = "default"; | |
93 | num-cs = <1>; | |
94 | marvell,nand-keep-config; | |
95 | marvell,nand-enable-arbiter; | |
96 | nand-on-flash-bbt; | |
97 | nand-ecc-strength = <8>; | |
98 | nand-ecc-step-size = <512>; | |
99 | ||
100 | partitions { | |
101 | compatible = "fixed-partitions"; | |
102 | #address-cells = <1>; | |
103 | #size-cells = <1>; | |
104 | ||
105 | partition@0 { | |
106 | label = "U-Boot"; | |
107 | reg = <0 0x800000>; | |
108 | }; | |
109 | partition@800000 { | |
110 | label = "Linux"; | |
111 | reg = <0x800000 0x800000>; | |
112 | }; | |
113 | partition@1000000 { | |
114 | label = "Filesystem"; | |
115 | reg = <0x1000000 0x3f000000>; | |
116 | }; | |
117 | }; | |
118 | }; | |
119 | ||
120 | /* CON98 */ | |
121 | usb3@f8000 { | |
122 | status = "okay"; | |
123 | }; | |
124 | }; | |
125 | ||
28fbb9c5 | 126 | pcie { |
0c2123a6 GJ |
127 | status = "okay"; |
128 | ||
129 | /* CON30 */ | |
130 | pcie@1,0 { | |
131 | status = "okay"; | |
132 | }; | |
133 | ||
134 | /* CON44 */ | |
135 | pcie@2,0 { | |
136 | status = "okay"; | |
137 | }; | |
138 | ||
139 | /* CON61 */ | |
140 | pcie@3,0 { | |
141 | status = "okay"; | |
142 | }; | |
143 | }; | |
144 | }; | |
145 | }; | |
a305cc2f AB |
146 | |
147 | &spi1 { | |
148 | status = "okay"; | |
149 | pinctrl-0 = <&spi1_pins>; | |
150 | pinctrl-names = "default"; | |
151 | ||
152 | spi-flash@1 { | |
153 | #address-cells = <1>; | |
154 | #size-cells = <1>; | |
155 | compatible = "n25q128a13", | |
156 | "jedec,spi-nor"; | |
157 | reg = <0>; /* Chip select 0 */ | |
158 | spi-max-frequency = <108000000>; | |
159 | ||
160 | partitions { | |
161 | compatible = "fixed-partitions"; | |
162 | #address-cells = <1>; | |
163 | #size-cells = <1>; | |
164 | ||
165 | partition@0 { | |
166 | label = "U-Boot"; | |
167 | reg = <0 0x400000>; | |
168 | }; | |
169 | partition@400000 { | |
170 | label = "Filesystem"; | |
171 | reg = <0x400000 0xc00000>; | |
172 | }; | |
173 | }; | |
174 | }; | |
175 | }; |