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,tacoma-bmc", "aspeed,ast2600";
15 bootargs = "console=ttyS4,115200n8";
19 device_type = "memory";
20 reg = <0x80000000 0x40000000>;
28 flash_memory: region@ba000000 {
30 reg = <0xb8000000 0x4000000>; /* 64M */
35 compatible = "gpio-keys";
39 gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
40 linux,code = <ASPEED_GPIO(Q, 7)>;
45 gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>;
46 linux,code = <ASPEED_GPIO(E, 3)>;
50 label = "ps0-presence";
51 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
52 linux,code = <ASPEED_GPIO(H, 3)>;
56 label = "ps1-presence";
57 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
58 linux,code = <ASPEED_GPIO(E, 5)>;
63 compatible = "gpio-keys-polled";
66 poll-interval = <1000>;
69 label = "fan0-presence";
70 gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
75 label = "fan1-presence";
76 gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
81 label = "fan2-presence";
82 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
87 label = "fan3-presence";
88 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
100 spi-max-frequency = <50000000>;
101 #include "openbmc-flash-layout-128.dtsi"
108 spi-max-frequency = <50000000>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_spi1_default>;
121 spi-max-frequency = <100000000>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_rmii3_default>;
129 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
130 <&syscon ASPEED_CLK_MAC3RCLK>;
131 clock-names = "MACCLK", "RCLK";
142 #address-cells = <2>;
147 #address-cells = <1>;
152 compatible = "ibm,fsi2pib";
153 reg = <0x1000 0x400>;
157 compatible = "ibm,fsi-i2c-master";
158 reg = <0x1800 0x400>;
159 #address-cells = <1>;
162 cfam0_i2c0: i2c-bus@0 {
166 cfam0_i2c1: i2c-bus@1 {
170 cfam0_i2c2: i2c-bus@2 {
174 cfam0_i2c3: i2c-bus@3 {
178 cfam0_i2c4: i2c-bus@4 {
182 cfam0_i2c5: i2c-bus@5 {
186 cfam0_i2c6: i2c-bus@6 {
190 cfam0_i2c7: i2c-bus@7 {
194 cfam0_i2c8: i2c-bus@8 {
198 cfam0_i2c9: i2c-bus@9 {
202 cfam0_i2c10: i2c-bus@a {
206 cfam0_i2c11: i2c-bus@b {
210 cfam0_i2c12: i2c-bus@c {
214 cfam0_i2c13: i2c-bus@d {
218 cfam0_i2c14: i2c-bus@e {
224 compatible = "ibm,p9-sbefifo";
225 reg = <0x2400 0x400>;
226 #address-cells = <1>;
230 compatible = "ibm,p9-occ";
235 compatible = "fsi-master-hub";
236 reg = <0x3400 0x400>;
237 #address-cells = <2>;
248 #address-cells = <1>;
253 compatible = "ibm,fsi2pib";
254 reg = <0x1000 0x400>;
258 compatible = "ibm,fsi-i2c-master";
259 reg = <0x1800 0x400>;
260 #address-cells = <1>;
263 cfam1_i2c0: i2c-bus@0 {
267 cfam1_i2c1: i2c-bus@1 {
271 cfam1_i2c2: i2c-bus@2 {
275 cfam1_i2c3: i2c-bus@3 {
279 cfam1_i2c4: i2c-bus@4 {
283 cfam1_i2c5: i2c-bus@5 {
287 cfam1_i2c6: i2c-bus@6 {
291 cfam1_i2c7: i2c-bus@7 {
295 cfam1_i2c8: i2c-bus@8 {
299 cfam1_i2c9: i2c-bus@9 {
303 cfam1_i2c10: i2c-bus@a {
307 cfam1_i2c11: i2c-bus@b {
311 cfam1_i2c12: i2c-bus@c {
315 cfam1_i2c13: i2c-bus@d {
319 cfam1_i2c14: i2c-bus@e {
325 compatible = "ibm,p9-sbefifo";
326 reg = <0x2400 0x400>;
327 #address-cells = <1>;
331 compatible = "ibm,p9-occ";
336 compatible = "fsi-master-hub";
337 reg = <0x3400 0x400>;
338 #address-cells = <2>;
346 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
357 i2c100 = &cfam0_i2c0;
358 i2c101 = &cfam0_i2c1;
359 i2c102 = &cfam0_i2c2;
360 i2c103 = &cfam0_i2c3;
361 i2c104 = &cfam0_i2c4;
362 i2c105 = &cfam0_i2c5;
363 i2c106 = &cfam0_i2c6;
364 i2c107 = &cfam0_i2c7;
365 i2c108 = &cfam0_i2c8;
366 i2c109 = &cfam0_i2c9;
367 i2c110 = &cfam0_i2c10;
368 i2c111 = &cfam0_i2c11;
369 i2c112 = &cfam0_i2c12;
370 i2c113 = &cfam0_i2c13;
371 i2c114 = &cfam0_i2c14;
372 i2c200 = &cfam1_i2c0;
373 i2c201 = &cfam1_i2c1;
374 i2c202 = &cfam1_i2c2;
375 i2c203 = &cfam1_i2c3;
376 i2c204 = &cfam1_i2c4;
377 i2c205 = &cfam1_i2c5;
378 i2c206 = &cfam1_i2c6;
379 i2c207 = &cfam1_i2c7;
380 i2c208 = &cfam1_i2c8;
381 i2c209 = &cfam1_i2c9;
382 i2c210 = &cfam1_i2c10;
383 i2c211 = &cfam1_i2c11;
384 i2c212 = &cfam1_i2c12;
385 i2c213 = &cfam1_i2c13;
386 i2c214 = &cfam1_i2c14;
407 compatible = "bosch,bmp280";
409 #io-channel-cells = <1>;
413 compatible = "maxim,max31785a";
415 #address-cells = <1>;
419 compatible = "pmbus-fan";
422 maxim,fan-rotor-input = "tach";
423 maxim,fan-pwm-freq = <25000>;
425 maxim,fan-no-watchdog;
426 maxim,fan-no-fault-ramp;
427 maxim,fan-ramp = <2>;
428 maxim,fan-fault-pin-mon;
432 compatible = "pmbus-fan";
435 maxim,fan-rotor-input = "tach";
436 maxim,fan-pwm-freq = <25000>;
438 maxim,fan-no-watchdog;
439 maxim,fan-no-fault-ramp;
440 maxim,fan-ramp = <2>;
441 maxim,fan-fault-pin-mon;
445 compatible = "pmbus-fan";
448 maxim,fan-rotor-input = "tach";
449 maxim,fan-pwm-freq = <25000>;
451 maxim,fan-no-watchdog;
452 maxim,fan-no-fault-ramp;
453 maxim,fan-ramp = <2>;
454 maxim,fan-fault-pin-mon;
458 compatible = "pmbus-fan";
461 maxim,fan-rotor-input = "tach";
462 maxim,fan-pwm-freq = <25000>;
464 maxim,fan-no-watchdog;
465 maxim,fan-no-fault-ramp;
466 maxim,fan-ramp = <2>;
467 maxim,fan-fault-pin-mon;
472 compatible = "infineon,dps310";
474 #io-channel-cells = <0>;
478 compatible = "nxp,pca9552";
480 #address-cells = <1>;
488 type = <PCA955X_TYPE_GPIO>;
493 type = <PCA955X_TYPE_GPIO>;
498 type = <PCA955X_TYPE_GPIO>;
503 type = <PCA955X_TYPE_GPIO>;
508 type = <PCA955X_TYPE_GPIO>;
513 type = <PCA955X_TYPE_GPIO>;
518 type = <PCA955X_TYPE_GPIO>;
523 type = <PCA955X_TYPE_GPIO>;
528 type = <PCA955X_TYPE_GPIO>;
533 type = <PCA955X_TYPE_GPIO>;
538 type = <PCA955X_TYPE_GPIO>;
543 type = <PCA955X_TYPE_GPIO>;
548 type = <PCA955X_TYPE_GPIO>;
553 type = <PCA955X_TYPE_GPIO>;
558 type = <PCA955X_TYPE_GPIO>;
563 type = <PCA955X_TYPE_GPIO>;
568 compatible = "ibm,cffps1";
573 compatible = "ibm,cffps1";
582 compatible = "ti,tmp423";
587 compatible = "infineon,ir35221";
592 compatible = "infineon,ir35221";
601 compatible = "ti,tmp423";
606 compatible = "infineon,ir35221";
611 compatible = "infineon,ir35221";
624 compatible = "ti,tmp275";
636 pca9552: pca9552@60 {
637 compatible = "nxp,pca9552";
639 #address-cells = <1>;
644 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
645 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF",
646 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
647 "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF",
648 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
649 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
650 "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
651 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
655 type = <PCA955X_TYPE_GPIO>;
660 type = <PCA955X_TYPE_GPIO>;
665 type = <PCA955X_TYPE_GPIO>;
670 type = <PCA955X_TYPE_GPIO>;
675 type = <PCA955X_TYPE_GPIO>;
680 type = <PCA955X_TYPE_GPIO>;
685 type = <PCA955X_TYPE_GPIO>;
690 type = <PCA955X_TYPE_GPIO>;
695 type = <PCA955X_TYPE_GPIO>;
700 type = <PCA955X_TYPE_GPIO>;
705 type = <PCA955X_TYPE_GPIO>;
710 type = <PCA955X_TYPE_GPIO>;
715 type = <PCA955X_TYPE_GPIO>;
720 type = <PCA955X_TYPE_GPIO>;
725 type = <PCA955X_TYPE_GPIO>;
730 type = <PCA955X_TYPE_GPIO>;
735 compatible = "epson,rx8900";
740 compatible = "atmel,24c64";
745 compatible = "ti,ucd90160";
765 compatible = "snps,dw-apb-uart";
770 compatible = "snps,dw-apb-uart";
779 memory-region = <&flash_memory>;
784 aspeed,reset-type = "none";
785 aspeed,external-signal;
786 aspeed,ext-push-pull;
787 aspeed,ext-active-high;
789 pinctrl-names = "default";
790 pinctrl-0 = <&pinctrl_wdtrst1_default>;
798 /* Hog these as no driver is probed for the entire LPC block */
799 pinctrl-names = "default";
800 pinctrl-0 = <&pinctrl_lpc_default>,
801 <&pinctrl_lsirq_default>;