1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
10 struct drivers_ipmi_config
{
14 u8 nv_storage_device_address
;
19 /* Device to use for GPIO operations */
20 DEVTREE_CONST
struct device
*gpio_dev
;
22 * Jumper GPIO for enabling / disabling BMC/IPMI
23 * If present, the jumper overrides the devicetree.
26 /* "POST complete" GPIO and polarity */
27 u32 post_complete_gpio
;
28 bool post_complete_invert
;
29 unsigned int uid
; /* Auto-filled by ipmi_ssdt() */
33 * Wait for BMC to boot.
34 * This can be used if the BMC takes a long time to boot after PoR:
35 * AST2400 on Supermicro X11SSH: 34 s
39 * The timeout in seconds to wait for the IPMI service to be loaded.
40 * Will be used if wait_for_bmc is true.
45 #endif /* _IMPI_CHIP_H_ */