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>
10 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
18 bootargs = "console=ttyS4,115200n8";
22 device_type = "memory";
23 reg = <0x80000000 0x40000000>;
31 flash_memory: region@B8000000 {
33 reg = <0xB8000000 0x04000000>; /* 64M */
38 compatible = "gpio-keys";
41 label = "ps0-presence";
42 gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
43 linux,code = <ASPEED_GPIO(S, 0)>;
47 label = "ps1-presence";
48 gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
49 linux,code = <ASPEED_GPIO(S, 1)>;
53 label = "ps2-presence";
54 gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
55 linux,code = <ASPEED_GPIO(S, 2)>;
59 label = "ps3-presence";
60 gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
61 linux,code = <ASPEED_GPIO(S, 3)>;
83 compatible = "atmel,24c64";
100 compatible = "ibm,cffps2";
105 compatible = "ibm,cffps2";
110 compatible = "ibm,cffps2";
115 compatible = "ibm,cffps2";
124 compatible = "ti,tmp275";
129 compatible = "ti,tmp275";
134 compatible = "ti,tmp275";
139 compatible = "atmel,24c64";
144 compatible = "atmel,24c64";
149 compatible = "atmel,24c64";
158 compatible = "ti,tmp275";
163 compatible = "ti,tmp275";
168 compatible = "atmel,24c64";
173 compatible = "atmel,24c64";
182 compatible = "ti,tmp275";
187 compatible = "ti,tmp275";
192 compatible = "ti,tmp275";
197 compatible = "atmel,24c64";
202 compatible = "atmel,24c64";
207 compatible = "atmel,24c64";
212 compatible = "atmel,24c64";
221 compatible = "silabs,si7020";
226 compatible = "ti,tmp275";
231 compatible = "maxim,max31785a";
233 #address-cells = <1>;
237 compatible = "pmbus-fan";
243 compatible = "pmbus-fan";
249 compatible = "pmbus-fan";
255 compatible = "pmbus-fan";
262 compatible = "nxp,pca9552";
264 #address-cells = <1>;
336 compatible = "infineon,dps310";
338 #io-channel-cells = <0>;
342 compatible = "atmel,24c64";
347 compatible = "atmel,24c64";
356 compatible = "ti,ucd90160";
361 compatible = "ti,ucd90160";
366 compatible = "ti,ucd90160";
371 compatible = "epson,rx8900";
376 compatible = "ti,tmp275";
381 compatible = "ti,tmp275";
386 compatible = "atmel,24c64";
391 compatible = "atmel,24c64";
400 compatible = "infineon,ir35221";
405 compatible = "infineon,ir35221";
410 compatible = "infineon,ir35221";
415 compatible = "ti,tmp423";
420 compatible = "ti,tmp423";
425 compatible = "infineon,ir35221";
430 compatible = "infineon,ir35221";
435 compatible = "infineon,ir35221";
440 compatible = "atmel,24c128";
449 compatible = "infineon,ir35221";
454 compatible = "infineon,ir35221";
459 compatible = "infineon,ir35221";
464 compatible = "ti,tmp423";
469 compatible = "ti,tmp423";
474 compatible = "infineon,ir35221";
479 compatible = "infineon,ir35221";
484 compatible = "infineon,ir35221";
489 compatible = "atmel,24c128";
498 compatible = "ti,tmp275";
503 compatible = "ti,tmp275";
508 compatible = "atmel,24c64";
513 compatible = "atmel,24c64";
526 compatible = "atmel,24c64";
535 compatible = "atmel,24c64";
544 compatible = "atmel,24c64";
555 memory-region = <&flash_memory>;
560 pinctrl-names = "default";
561 pinctrl-0 = <&pinctrl_rmii3_default>;
562 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
563 <&syscon ASPEED_CLK_MAC3RCLK>;
564 clock-names = "MACCLK", "RCLK";
570 pinctrl-names = "default";
571 pinctrl-0 = <&pinctrl_rmii4_default>;
572 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
573 <&syscon ASPEED_CLK_MAC4RCLK>;
574 clock-names = "MACCLK", "RCLK";
584 spi-max-frequency = <50000000>;
585 #include "openbmc-flash-layout-128.dtsi"
592 spi-max-frequency = <50000000>;
598 pinctrl-names = "default";
599 pinctrl-0 = <&pinctrl_spi1_default>;
605 spi-max-frequency = <100000000>;