1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2019 IBM Corp.
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
11 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
19 bootargs = "console=ttyS4,115200n8";
23 device_type = "memory";
24 reg = <0x80000000 0x40000000>;
32 flash_memory: region@B8000000 {
34 reg = <0xB8000000 0x04000000>; /* 64M */
37 vga_memory: region@bf000000 {
39 reg = <0xbf000000 0x01000000>; /* 16M */
44 compatible = "gpio-keys";
47 label = "ps0-presence";
48 gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
49 linux,code = <ASPEED_GPIO(S, 0)>;
53 label = "ps1-presence";
54 gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
55 linux,code = <ASPEED_GPIO(S, 1)>;
59 label = "ps2-presence";
60 gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
61 linux,code = <ASPEED_GPIO(S, 2)>;
65 label = "ps3-presence";
66 gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
67 linux,code = <ASPEED_GPIO(S, 3)>;
75 /*A0-A7*/ "","","","","","","","",
76 /*B0-B7*/ "","","","","","","","",
77 /*C0-C7*/ "","","","","","","","",
78 /*D0-D7*/ "","","","","","","","",
79 /*E0-E7*/ "","","","","","","","",
80 /*F0-F7*/ "","","","","","","","",
81 /*G0-G7*/ "","","","","","","","",
82 /*H0-H7*/ "","","","","","","","",
83 /*I0-I7*/ "","","","","","","","",
84 /*J0-J7*/ "","","","","","","","",
85 /*K0-K7*/ "","","","","","","","",
86 /*L0-L7*/ "","","","","","","","",
87 /*M0-M7*/ "","","","","","","","",
88 /*N0-N7*/ "","","","","","","","",
89 /*O0-O7*/ "","","","","","","","",
90 /*P0-P7*/ "","","","","","","","",
91 /*Q0-Q7*/ "cfam-reset","","","","","","","",
92 /*R0-R7*/ "","","","","","","","",
93 /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
95 /*T0-T7*/ "","","","","","","","",
96 /*U0-U7*/ "","","","","","","","",
97 /*V0-V7*/ "","","","","","","","",
98 /*W0-W7*/ "","","","","","","","",
99 /*X0-X7*/ "","","","","","","","",
100 /*Y0-Y7*/ "","","","","","","","",
101 /*Z0-Z7*/ "","","","","","","","",
102 /*AA0-AA7*/ "","","","","","","","",
103 /*AB0-AB7*/ "","","","","","","","",
104 /*AC0-AC7*/ "","","","","","","","";
118 #address-cells = <2>;
123 #address-cells = <1>;
128 compatible = "ibm,fsi2pib";
129 reg = <0x1000 0x400>;
133 compatible = "ibm,p9-sbefifo";
134 reg = <0x2400 0x400>;
135 #address-cells = <1>;
139 compatible = "ibm,p9-occ";
144 compatible = "fsi-master-hub";
145 reg = <0x3400 0x400>;
146 #address-cells = <2>;
157 #address-cells = <1>;
162 compatible = "ibm,fsi2pib";
163 reg = <0x1000 0x400>;
167 compatible = "ibm,p9-sbefifo";
168 reg = <0x2400 0x400>;
169 #address-cells = <1>;
173 compatible = "ibm,p9-occ";
178 compatible = "fsi-master-hub";
179 reg = <0x3400 0x400>;
180 #address-cells = <2>;
188 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
205 compatible = "atmel,24c64";
222 compatible = "ibm,cffps";
227 compatible = "ibm,cffps";
232 compatible = "ibm,cffps";
237 compatible = "ibm,cffps";
246 compatible = "ti,tmp275";
251 compatible = "ti,tmp275";
256 compatible = "ti,tmp275";
261 compatible = "atmel,24c64";
266 compatible = "atmel,24c64";
271 compatible = "atmel,24c64";
280 compatible = "ti,tmp275";
285 compatible = "ti,tmp275";
290 compatible = "atmel,24c64";
295 compatible = "atmel,24c64";
304 compatible = "ti,tmp275";
309 compatible = "ti,tmp275";
314 compatible = "ti,tmp275";
319 compatible = "atmel,24c64";
324 compatible = "atmel,24c64";
329 compatible = "atmel,24c64";
334 compatible = "atmel,24c64";
343 compatible = "silabs,si7020";
348 compatible = "ti,tmp275";
353 compatible = "maxim,max31785a";
355 #address-cells = <1>;
359 compatible = "pmbus-fan";
365 compatible = "pmbus-fan";
371 compatible = "pmbus-fan";
377 compatible = "pmbus-fan";
384 compatible = "nxp,pca9552";
386 #address-cells = <1>;
394 type = <PCA955X_TYPE_GPIO>;
399 type = <PCA955X_TYPE_GPIO>;
404 type = <PCA955X_TYPE_GPIO>;
409 type = <PCA955X_TYPE_GPIO>;
414 type = <PCA955X_TYPE_GPIO>;
419 type = <PCA955X_TYPE_GPIO>;
424 type = <PCA955X_TYPE_GPIO>;
429 type = <PCA955X_TYPE_GPIO>;
434 type = <PCA955X_TYPE_GPIO>;
439 type = <PCA955X_TYPE_GPIO>;
444 type = <PCA955X_TYPE_GPIO>;
449 type = <PCA955X_TYPE_GPIO>;
454 type = <PCA955X_TYPE_GPIO>;
459 type = <PCA955X_TYPE_GPIO>;
464 type = <PCA955X_TYPE_GPIO>;
469 type = <PCA955X_TYPE_GPIO>;
474 compatible = "infineon,dps310";
476 #io-channel-cells = <0>;
480 compatible = "atmel,24c64";
485 compatible = "atmel,24c64";
494 compatible = "ti,ucd90320";
499 compatible = "epson,rx8900";
504 compatible = "ti,tmp275";
509 compatible = "ti,tmp275";
514 compatible = "atmel,24c64";
519 compatible = "atmel,24c64";
528 compatible = "ti,tmp423";
533 compatible = "ti,tmp423";
538 compatible = "atmel,24c128";
547 compatible = "ti,tmp423";
552 compatible = "ti,tmp423";
557 compatible = "atmel,24c128";
566 compatible = "ti,tmp275";
571 compatible = "ti,tmp275";
576 compatible = "atmel,24c64";
581 compatible = "atmel,24c64";
594 compatible = "atmel,24c64";
603 compatible = "atmel,24c64";
612 compatible = "atmel,24c64";
627 memory-region = <&flash_memory>;
632 pinctrl-names = "default";
633 pinctrl-0 = <&pinctrl_rmii3_default>;
634 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
635 <&syscon ASPEED_CLK_MAC3RCLK>;
636 clock-names = "MACCLK", "RCLK";
642 pinctrl-names = "default";
643 pinctrl-0 = <&pinctrl_rmii4_default>;
644 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
645 <&syscon ASPEED_CLK_MAC4RCLK>;
646 clock-names = "MACCLK", "RCLK";
656 spi-max-frequency = <50000000>;
657 #include "openbmc-flash-layout-128.dtsi"
664 spi-max-frequency = <50000000>;
670 pinctrl-names = "default";
671 pinctrl-0 = <&pinctrl_spi1_default>;
677 spi-max-frequency = <100000000>;