13e30b7a6SDelphine CC Chiu#pragma once
23e30b7a6SDelphine CC Chiu
3*971312abSPatrick Williams#include <chrono>
4*971312abSPatrick Williams
53e30b7a6SDelphine CC Chiuconstexpr inline auto POWER_DBUS_OBJECT_NAME =
63e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/Power0";
73e30b7a6SDelphine CC Chiuconstexpr inline auto RESET_DBUS_OBJECT_NAME =
83e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/Reset0";
93e30b7a6SDelphine CC Chiuconstexpr inline auto ID_DBUS_OBJECT_NAME =
103e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/ID0";
113e30b7a6SDelphine CC Chiuconstexpr inline auto HS_DBUS_OBJECT_NAME =
123e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/HostSelector";
133e30b7a6SDelphine CC Chiuconstexpr inline auto DBG_HS_DBUS_OBJECT_NAME =
143e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/DebugHostSelector";
153e30b7a6SDelphine CC Chiuconstexpr inline auto SERIAL_CONSOLE_MUX_DBUS_OBJECT_NAME =
163e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/Chassis/Buttons/SerialUartMux";
173e30b7a6SDelphine CC Chiu
183e30b7a6SDelphine CC Chiuconstexpr inline auto CHASSIS_STATE_OBJECT_NAME =
193e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/state/chassis";
203e30b7a6SDelphine CC Chiuconstexpr inline auto CHASSISSYSTEM_STATE_OBJECT_NAME =
213e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/state/chassis_system";
223e30b7a6SDelphine CC Chiuconstexpr inline auto HOST_STATE_OBJECT_NAME =
233e30b7a6SDelphine CC Chiu    "/xyz/openbmc_project/state/host";
243e30b7a6SDelphine CC Chiu
253e30b7a6SDelphine CC Chiuconstexpr inline auto GPIO_BASE_LABEL_NAME = "1e780000.gpio";
263e30b7a6SDelphine CC Chiu#define LOOKUP_GPIO_BASE @LOOKUP_GPIO_BASE@
273e30b7a6SDelphine CC Chiu
283e30b7a6SDelphine CC Chiuconstexpr inline auto POWER_BUTTON_PROFILE = @POWER_BUTTON_PROFILE@;
293e30b7a6SDelphine CC Chiuconstexpr inline auto ID_LED_GROUP = @ID_LED_GROUP@;
30*971312abSPatrick Williamsconstexpr inline const auto LONG_PRESS_TIME_MS =
31*971312abSPatrick Williams    std::chrono::milliseconds(@LONG_PRESS_TIME_MS@);
32