summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts')
-rw-r--r--recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts165
1 files changed, 165 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts b/recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts
new file mode 100644
index 0000000..96e6bdf
--- /dev/null
+++ b/recipes-kernel/linux/linux-cavium/dts/nas8104-linux.dts
@@ -0,0 +1,165 @@
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 sgmii00: sgmii00 {
58 qlm-mode = "0x000,sgmii";
59 reg = <0x0> ;
60 compatible = "marvell,88e1510", "ethernet-phy-ieee802.3-c22";
61 };
62 sgmii01: sgmii01 {
63 qlm-mode = "0x001,sgmii";
64 reg = <0x1> ;
65 compatible = "marvell,88e1510", "ethernet-phy-ieee802.3-c22";
66 };
67 };
68 mdio1@87e005003880 {
69 xfi10: xfi10 {
70 qlm-mode = "0x010,xfi";
71 reg = <0x0>;
72 compatible = "aquantia,aqr105", "ethernet-phy-ieee802.3-c45";
73 };
74 };
75 };
76
77 bgx0 {
78 /* typename+qlm+typenumber eg :
79 sgmii+bgx0+sgmmi0
80 */
81 sgmii00 {
82 reg = <0>;
83 qlm-mode = "0x000,sgmii";
84 local-mac-address = [00 00 00 00 00 00];
85 phy-handle = <&sgmii00>;
86 };
87 sgmii01 {
88 reg = <1>;
89 qlm-mode = "0x001,sgmii";
90 local-mac-address = [00 00 00 00 00 00];
91 phy-handle = <&sgmii01>;
92 };
93
94 };
95
96 bgx1 {
97 xfi10 {
98 reg = <0>;
99 qlm-mode = "0x010,xfi";
100 local-mac-address = [00 00 00 00 00 00];
101 phy-handle = <&xfi10>;
102 };
103 };
104};
105
106&mmc_1_4 {
107 /* NOTE: the BDK is responsible for swapping the two slots.
108 * Unfortunately there does not appear to be any way to read the
109 * position of SW2-7 in software.
110 */
111 /* Power on GPIO 8, active high, shared */
112 power-gpios = <&gpio_6_0 8 0>;
113
114 mmc-slot@0 {
115 compatible = "cavium,thunder-8890-mmc-slot";
116 reg = <0>;
117 /* Only 3.3v is supported */
118 voltage-ranges = <3300 3300>;
119 max-frequency = <26000000>;
120 /* 1.8v is not supported */
121 no-1-8-v;
122 /* Bus width is only 4 bits maximum */
123 bus-width = <4>;
124 /* No write-protect switch is present */
125 disable-wp;
126 /* There is no card detection available; polling must be used. */
127 broken-cd;
128 /* SD UHS SDR25 is supported */
129 sd-uhs-sdr25;
130 /* SD UHS SDR50 is supported */
131 sd-uhs-ddr50;
132 /* SD UHS DDR50 is supported */
133 sd-uhs-sdr50;
134 /* High-speed mode is supported */
135 cap-sd-highspeed;
136 };
137 mmc-slot@1 {
138 compatible = "cavium,thunder-8890-mmc-slot";
139 reg = <1>;
140 voltage-ranges = <3300 3300>;
141 max-frequency = <26000000>;
142 /* 1.8v is not supported */
143 no-1-8-v;
144 /* Bus width is only 8 bits maximum */
145 bus-width = <8>;
146 /* No write-protect switch is present */
147 disable-wp;
148 /* There is no card detection available; polling must be used. */
149 broken-cd;
150 /* High-speed mode is supported */
151 cap-mmc-highspeed;
152 /* eMMC device is soldered onto the board */
153 non-removable;
154 };
155};
156
157&spi_7_0 {
158 flash@0 {
159 compatible = "macronix,mx25l3206e", "jedec,spi-nor";
160 reg = <0x0>;
161 spi-max-frequency = <16000000>;
162 #address-cells = <1>;
163 #size-cells = <1>;
164 };
165};