summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts')
-rw-r--r--recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts138
1 files changed, 138 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts b/recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts
new file mode 100644
index 0000000..e11bc9d
--- /dev/null
+++ b/recipes-kernel/linux/linux-cavium/dts/xpliant-cn83xx-linux.dts
@@ -0,0 +1,138 @@
1/*
2 * Cavium Thunder DTS file - Thunder board description
3 *
4 * Copyright (C) 2017, 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/ "cn83xx-linux.dtsi"
53
54&mrml_bridge {
55 mdio-nexus@1,3 {
56 mdio0@87e005003800 {
57 sgmii20: sgmii20 {
58 qlm-mode = "0x020,sgmii";
59 reg = <0x1f>;
60 compatible = "broadcom,bcm54616", "ethernet-phy-ieee802.3-c45";
61 reset = <&gpio_6_0 34 0>;
62 };
63 };
64 };
65
66 bgx2 {
67 /* typename+qlm+typenumber eg :
68 sgmii+bgx0+sgmmi0
69 */
70 sgmii20 {
71 reg = <0>;
72 qlm-mode = "0x020,sgmii";
73 local-mac-address = [00 00 00 00 00 00];
74 phy-handle = <&sgmii20>;
75 };
76 };
77 bgx3 {
78 xfi30 {
79 reg = <0>;
80 qlm-mode = "0x030,xfi";
81 local-mac-address = [00 00 00 00 00 00];
82 };
83 };
84};
85
86&mmc_1_4 {
87 mmc-slot@0 {
88 compatible = "mmc-slot";
89 reg = <0>;
90 vmmc-supply = <&mmc_supply_3v3>;
91 max-frequency = <26000000>;
92 /* 1.8v is not supported */
93 no-1-8-v;
94 /* Bus width is only 4 bits maximum */
95 bus-width = <4>;
96 /* No write-protect switch is present */
97 disable-wp;
98 /* There is no card detection available; polling must be used. */
99 broken-cd;
100 /* High-speed mode is supported */
101 cap-sd-highspeed;
102 /* speed up device probing */
103 no-sdio;
104 no-mmc;
105 };
106 mmc-slot@1 {
107 compatible = "mmc-slot";
108 reg = <1>;
109 vmmc-supply = <&mmc_supply_3v3>;
110 max-frequency = <26000000>;
111 mmc-ddr-3_3v;
112 /* 1.8v is not supported */
113 no-1-8-v;
114 /* Bus width is only 8 bits maximum */
115 bus-width = <8>;
116 /* No write-protect switch is present */
117 disable-wp;
118 /* There is no card detection available; polling must be used. */
119 broken-cd;
120 /* High-speed mode is supported */
121 cap-mmc-highspeed;
122 /* eMMC device is soldered onto the board */
123 non-removable;
124 /* speed up device probing */
125 no-sdio;
126 no-sd;
127 };
128};
129
130&spi_7_0 {
131 flash@0 {
132 compatible = "micron,n25q1024", "jedec,spi-nor", "spi-flash";
133 reg = <0x0>;
134 spi-max-frequency = <16000000>;
135 #address-cells = <1>;
136 #size-cells = <1>;
137 };
138};