summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts')
-rw-r--r--recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts199
1 files changed, 199 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts b/recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts
new file mode 100644
index 0000000..238abe1
--- /dev/null
+++ b/recipes-kernel/linux/linux-cavium/dts/rbd8030-linux.dts
@@ -0,0 +1,199 @@
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 = "vitesse,vsc8531", "ethernet-phy-ieee802.3-c22";
60 };
61 };
62 mdio1@87e005003880 {
63 xfi11: xfi11 {
64 qlm-mode = "0x011,xfi";
65 reg = <0>;
66 compatible = "aquantia,aqr105", "ethernet-phy-ieee802.3-c45";
67 };
68 };
69 };
70
71 rgx0 {
72 rgmii00 {
73 reg = <0>;
74 local-mac-address = [00 00 00 00 00 00];
75 phy-handle = <&rgmii00>;
76 };
77 };
78
79 bgx0 {
80 /* typename+qlm+typenumber eg :
81 qsgmii+bgx0+sgmmi0
82 */
83 qsgmii00 {
84 reg = <0>;
85 qlm-mode = "0x000,qsgmii";
86 local-mac-address = [00 00 00 00 00 00];
87 cavium,disable-autonegotiation;
88 };
89 qsgmii01 {
90 reg = <1>;
91 qlm-mode = "0x001,qsgmii";
92 local-mac-address = [00 00 00 00 00 00];
93 cavium,disable-autonegotiation;
94 };
95 qsgmii02 {
96 reg = <2>;
97 qlm-mode = "0x002,qsgmii";
98 local-mac-address = [00 00 00 00 00 00];
99 cavium,disable-autonegotiation;
100 };
101 qsgmii03 {
102 reg = <3>;
103 qlm-mode = "0x003,qsgmii";
104 local-mac-address = [00 00 00 00 00 00];
105 cavium,disable-autonegotiation;
106 };
107 };
108
109 bgx1 {
110 /* vitesse vsc7224 */
111 xfi10 {
112 reg = <0>;
113 qlm-mode = "0x010,xfi";
114 local-mac-address = [00 00 00 00 00 00];
115 cavium,disable-autonegotiation;
116 };
117 /* aquantia aqr107 */
118 xfi11 {
119 reg = <1>;
120 qlm-mode = "0x011,xfi";
121 local-mac-address = [00 00 00 00 00 00];
122 phy-handle = <&xfi11>;
123 };
124 };
125};
126
127&mmc_1_4 {
128 /* NOTE: the BDK is responsible for swapping the two slots.
129 * Unfortunately there does not appear to be any way to read the
130 * position of SW2-7 in software.
131 */
132 /* Power on GPIO 8, active high, shared */
133 power-gpios = <&gpio_6_0 8 0>;
134
135 mmc-slot@0 {
136 compatible = "cavium,thunder-8890-mmc-slot";
137 reg = <0>;
138 /* Only 3.3v is supported */
139 voltage-ranges = <3300 3300>;
140 max-frequency = <26000000>;
141 /* 1.8v is not supported */
142 no-1-8-v;
143 /* Bus width is only 4 bits maximum */
144 bus-width = <4>;
145 /* No write-protect switch is present */
146 disable-wp;
147 /* There is no card detection available; polling must be used. */
148 broken-cd;
149 /* SD UHS SDR25 is supported */
150 sd-uhs-sdr25;
151 /* SD UHS SDR50 is supported */
152 sd-uhs-ddr50;
153 /* SD UHS DDR50 is supported */
154 sd-uhs-sdr50;
155 /* High-speed mode is supported */
156 cap-sd-highspeed;
157 /* speed up device probing */
158 no-sdio;
159 no-mmc;
160 };
161 mmc-slot@1 {
162 compatible = "cavium,thunder-8890-mmc-slot";
163 reg = <1>;
164 voltage-ranges = <3300 3300>;
165 max-frequency = <26000000>;
166 /* 1.8v is not supported */
167 no-1-8-v;
168 /* Bus width is only 8 bits maximum */
169 bus-width = <8>;
170 /* No write-protect switch is present */
171 disable-wp;
172 /* There is no card detection available; polling must be used. */
173 broken-cd;
174 /* High-speed mode is supported */
175 cap-mmc-highspeed;
176 /* eMMC device is soldered onto the board */
177 non-removable;
178 /* speed up device probing */
179 no-sdio;
180 no-sd;
181 };
182};
183
184&i2c_9_0 {
185 rtc@68 {
186 compatible = "dallas,ds1337";
187 reg = <0x68>;
188 };
189};
190
191&spi_7_0 {
192 flash@0 {
193 compatible = "micron,n25q128a13", "spi-flash";
194 reg = <0x0>;
195 spi-max-frequency = <16000000>;
196 #address-cells = <1>;
197 #size-cells = <1>;
198 };
199};