1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2023 Facebook Inc.
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
10 model = "Facebook Harma";
11 compatible = "facebook,harma-bmc", "aspeed,ast2600";
36 device_type = "memory";
37 reg = <0x80000000 0x80000000>;
41 compatible = "iio-hwmon";
42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
43 <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
48 compatible = "gpio-leds";
51 label = "bmc_heartbeat_amber";
52 gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "heartbeat";
57 label = "fp_id_amber";
58 default-state = "off";
59 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
64 default-state = "off";
65 gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>;
71 compatible = "spi-gpio";
75 sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
76 mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
77 miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
78 num-chipselects = <1>;
79 cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
82 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
83 spi-max-frequency = <33000000>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_wdtrst1_default>;
124 aspeed,reset-type = "soc";
125 aspeed,external-signal;
126 aspeed,ext-push-pull;
127 aspeed,ext-active-high;
128 aspeed,ext-pulse-duration = <256>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_rmii4_default>;
149 spi-max-frequency = <50000000>;
150 #include "openbmc-flash-layout-128.dtsi"
157 spi-max-frequency = <50000000>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_spi2_default>;
171 spi-max-frequency = <12000000>;
172 spi-tx-bus-width = <2>;
173 spi-rx-bus-width = <2>;
179 aspeed,lpc-io-reg = <0xca8>;
184 aspeed,lpc-io-reg = <0xca2>;
191 compatible = "max31790";
193 #address-cells = <1>;
198 compatible = "ti,ina238";
200 shunt-resistor = <1000>;
204 compatible = "ti,ina238";
206 shunt-resistor = <1000>;
210 compatible = "ti,ina238";
212 shunt-resistor = <1000>;
216 compatible = "ti,ina238";
218 shunt-resistor = <1000>;
221 temperature-sensor@4b {
222 compatible = "ti,tmp75";
230 temperature-sensor@4b {
231 compatible = "ti,tmp75";
237 compatible = "atmel,24c64";
246 compatible = "max31790";
248 #address-cells = <1>;
253 compatible = "ti,ina238";
255 shunt-resistor = <1000>;
259 compatible = "ti,ina238";
261 shunt-resistor = <1000>;
265 compatible = "ti,ina238";
267 shunt-resistor = <1000>;
271 compatible = "ti,ina238";
273 shunt-resistor = <1000>;
276 temperature-sensor@4b {
277 compatible = "ti,tmp75";
286 compatible = "nxp,pca9543";
288 #address-cells = <1>;
292 #address-cells = <1>;
297 compatible = "atmel,24c2048";
303 #address-cells = <1>;
307 compatible = "asteralabs,pt5161l";
318 compatible = "atmel,24c64";
323 compatible = "pmbus";
327 temperature-sensor@49 {
328 compatible = "ti,tmp75";
333 compatible = "lltc,ltc4287";
335 shunt-resistor-micro-ohms = <250>;
339 compatible = "infineon,xdp710";
352 compatible = "nxp,pca9543";
354 #address-cells = <1>;
358 #address-cells = <1>;
363 #address-cells = <1>;
385 compatible = "mctp-i2c-controller";
386 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
390 compatible = "nxp,pca9555";
396 compatible = "nxp,pca9555";
403 "","","presence-cmm","",
410 compatible = "atmel,24c64";
419 compatible = "nxp,pca9555";
425 compatible = "nxp,pca9555";
432 "","","presence-cmm","",
439 compatible = "atmel,24c64";
447 compatible = "asteralabs,pt5161l";
456 compatible = "nxp,pca9545";
458 #address-cells = <1>;
462 #address-cells = <1>;
466 compatible = "isil,isl69260";
470 compatible = "isil,isl69260";
474 compatible = "isil,isl69260";
478 compatible = "infineon,xdpe152c4";
482 compatible = "infineon,xdpe152c4";
486 compatible = "infineon,xdpe152c4";
491 #address-cells = <1>;
496 compatible = "atmel,24c64";
501 #address-cells = <1>;
506 #address-cells = <1>;
519 compatible = "ipmb-dev";
520 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
530 compatible = "atmel,24c64";
536 compatible = "atmel,24c64";
542 aspeed,int-vref-microvolt = <2500000>;
544 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
545 &pinctrl_adc2_default &pinctrl_adc3_default
546 &pinctrl_adc4_default &pinctrl_adc5_default
547 &pinctrl_adc6_default &pinctrl_adc7_default>;
551 aspeed,int-vref-microvolt = <2500000>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&pinctrl_adc10_default>;
562 pinctrl-names = "default";
564 /*A0-A7*/ "","","","","","","","",
565 /*B0-B7*/ "","","","",
566 "bmc-spi-mux-select-0","led-identify","","",
567 /*C0-C7*/ "reset-cause-platrst","","","","",
568 "cpu0-err-alert","","",
569 /*D0-D7*/ "","","sol-uart-select","","","","","",
570 /*E0-E7*/ "","","","","","","","",
571 /*F0-F7*/ "","","","","","","","",
572 /*G0-G7*/ "","","","","","","","",
573 /*H0-H7*/ "","","","","","","","",
574 /*I0-I7*/ "","","","","","","","",
575 /*J0-J7*/ "","","","","","","","",
576 /*K0-K7*/ "","","","","","","","",
577 /*L0-L7*/ "","","","",
578 "leakage-detect-alert","","","",
579 /*M0-M7*/ "","","","","","","","",
580 /*N0-N7*/ "led-postcode-0","led-postcode-1",
581 "led-postcode-2","led-postcode-3",
582 "led-postcode-4","led-postcode-5",
583 "led-postcode-6","led-postcode-7",
584 /*O0-O7*/ "","","","","","","","",
585 /*P0-P7*/ "power-button","power-host-control",
586 "reset-button","","led-power","","","",
587 /*Q0-Q7*/ "","","","","","power-chassis-control","","",
588 /*R0-R7*/ "","","","","","","","",
589 /*S0-S7*/ "","","","","","","","",
590 /*T0-T7*/ "","","","","","","","",
591 /*U0-U7*/ "","","","","","","led-identify-gate","",
592 /*V0-V7*/ "","","","",
593 "rtc-battery-voltage-read-enable","",
594 "power-chassis-good","",
595 /*W0-W7*/ "","","","","","","","",
596 /*X0-X7*/ "","","","","","","","",
597 /*Y0-Y7*/ "","","","","","","","",
598 /*Z0-Z7*/ "","","","","","","presence-post-card","";
603 /*18A0-18A7*/ "ac-power-button","","","","","","","",
604 /*18B0-18B7*/ "","","","","","","","",
605 /*18C0-18C7*/ "","","","","","","","",
606 /*18D0-18D7*/ "","","","","","","","",
607 /*18E0-18E3*/ "","","","","","","","";
613 bus-frequency = <2000000>;
615 /*in - out - in - out */
617 "presence-scm-cable","power-config-disable-e1s-0",
619 "","power-config-disable-e1s-1",
622 "","power-config-asic-module-enable",
623 "","power-config-asic-power-good",
624 "","power-config-pdb-power-good",
625 "presence-cpu","smi-control-n",
628 "","nmi-control-sync-flood-n",
633 "reset-cause-rsmrst","FM_CPU_SP5R2",
639 "","rt-cpu0-p0-enable",
640 "","rt-cpu0-p1-enable",
642 "","smb-rt-rom-p0-select",
643 "","smb-rt-rom-p1-select",
644 "","i3c-cpu-mux0-oe-n",
645 "","i3c-cpu-mux0-select",
647 "","i3c-cpu-mux1-oe-n",
648 "","i3c-cpu-mux1-select",
649 "","reset-control-bmc",
650 "","reset-control-cpu0-p0-mux",
652 "","reset-control-cpu0-p1-mux",
653 "","reset-control-e1s-mux",
654 "power-host-good","reset-control-mb-mux",
655 "host0-ready","reset-control-smb-e1s-0",
657 "","reset-control-smb-e1s-1",
658 "post-end-n","reset-control-srst",
659 "presence-e1s-0","reset-control-usb-hub",
662 "presence-e1s-1","reset-control-cpu-kbrst",
663 "","reset-control-platrst",
664 "","bmc-jtag-mux-select-0",
665 "","bmc-jtag-mux-select-1",
667 "","bmc-jtag-select",
669 "","bmc-ready-sgpio",
670 "","rt-cpu0-p0-force-enable",
672 "presence-asic-modules-0","rt-cpu0-p1-force-enable",
673 "presence-asic-modules-1","bios-debug-msg-disable",
674 "","uart-control-buffer-select",
676 /*G0-G3 line 96-103*/
677 "FM_CPU_CORETYPE2","",
678 "FM_CPU_CORETYPE1","",
679 "FM_CPU_CORETYPE0","",
680 "FM_BOARD_REV_ID5","",
681 /*G4-G7 line 104-111*/
682 "FM_BOARD_REV_ID4","",
683 "FM_BOARD_REV_ID3","",
684 "FM_BOARD_REV_ID2","",
685 "FM_BOARD_REV_ID1","",
686 /*H0-H3 line 112-119*/
687 "FM_BOARD_REV_ID0","",
689 /*H4-H7 line 120-127*/
691 "reset-control-pcie-expansion-3","",
692 "reset-control-pcie-expansion-2","",
693 "reset-control-pcie-expansion-1","",
694 /*I0-I3 line 128-135*/
695 "reset-control-pcie-expansion-0","",
696 "FM_EXP_SLOT_ID1","",
697 "FM_EXP_SLOT_ID0","",
699 /*I4-I7 line 136-143*/
700 "","","","","","","","",
701 /*J0-J3 line 144-151*/
702 "","","","","","","","",
703 /*J4-J7 line 152-159*/
708 /*K0-K3 line 160-167*/
709 "","","","","","","P0_I3C_APML_ALERT_L","",
710 /*K4-K7 line 168-175*/
711 "","","","","","","irq-uv-detect-alert","",
712 /*L0-L3 line 176-183*/
714 "cpu0-prochot-alert","",
715 "cpu0-thermtrip-alert","",
716 "reset-cause-pcie","",
717 /*L4-L7 line 184-191*/
718 "pvdd11-ocp-alert","","","","","","","",
719 /*M0-M3 line 192-199*/
720 "","","","","","","","",
721 /*M4-M7 line 200-207*/
722 "","","","","","","","",
723 /*N0-N3 line 208-215*/
724 "","","","","","","","",
725 /*N4-N7 line 216-223*/
726 "","","","","","","","",
727 /*O0-O3 line 224-231*/
728 "","","","","","","","",
729 /*O4-O7 line 232-239*/
730 "","","","","","","","",
731 /*P0-P3 line 240-247*/
732 "","","","","","","","",
733 /*P4-P7 line 248-255*/
734 "","","","","","","","";