1 // SPDX-License-Identifier: GPL-2.0+
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
8 model = "FP5280G2 BMC";
9 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
13 bootargs = "console=ttyS4,115200 earlyprintk";
17 reg = <0x80000000 0x20000000>;
25 vga_memory: framebuffer@9f000000 {
27 reg = <0x9f000000 0x01000000>; /* 16M */
30 flash_memory: region@98000000 {
32 reg = <0x98000000 0x04000000>; /* 64M */
35 coldfire_memory: codefire_memory@9ef00000 {
36 reg = <0x9ef00000 0x00100000>;
40 gfx_memory: framebuffer {
42 alignment = <0x01000000>;
43 compatible = "shared-dma-pool";
47 video_engine_memory: jpegbuffer {
48 size = <0x02000000>; /* 32M */
49 alignment = <0x01000000>;
50 compatible = "shared-dma-pool";
56 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
61 memory-region = <&coldfire_memory>;
62 aspeed,sram = <&sram>;
63 aspeed,cvic = <&cvic>;
65 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
66 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
67 mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
68 enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
69 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
73 compatible = "gpio-keys";
77 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
78 linux,code = <ASPEED_GPIO(B, 3)>;
82 label = "ps0-presence";
83 gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
84 linux,code = <ASPEED_GPIO(F, 0)>;
88 label = "ps1-presence";
89 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
90 linux,code = <ASPEED_GPIO(F, 1)>;
96 compatible = "gpio-keys-polled";
99 poll-interval = <1000>;
102 label = "fan0-presence";
103 gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
108 label = "fan1-presence";
109 gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
114 label = "fan2-presence";
115 gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
120 label = "fan3-presence";
121 gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
126 label = "fan4-presence";
127 gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
132 label = "fan5-presence";
133 gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
138 label = "fan6-presence";
139 gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
144 label = "fan7-presence";
145 gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
151 compatible = "gpio-leds";
155 /* TODO: dummy gpio */
156 gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
161 gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
165 label = "front-memory";
166 gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
170 label = "front-syshot";
171 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
175 label = "front-syshealth";
176 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
181 gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
186 gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
191 gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
196 compatible = "iio-hwmon";
197 io-channels = <&adc 15>;
201 compatible = "iio-hwmon";
202 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
203 <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
204 <&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
216 spi-max-frequency = <50000000>;
217 #include "openbmc-flash-layout.dtsi"
223 pinctrl-names = "default";
224 pinctrl-0 = <&pinctrl_spi1_default>;
230 spi-max-frequency = <100000000>;
235 /* Rear RS-232 connector */
237 pinctrl-names = "default";
238 pinctrl-0 = <&pinctrl_txd1_default
239 &pinctrl_rxd1_default
240 &pinctrl_nrts1_default
241 &pinctrl_ndtr1_default
242 &pinctrl_ndsr1_default
243 &pinctrl_ncts1_default
244 &pinctrl_ndcd1_default
245 &pinctrl_nri1_default>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
268 memory-region = <&flash_memory>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&pinctrl_rmii1_default>;
276 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
277 <&syscon ASPEED_CLK_MAC1RCLK>;
278 clock-names = "MACCLK", "RCLK";
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
297 compatible = "atmel,24c256";
308 compatible = "ti,tmp112";
314 compatible = "ti,tmp112";
320 compatible = "nxp,pca9546";
322 #address-cells = <1>;
326 #address-cells = <1>;
331 compatible = "ti,tmp112";
339 #address-cells = <1>;
344 compatible = "ti,tmp112";
351 #address-cells = <1>;
356 compatible = "ti,tmp112";
363 #address-cells = <1>;
368 compatible = "microchip,emc1413";
385 compatible = "dallas,ds3232";
404 compatible = "nxp,pca9546";
406 #address-cells = <1>;
410 #address-cells = <1>;
415 compatible = "adi,adm1278";
420 compatible = "adi,adm1278";
425 compatible = "adi,adm1278";
430 compatible = "adi,adm1278";
445 compatible = "nxp,pca9555";
447 #address-cells = <1>;
455 type = <PCA955X_TYPE_GPIO>;
460 type = <PCA955X_TYPE_GPIO>;
465 type = <PCA955X_TYPE_GPIO>;
470 type = <PCA955X_TYPE_GPIO>;
475 type = <PCA955X_TYPE_GPIO>;
480 type = <PCA955X_TYPE_GPIO>;
485 type = <PCA955X_TYPE_GPIO>;
490 type = <PCA955X_TYPE_GPIO>;
496 compatible = "nxp,pca9555";
498 #address-cells = <1>;
506 type = <PCA955X_TYPE_GPIO>;
511 type = <PCA955X_TYPE_GPIO>;
516 type = <PCA955X_TYPE_GPIO>;
521 type = <PCA955X_TYPE_GPIO>;
526 type = <PCA955X_TYPE_GPIO>;
531 type = <PCA955X_TYPE_GPIO>;
536 type = <PCA955X_TYPE_GPIO>;
541 type = <PCA955X_TYPE_GPIO>;
546 compatible = "nxp,pca9555";
548 #address-cells = <1>;
556 type = <PCA955X_TYPE_GPIO>;
561 type = <PCA955X_TYPE_GPIO>;
566 type = <PCA955X_TYPE_GPIO>;
571 type = <PCA955X_TYPE_GPIO>;
576 type = <PCA955X_TYPE_GPIO>;
581 type = <PCA955X_TYPE_GPIO>;
586 type = <PCA955X_TYPE_GPIO>;
591 type = <PCA955X_TYPE_GPIO>;
596 compatible = "nxp,pca9555";
598 #address-cells = <1>;
606 type = <PCA955X_TYPE_GPIO>;
611 type = <PCA955X_TYPE_GPIO>;
616 type = <PCA955X_TYPE_GPIO>;
621 type = <PCA955X_TYPE_GPIO>;
626 type = <PCA955X_TYPE_GPIO>;
631 type = <PCA955X_TYPE_GPIO>;
636 type = <PCA955X_TYPE_GPIO>;
641 type = <PCA955X_TYPE_GPIO>;
646 compatible = "nxp,pca9555";
648 #address-cells = <1>;
656 type = <PCA955X_TYPE_GPIO>;
661 type = <PCA955X_TYPE_GPIO>;
666 type = <PCA955X_TYPE_GPIO>;
671 type = <PCA955X_TYPE_GPIO>;
676 type = <PCA955X_TYPE_GPIO>;
681 type = <PCA955X_TYPE_GPIO>;
686 type = <PCA955X_TYPE_GPIO>;
691 type = <PCA955X_TYPE_GPIO>;
696 compatible = "nxp,pca9555";
698 #address-cells = <1>;
706 type = <PCA955X_TYPE_GPIO>;
711 type = <PCA955X_TYPE_GPIO>;
716 type = <PCA955X_TYPE_GPIO>;
721 type = <PCA955X_TYPE_GPIO>;
726 type = <PCA955X_TYPE_GPIO>;
731 type = <PCA955X_TYPE_GPIO>;
736 type = <PCA955X_TYPE_GPIO>;
741 type = <PCA955X_TYPE_GPIO>;
761 compatible = "pmbus";
766 compatible = "pmbus";
782 memory-region = <&gfx_memory>;
786 aspeed,external-nodes = <&gfx &lhc>;
790 aspeed,reset-type = "none";
791 aspeed,external-signal;
792 aspeed,ext-push-pull;
793 aspeed,ext-active-high;
795 pinctrl-names = "default";
796 pinctrl-0 = <&pinctrl_wdtrst1_default>;
806 pinctrl-names = "default";
807 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
808 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
809 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
810 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
811 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
812 &pinctrl_adc14_default &pinctrl_adc15_default>;
821 memory-region = <&video_engine_memory>;
826 pinctrl-names = "default";
827 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
828 &pinctrl_pwm2_default &pinctrl_pwm3_default
829 &pinctrl_pwm4_default &pinctrl_pwm5_default
830 &pinctrl_pwm6_default &pinctrl_pwm7_default>;
834 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
839 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
844 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
849 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
854 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
859 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
864 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
869 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
874 #include "ibm-power9-dual.dtsi"