libpayload: configs: Add new config.featuretest to broaden CI
[coreboot2.git] / src / mainboard / cavium / cn8100_sff_evb / sff8104-linux.dts
blobbeba36f3f87ae02428403205dbfe79c8d6993b23
1 /* SPDX-License-Identifier: GPL-2.0-only OR X11 */
2 /* Cavium Thunder DTS file - Thunder board description */
4 /dts-v1/;
6 /include/ "cn81xx-linux.dtsi"
8 &mrml_bridge {
9         mdio-nexus@1,3 {
10                 mdio0@87e005003800 {
11                         rgmii00: rgmii00 {
12                                 reg = <0> ;
13                                 compatible = "marvell,88e1510", "ethernet-phy-ieee802.3-c22";
14                         };
16                         qsgmii00: qsgmii00 {
17                                 qlm-mode = "0x000,qsgmii";
18                                 reg = <0x10> ;
19                                 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
20                         };
21                         qsgmii01: qsgmii01 {
22                                 qlm-mode = "0x001,qsgmii";
23                                 reg = <0x11> ;
24                                 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
25                         };
26                         qsgmii02: qsgmii02 {
27                                 qlm-mode = "0x002,qsgmii";
28                                 reg = <0x12> ;
29                                 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
30                         };
31                         qsgmii03: qsgmii03 {
32                                 qlm-mode = "0x003,qsgmii";
33                                 reg = <0x13> ;
34                                 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
35                         };
36                 };
37                 mdio1@87e005003880 {
38                         xfi00: xfi00 {
39                                 qlm-mode = "0x000,xfi";
40                                 reg = <0x0>;
41                                 compatible = "aquantia,aqr105", "ethernet-phy-ieee802.3-c45";
42                         };
43                 };
44         };
46         rgx0 {
47                 rgmii00 {
48                         reg = <0>;
49                         local-mac-address = [00 00 00 00 00 00];
50                         phy-handle = <&rgmii00>;
51                 };
52         };
54         bgx0 {
55                 /* typename+qlm+typenumber eg :
56                    qsgmii+bgx0+sgmmi0
57                  */
58                 qsgmii00 {
59                         reg = <0>;
60                         qlm-mode = "0x000,qsgmii";
61                         local-mac-address = [00 00 00 00 00 00];
62                         phy-handle = <&qsgmii00>;
63                 };
64                 qsgmii01 {
65                         reg = <1>;
66                         qlm-mode = "0x001,qsgmii";
67                         local-mac-address = [00 00 00 00 00 00];
68                         phy-handle = <&qsgmii01>;
69                 };
70                 qsgmii02 {
71                         reg = <2>;
72                         qlm-mode = "0x002,qsgmii";
73                         local-mac-address = [00 00 00 00 00 00];
74                         phy-handle = <&qsgmii02>;
75                 };
76                 qsgmii03 {
77                         reg = <3>;
78                         qlm-mode = "0x003,qsgmii";
79                         local-mac-address = [00 00 00 00 00 00];
80                         phy-handle = <&qsgmii03>;
81                 };
83                 xfi00 {
84                         reg = <0>;
85                         qlm-mode = "0x000,xfi";
86                         local-mac-address = [00 00 00 00 00 00];
87                         phy-handle = <&xfi00>;
88                 };
89         };
91         bgx1 {
92                 xfi10 {
93                         reg = <0>;
94                         qlm-mode = "0x010,xfi";
95                         local-mac-address = [00 00 00 00 00 00];
96                 };
98                 xfi11 {
99                         reg = <1>;
100                         qlm-mode = "0x011,xfi";
101                         local-mac-address = [00 00 00 00 00 00];
102                 };
103         };
108 &mmc_1_4 {
109         /* NOTE: the BDK is responsible for swapping the two slots.
110          * Unfortunately there does not appear to be any way to read the
111          * position of SW2-7 in software.
112          */
113         mmc-slot@0 {
114                 compatible = "mmc-slot";
115                 reg = <0>;
116                 vmmc-supply = <&mmc_supply_3v3>;
117                 max-frequency = <26000000>;
118                 /* 1.8v is not supported */
119                 no-1-8-v;
120                 /* Bus width is only 4 bits maximum */
121                 bus-width = <4>;
122                 /* No write-protect switch is present */
123                 disable-wp;
124                 /* There is no card detection available; polling must be used. */
125                 broken-cd;
126                 /* High-speed mode is supported */
127                 cap-sd-highspeed;
128                 /* speed up device probing */
129                 no-sdio;
130                 no-mmc;
131         };
132         mmc-slot@1 {
133                 compatible = "mmc-slot";
134                 reg = <1>;
135                 vmmc-supply = <&mmc_supply_3v3>;
136                 max-frequency = <26000000>;
137                 mmc-ddr-3_3v;
138                 /* 1.8v is not supported */
139                 no-1-8-v;
140                 /* Bus width is only 8 bits maximum */
141                 bus-width = <8>;
142                 /* No write-protect switch is present */
143                 disable-wp;
144                 /* There is no card detection available; polling must be used. */
145                 broken-cd;
146                 /* High-speed mode is supported */
147                 cap-mmc-highspeed;
148                 /* eMMC device is soldered onto the board */
149                 non-removable;
150                 /* speed up device probing */
151                 no-sdio;
152                 no-sd;
153         };
156 &i2c_9_0 {
157         /* another pca9535 at 0x20 is only visible via jtag */
158         gpio1: gpio-i2c@21 {
159                 compatible = "nxp,pca9535";
160                 gpio-controller;
161                 reg = <0x21>;
162                 gpio_base = <48>;
163                 pins = <48 16>;
164                 ngpios = <16>; // standard
165                 n_gpios = <16>; // deprecated, driver required
166                 #gpio-cells = <2>;
167         };
169         gpio2: gpio-i2c@22 {
170                 compatible = "nxp,pca9535";
171                 gpio-controller;
172                 reg = <0x22>;
173                 gpio_base = <64>;
174                 pins = <64 16>;
175                 ngpios = <16>; // standard
176                 n_gpios = <16>; // deprecated, driver required
177                 #gpio-cells = <2>;
178         };
180         mux@70 {
181                 compatible = "nxp,pca9546";
182                 reg = <0x70>;
183                 #address-cells = <1>;
184                 #size-cells = <0>;
186                 i2c@0 {
187                         #address-cells = <1>;
188                         #size-cells = <0>;
189                         reg = <0>;
190                 };
192                 i2c@1 {
193                         #address-cells = <1>;
194                         #size-cells = <0>;
195                         reg = <1>;
196                 };
198                 i2c@2 {
199                         #address-cells = <1>;
200                         #size-cells = <0>;
201                         reg = <2>;
202                 };
203         };
206 &i2c_9_1 {
207         rom@54 {
208                 compatible = "atmel,24c256";
209                 reg = <0x54>;
210                 pagesize = <64>;
211         };
213         rtc@68 {
214                 compatible = "isil,isl12057";
215                 reg = <0x68>;
216         };
219 &spi_7_0 {
220         flash@0 {
221                 compatible = "micron,n25q128a13", "spi-flash", "jedec,spi-nor";
222                 reg = <0x0>;
223                 spi-max-frequency = <16000000>;
224                 #address-cells = <1>;
225                 #size-cells = <1>;
226         };
227         flash@1 {
228                 compatible = "spinand,mt29f", "mt29f";
229                 reg = <0x1>;
230                 spi-max-frequency = <50000000>;
231                 #address-cells = <1>;
232                 #size-cells = <1>;
233                 nand-ecc-mode = "none";
234         };
237 &nfc {
238         nand@1 {
239                 reg = <0x1>;
240                 nand-ecc-mode = "none";
241         };