]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/blob - arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
Revert "HACK: ARM: dts: dra7-ipu-common: Revert to CMA pools for IPU early boots"
[rpmsg/rpmsg.git] / arch / arm / boot / dts / aspeed-bmc-quanta-q71l.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g4.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
6 / {
7         model = "Quanta Q71L BMC";
8         compatible = "quanta,q71l-bmc", "aspeed,ast2400";
10         chosen {
11                 stdout-path = &uart5;
12                 bootargs = "console=ttyS4,115200 earlyprintk";
13         };
15         memory@40000000 {
16                 reg = <0x40000000 0x8000000>;
17         };
19         reserved-memory {
20                 #address-cells = <1>;
21                 #size-cells = <1>;
22                 ranges;
24                 vga_memory: framebuffer@47800000 {
25                         no-map;
26                         reg = <0x47800000 0x00800000>; /* 8MB */
27                 };
28         };
30         leds {
31                 compatible = "gpio-leds";
33                 heartbeat {
34                         gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
35                 };
37                 power {
38                         gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
39                 };
41                 identify {
42                         gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
43                 };
44         };
46         iio-hwmon {
47                 compatible = "iio-hwmon";
48                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
49                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
50                         <&adc 8>, <&adc 9>, <&adc 10>;
51         };
53         iio-hwmon-battery {
54                 compatible = "iio-hwmon";
55                 io-channels = <&adc 11>;
56         };
58         i2c1mux: i2cmux {
59                 compatible = "i2c-mux-gpio";
60                 #address-cells = <1>;
61                 #size-cells = <0>;
63                 /* mux-gpios = <&sgpio 10 GPIO_ACTIVE_HIGH> */
64                 i2c-parent = <&i2c1>;
65         };
66 };
68 &fmc {
69         status = "okay";
70         flash@0 {
71                 status = "okay";
72                 label = "bmc";
73                 m25p,fast-read;
74 #include "openbmc-flash-layout.dtsi"
75         };
76 };
78 &spi {
79         status = "okay";
80         pinctrl-names = "default";
81         pinctrl-0 = <&pinctrl_spi1_default>;
83         flash@0 {
84                 status = "okay";
85                 m25p,fast-read;
86                 label = "pnor";
87         };
88 };
90 &pinctrl {
91         pinctrl-names = "default";
92         pinctrl-0 = <&pinctrl_vgahs_default &pinctrl_vgavs_default
93                         &pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
94 };
96 &lpc_snoop {
97         status = "okay";
98         snoop-ports = <0x80>;
99 };
101 &mac0 {
102         status = "okay";
103         pinctrl-names = "default";
104         pinctrl-0 = <&pinctrl_rmii1_default>;
105         use-ncsi;
106 };
108 &mac1 {
109         status = "okay";
110         pinctrl-names = "default";
111         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
112 };
114 &uart5 {
115         status = "okay";
116 };
118 &i2c0 {
119         status = "okay";
120 };
122 &i2c1 {
123         status = "okay";
125         /* temp2 inlet */
126         tmp75@4c {
127                 compatible = "ti,tmp75";
128                 reg = <0x4c>;
129         };
131         /* temp3 */
132         tmp75@4e {
133                 compatible = "ti,tmp75";
134                 reg = <0x4e>;
135         };
137         /* temp1 */
138         tmp75@4f {
139                 compatible = "ti,tmp75";
140                 reg = <0x4f>;
141         };
143         /* Baseboard FRU */
144         eeprom@54 {
145                 compatible = "atmel,24c64";
146                 reg = <0x54>;
147         };
149         /* FP FRU */
150         eeprom@57 {
151                 compatible = "atmel,24c64";
152                 reg = <0x57>;
153         };
154 };
156 &i2c2 {
157         status = "okay";
159         /* 0: PCIe Slot 2,
160          *    Slot 3,
161          *    Slot 6,
162          *    Slot 7
163          */
164         i2c-switch@74 {
165                 compatible = "nxp,pca9546";
166                 reg = <0x74>;
167                 #address-cells = <1>;
168                 #size-cells = <0>;
169                 i2c-mux-idle-disconnect;  /* may use mux@77 next. */
171                 i2c_pcie2: i2c@0 {
172                         #address-cells = <1>;
173                         #size-cells = <0>;
174                         reg = <0>;
175                 };
177                 i2c_pcie3: i2c@1 {
178                         #address-cells = <1>;
179                         #size-cells = <0>;
180                         reg = <1>;
181                 };
183                 i2c_pcie6: i2c@2 {
184                         #address-cells = <1>;
185                         #size-cells = <0>;
186                         reg = <2>;
187                 };
189                 i2c_pcie7: i2c@3 {
190                         #address-cells = <1>;
191                         #size-cells = <0>;
192                         reg = <3>;
193                 };
194         };
196         /* 0: PCIe Slot 1,
197          *    Slot 4,
198          *    Slot 5,
199          *    Slot 8,
200          *    Slot 9,
201          *    Slot 10,
202          *    SSD 1,
203          *    SSD 2
204          */
205         i2c-switch@77 {
206                 compatible = "nxp,pca9548";
207                 #address-cells = <1>;
208                 #size-cells = <0>;
209                 reg = <0x77>;
210                 i2c-mux-idle-disconnect;  /* may use mux@74 next. */
212                 i2c_pcie1: i2c@0 {
213                         #address-cells = <1>;
214                         #size-cells = <0>;
215                         reg = <0>;
216                 };
218                 i2c_pcie4: i2c@1 {
219                         #address-cells = <1>;
220                         #size-cells = <0>;
221                         reg = <1>;
222                 };
224                 i2c_pcie5: i2c@2 {
225                         #address-cells = <1>;
226                         #size-cells = <0>;
227                         reg = <2>;
228                 };
230                 i2c_pcie8: i2c@3 {
231                         #address-cells = <1>;
232                         #size-cells = <0>;
233                         reg = <3>;
234                 };
236                 i2c_pcie9: i2c@4 {
237                         #address-cells = <1>;
238                         #size-cells = <0>;
239                         reg = <4>;
240                 };
242                 i2c_pcie10: i2c@5 {
243                         #address-cells = <1>;
244                         #size-cells = <0>;
245                         reg = <5>;
246                 };
248                 i2c_ssd1: i2c@6 {
249                         #address-cells = <1>;
250                         #size-cells = <0>;
251                         reg = <6>;
252                 };
254                 i2c_ssd2: i2c@7 {
255                         #address-cells = <1>;
256                         #size-cells = <0>;
257                         reg = <7>;
258                 };
259         };
260 };
262 &i2c3 {
263         status = "okay";
265         /* BIOS FRU */
266         eeprom@56 {
267                 compatible = "atmel,24c64";
268                 reg = <0x56>;
269         };
270 };
272 &i2c4 {
273         status = "okay";
274 };
276 &i2c5 {
277         status = "okay";
278 };
280 &i2c6 {
281         status = "okay";
282 };
284 &i2c7 {
285         status = "okay";
287         /* 0: PSU4
288          *    PSU1
289          *    PSU3
290          *    PSU2
291          */
292         i2c-switch@70 {
293                 compatible = "nxp,pca9546";
294                 reg = <0x70>;
295                 #address-cells = <1>;
296                 #size-cells = <0>;
298                 i2c_psu4: i2c@0 {
299                         #address-cells = <1>;
300                         #size-cells = <0>;
301                         reg = <0>;
302                 };
304                 i2c_psu1: i2c@1 {
305                         #address-cells = <1>;
306                         #size-cells = <0>;
307                         reg = <1>;
308                 };
310                 i2c_psu3: i2c@2 {
311                         #address-cells = <1>;
312                         #size-cells = <0>;
313                         reg = <2>;
314                 };
316                 i2c_psu2: i2c@3 {
317                         #address-cells = <1>;
318                         #size-cells = <0>;
319                         reg = <3>;
320                 };
321         };
323         /* PDB FRU */
324         eeprom@52 {
325                 compatible = "atmel,24c64";
326                 reg = <0x52>;
327         };
328 };
330 &i2c8 {
331         status = "okay";
333         /* BMC FRU */
334         eeprom@50 {
335                 compatible = "atmel,24c64";
336                 reg = <0x50>;
337         };
338 };
340 &vuart {
341         status = "okay";
342 };
344 &wdt2 {
345         status = "okay";
346 };
348 &pwm_tacho {
349         status = "okay";
351         pinctrl-names = "default";
352         pinctrl-0 = <&pinctrl_pwm0_default
353                 &pinctrl_pwm1_default
354                 &pinctrl_pwm2_default
355                 &pinctrl_pwm3_default>;
357         fan@0 {
358                 reg = <0x00>;
359                 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
360         };
362         fan@1 {
363                 reg = <0x01>;
364                 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
365         };
367         fan@2 {
368                 reg = <0x02>;
369                 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
370         };
372         fan@3 {
373                 reg = <0x03>;
374                 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
375         };
377         fan@4 {
378                 reg = <0x00>;
379                 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
380         };
382         fan@5 {
383                 reg = <0x01>;
384                 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
385         };
387         fan@6 {
388                 reg = <0x02>;
389                 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
390         };
392         fan@7 {
393                 reg = <0x03>;
394                 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
395         };
396 };
398 &i2c1mux {
399         i2c@0 {
400                 reg = <0>;
401                 #address-cells = <1>;
402                 #size-cells = <0>;
404                 /* Memory Riser 1 FRU */
405                 eeprom@50 {
406                         compatible = "atmel,24c02";
407                         reg = <0x50>;
408                 };
410                 /* Memory Riser 2 FRU */
411                 eeprom@51 {
412                         compatible = "atmel,24c02";
413                         reg = <0x51>;
414                 };
416                 /* Memory Riser 3 FRU */
417                 eeprom@52 {
418                         compatible = "atmel,24c02";
419                         reg = <0x52>;
420                 };
422                 /* Memory Riser 4 FRU */
423                 eeprom@53 {
424                         compatible = "atmel,24c02";
425                         reg = <0x53>;
426                 };
427         };
429         i2c@1 {
430                 reg = <1>;
431                 #address-cells = <1>;
432                 #size-cells = <0>;
434                 /* Memory Riser 5 FRU */
435                 eeprom@50 {
436                         compatible = "atmel,24c02";
437                         reg = <0x50>;
438                 };
440                 /* Memory Riser 6 FRU */
441                 eeprom@51 {
442                         compatible = "atmel,24c02";
443                         reg = <0x51>;
444                 };
446                 /* Memory Riser 7 FRU */
447                 eeprom@52 {
448                         compatible = "atmel,24c02";
449                         reg = <0x52>;
450                 };
452                 /* Memory Riser 8 FRU */
453                 eeprom@53 {
454                         compatible = "atmel,24c02";
455                         reg = <0x53>;
456                 };
457         };
458 };