1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2018 Facebook Inc.
3 // Author: Vijay Khemka <vijaykhemka@fb.com>
6 #include "aspeed-g5.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
8 #include <dt-bindings/i2c/i2c.h>
11 model = "Facebook TiogaPass BMC";
12 compatible = "facebook,tiogapass-bmc", "aspeed,ast2500";
18 * Hardcode the bus number of i2c switches' channels to
19 * avoid breaking the legacy applications.
40 bootargs = "console=ttyS4,115200 earlyprintk";
44 reg = <0x80000000 0x20000000>;
48 compatible = "iio-hwmon";
49 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
50 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
60 #include "openbmc-flash-layout.dtsi"
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_spi1_default>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_txd1_default
90 &pinctrl_rxd1_default>;
111 aspeed,lpc-io-reg = <0xca8>;
117 aspeed,lpc-io-reg = <0xca2>;
123 /*A0-A7*/ "BMC_CPLD_FPGA_SEL","","","","","","","",
124 /*B0-B7*/ "","BMC_DEBUG_EN","","","","BMC_PPIN","PS_PWROK",
125 "IRQ_PVDDQ_GHJ_VRHOT_LVT3",
126 /*C0-C7*/ "","","","","","","","",
127 /*D0-D7*/ "BIOS_MRC_DEBUG_MSG_DIS","BOARD_REV_ID0","",
128 "BOARD_REV_ID1","IRQ_DIMM_SAVE_LVT3","BOARD_REV_ID2",
129 "CPU_ERR0_LVT3_BMC","CPU_ERR1_LVT3_BMC",
130 /*E0-E7*/ "RESET_BUTTON","RESET_OUT","POWER_BUTTON",
131 "POWER_OUT","NMI_BUTTON","","CPU0_PROCHOT_LVT3_ BMC",
132 "CPU1_PROCHOT_LVT3_ BMC",
133 /*F0-F7*/ "IRQ_PVDDQ_ABC_VRHOT_LVT3","",
134 "IRQ_PVCCIN_CPU0_VRHOT_LVC3",
135 "IRQ_PVCCIN_CPU1_VRHOT_LVC3",
136 "IRQ_PVDDQ_KLM_VRHOT_LVT3","","P3VBAT_BRIDGE_EN","",
137 /*G0-G7*/ "CPU_ERR2_LVT3","CPU_CATERR_LVT3","PCH_BMC_THERMTRIP",
138 "CPU0_SKTOCC_LVT3","","","","BIOS_SMI_ACTIVE",
139 /*H0-H7*/ "LED_POST_CODE_0","LED_POST_CODE_1","LED_POST_CODE_2",
140 "LED_POST_CODE_3","LED_POST_CODE_4","LED_POST_CODE_5",
141 "LED_POST_CODE_6","LED_POST_CODE_7",
142 /*I0-I7*/ "CPU0_FIVR_FAULT_LVT3","CPU1_FIVR_FAULT_LVT3",
143 "FORCE_ADR","UV_ADR_TRIGGER_EN","","","","",
144 /*J0-J7*/ "","","","","","","","",
145 /*K0-K7*/ "","","","","","","","",
146 /*L0-L7*/ "IRQ_UV_DETECT","IRQ_OC_DETECT","HSC_TIMER_EXP","",
147 "MEM_THERM_EVENT_PCH","PMBUS_ALERT_BUF_EN","","",
148 /*M0-M7*/ "CPU0_RC_ERROR","CPU1_RC_ERROR","","OC_DETECT_EN",
149 "CPU0_THERMTRIP_LATCH_LVT3",
150 "CPU1_THERMTRIP_LATCH_LVT3","","",
151 /*N0-N7*/ "","","","CPU_MSMI_LVT3","","BIOS_SPI_BMC_CTRL","","",
152 /*O0-O7*/ "","","","","","","","",
153 /*P0-P7*/ "BOARD_SKU_ID0","BOARD_SKU_ID1","BOARD_SKU_ID2",
154 "BOARD_SKU_ID3","BOARD_SKU_ID4","BMC_PREQ",
155 "BMC_PWR_DEBUG","RST_RSMRST",
156 /*Q0-Q7*/ "","","","","UARTSW_LSB","UARTSW_MSB",
157 "POST_CARD_PRES_BMC","PE_BMC_WAKE",
158 /*R0-R7*/ "","","BMC_TCK_MUX_SEL","BMC_PRDY",
159 "BMC_XDP_PRSNT_IN","RST_BMC_PLTRST_BUF","SLT_CFG0",
161 /*S0-S7*/ "THROTTLE","BMC_READY","","HSC_SMBUS_SWITCH_EN","",
163 /*T0-T7*/ "","","","","","","","",
164 /*U0-U7*/ "","","","","","BMC_FAULT","","",
165 /*V0-V7*/ "","","","FAST_PROCHOT_EN","","","","",
166 /*W0-W7*/ "","","","","","","","",
167 /*X0-X7*/ "","","","GLOBAL_RST_WARN",
168 "CPU0_MEMABC_MEMHOT_LVT3_BMC",
169 "CPU0_MEMDEF_MEMHOT_LVT3_BMC",
170 "CPU1_MEMGHJ_MEMHOT_LVT3_BMC",
171 "CPU1_MEMKLM_MEMHOT_LVT3_BMC",
172 /*Y0-Y7*/ "SIO_S3","SIO_S5","BMC_JTAG_SEL","SIO_ONCONTROL","",
174 /*Z0-Z7*/ "","SIO_POWER_GOOD","IRQ_PVDDQ_DEF_VRHOT_LVT3","",
176 /*AA0-AA7*/ "CPU1_SKTOCC_LVT3","IRQ_SML1_PMBUS_ALERT",
177 "SERVER_POWER_LED","","PECI_MUX_SELECT","UV_HIGH_SET",
179 /*AB0-AB7*/ "IRQ_HSC_FAULT","OCP_MEZZA_PRES","","","","","","",
180 /*AC0-AC7*/ "","","","","","","","";
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_rmii1_default>;
188 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
189 <&syscon ASPEED_CLK_MAC1RCLK>;
190 clock-names = "MACCLK", "RCLK";
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_rmii2_default>;
208 //Airmax Conn B, CPU0 PIROM, CPU1 PIROM
215 compatible = "nxp,pca9544";
216 #address-cells = <1>;
221 #address-cells = <1>;
226 compatible = "ti,ina230";
231 compatible = "ti,tmp75";
236 compatible = "ti,tmp75";
241 compatible = "atmel,24c64";
247 compatible = "nxp,pca9546";
248 #address-cells = <1>;
253 #address-cells = <1>;
259 #address-cells = <1>;
265 #address-cells = <1>;
271 #address-cells = <1>;
281 #address-cells = <1>;
286 compatible = "ti,ina230";
291 compatible = "ti,tmp75";
296 compatible = "ti,tmp75";
301 compatible = "atmel,24c64";
307 compatible = "nxp,pca9546";
308 #address-cells = <1>;
313 #address-cells = <1>;
319 #address-cells = <1>;
325 #address-cells = <1>;
331 #address-cells = <1>;
341 #address-cells = <1>;
346 compatible = "ti,ina230";
351 compatible = "ti,tmp75";
356 compatible = "ti,tmp75";
361 compatible = "atmel,24c64";
367 compatible = "nxp,pca9546";
368 #address-cells = <1>;
373 #address-cells = <1>;
379 #address-cells = <1>;
385 #address-cells = <1>;
391 #address-cells = <1>;
401 #address-cells = <1>;
406 compatible = "ti,ina230";
411 compatible = "ti,ina230";
416 compatible = "ti,ina230";
427 // Mezz Management SMBus
432 // SMBus to Board ID EEPROM
439 compatible = "ipmb-dev";
440 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
447 // CPU Voltage regulators
449 compatible = "infineon,pxe1610";
453 compatible = "infineon,pxe1610";
457 compatible = "infineon,pxe1610";
461 compatible = "infineon,pxe1610";
465 compatible = "infineon,pxe1610";
469 compatible = "infineon,pxe1610";
473 compatible = "infineon,pxe1610";
477 compatible = "infineon,pxe1610";
481 compatible = "infineon,pxe1610";
489 compatible = "infineon,slb9645tt";
493 compatible = "ti,tmp421";
497 compatible = "ti,tmp421";
501 compatible = "atmel,24c64";
515 compatible = "ti,tmp421";
523 //USB Debug Connector
525 compatible = "ipmb-dev";
526 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
537 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
542 aspeed,fan-tach-ch = /bits/ 8 <0x02>;