summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts')
-rw-r--r--recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts317
1 files changed, 0 insertions, 317 deletions
diff --git a/recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts b/recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts
deleted file mode 100644
index 1f45e25..0000000
--- a/recipes-kernel/linux/linux-cavium/dts/sff8104-linux.dts
+++ /dev/null
@@ -1,317 +0,0 @@
1/*
2 * Cavium Thunder DTS file - Thunder board description
3 *
4 * Copyright (C) 2016, Cavium Inc.
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
11 * a) This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24 * MA 02110-1301 USA
25 *
26 * Or, alternatively,
27 *
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
35 * conditions:
36 *
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
39 *
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
48 */
49
50/dts-v1/;
51
52/include/ "cn81xx-linux.dtsi"
53
54&mrml_bridge {
55 mdio-nexus@1,3 {
56 mdio0@87e005003800 {
57 rgmii00: rgmii00 {
58 reg = <0> ;
59 compatible = "marvell,88e1510", "ethernet-phy-ieee802.3-c22";
60 };
61
62 qsgmii00: qsgmii00 {
63 qlm-mode = "0x000,qsgmii";
64 reg = <0x10> ;
65 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
66 };
67 qsgmii01: qsgmii01 {
68 qlm-mode = "0x001,qsgmii";
69 reg = <0x11> ;
70 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
71 };
72 qsgmii02: qsgmii02 {
73 qlm-mode = "0x002,qsgmii";
74 reg = <0x12> ;
75 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
76 };
77 qsgmii03: qsgmii03 {
78 qlm-mode = "0x003,qsgmii";
79 reg = <0x13> ;
80 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
81 };
82 };
83 mdio1@87e005003880 {
84 xfi00: xfi00 {
85 qlm-mode = "0x000,xfi";
86 reg = <0x0>;
87 compatible = "aquantia,aqr105", "ethernet-phy-ieee802.3-c45";
88 };
89 };
90 };
91
92 rgx0 {
93 rgmii00 {
94 reg = <0>;
95 local-mac-address = [00 00 00 00 00 00];
96 phy-handle = <&rgmii00>;
97 };
98 };
99
100 bgx0 {
101 /* typename+qlm+typenumber eg :
102 qsgmii+bgx0+sgmmi0
103 */
104 qsgmii00 {
105 reg = <0>;
106 qlm-mode = "0x000,qsgmii";
107 local-mac-address = [00 00 00 00 00 00];
108 phy-handle = <&qsgmii00>;
109 };
110 qsgmii01 {
111 reg = <1>;
112 qlm-mode = "0x001,qsgmii";
113 local-mac-address = [00 00 00 00 00 00];
114 phy-handle = <&qsgmii01>;
115 };
116 qsgmii02 {
117 reg = <2>;
118 qlm-mode = "0x002,qsgmii";
119 local-mac-address = [00 00 00 00 00 00];
120 phy-handle = <&qsgmii02>;
121 };
122 qsgmii03 {
123 reg = <3>;
124 qlm-mode = "0x003,qsgmii";
125 local-mac-address = [00 00 00 00 00 00];
126 phy-handle = <&qsgmii03>;
127 };
128
129 xfi00 {
130 reg = <0>;
131 qlm-mode = "0x000,xfi";
132 local-mac-address = [00 00 00 00 00 00];
133 phy-handle = <&xfi00>;
134 };
135 };
136
137 bgx1 {
138 xfi10 {
139 reg = <0>;
140 qlm-mode = "0x010,xfi";
141 local-mac-address = [00 00 00 00 00 00];
142 };
143
144 xfi11 {
145 reg = <1>;
146 qlm-mode = "0x011,xfi";
147 local-mac-address = [00 00 00 00 00 00];
148 };
149 };
150
151
152};
153
154&mmc_1_4 {
155 /* NOTE: the BDK is responsible for swapping the two slots.
156 * Unfortunately there does not appear to be any way to read the
157 * position of SW2-7 in software.
158 */
159 mmc-slot@0 {
160 compatible = "mmc-slot";
161 reg = <0>;
162 vmmc-supply = <&mmc_supply_3v3>;
163 max-frequency = <26000000>;
164 /* 1.8v is not supported */
165 no-1-8-v;
166 /* Bus width is only 4 bits maximum */
167 bus-width = <4>;
168 /* No write-protect switch is present */
169 disable-wp;
170 /* There is no card detection available; polling must be used. */
171 broken-cd;
172 /* High-speed mode is supported */
173 cap-sd-highspeed;
174 /* speed up device probing */
175 no-sdio;
176 no-mmc;
177 };
178 mmc-slot@1 {
179 compatible = "mmc-slot";
180 reg = <1>;
181 vmmc-supply = <&mmc_supply_3v3>;
182 max-frequency = <26000000>;
183 mmc-ddr-3_3v;
184 /* 1.8v is not supported */
185 no-1-8-v;
186 /* Bus width is only 8 bits maximum */
187 bus-width = <8>;
188 /* No write-protect switch is present */
189 disable-wp;
190 /* There is no card detection available; polling must be used. */
191 broken-cd;
192 /* High-speed mode is supported */
193 cap-mmc-highspeed;
194 /* eMMC device is soldered onto the board */
195 non-removable;
196 /* speed up device probing */
197 no-sdio;
198 no-sd;
199 };
200};
201
202&i2c_9_0 {
203 /* another pca9535 at 0x20 is only visible via jtag */
204 gpio1: gpio-i2c@21 {
205 compatible = "nxp,pca9535";
206 gpio-controller;
207 reg = <0x21>;
208 gpio_base = <48>;
209 pins = <48 16>;
210 ngpios = <16>; // standard
211 n_gpios = <16>; // deprecated, driver required
212 #gpio-cells = <2>;
213 };
214
215 gpio2: gpio-i2c@22 {
216 compatible = "nxp,pca9535";
217 gpio-controller;
218 reg = <0x22>;
219 gpio_base = <64>;
220 pins = <64 16>;
221 ngpios = <16>; // standard
222 n_gpios = <16>; // deprecated, driver required
223 #gpio-cells = <2>;
224 };
225
226 mux@70 {
227 compatible = "nxp,pca9546";
228 reg = <0x70>;
229 #address-cells = <1>;
230 #size-cells = <0>;
231
232 i2c@0 {
233 #address-cells = <1>;
234 #size-cells = <0>;
235 reg = <0>;
236 };
237
238 i2c@1 {
239 #address-cells = <1>;
240 #size-cells = <0>;
241 reg = <1>;
242 };
243
244 i2c@2 {
245 #address-cells = <1>;
246 #size-cells = <0>;
247 reg = <2>;
248 };
249 };
250};
251
252&i2c_9_1 {
253 rom@54 {
254 compatible = "atmel,24c256";
255 reg = <0x54>;
256 pagesize = <64>;
257 };
258
259 rtc@68 {
260 compatible = "isil,isl12057";
261 reg = <0x68>;
262 };
263};
264
265&spi_7_0 {
266 flash@0 {
267 compatible = "micron,n25q128a13", "spi-flash";
268 reg = <0x0>;
269 spi-max-frequency = <16000000>;
270 #address-cells = <1>;
271 #size-cells = <1>;
272 };
273};
274
275&nfc {
276 nand@1 {
277 reg = <0x1>;
278 nand-ecc-mode = "none";
279 };
280};
281
282&tdm {
283 // need corresponding mmc_etc.enable = <&gpio_6_0 39 1>;
284 pcm-enable-gpios = <&gpio_6_0 39 0>;
285};
286
287&spi_7_0 {
288 spi-mux-gpios = <&gpio1 4 1>;
289
290 flash@0 {
291 compatible = "jedec,spi-nor";
292 reg = <0x0>;
293 spi-max-frequency = <16000000>;
294 #address-cells = <1>;
295 #size-cells = <1>;
296 };
297
298 slic@4 {
299 compatible = "silabs,si32260", "linux,spidev";
300 reg = <4>;
301 spi-max-frequency = <2500000>;
302 reset-gpios = <&gpio1 0 1>;
303 irq-gpios = <&gpio_6_0 13>;
304 tx = <&tdm 0>;
305 rx = <&tdm 1>;
306 };
307
308 framer@5 {
309 compatible = "maxim,ds26521", "linux,spidev";
310 reg = <5>;
311 spi-max-frequency = <2500000>;
312 reset-gpios = <&gpio_6_0 11 1>;
313 irq-gpios = <&gpio_6_0 14>;
314 tx = <&tdm 2>;
315 rx = <&tdm 3>;
316 };
317};