1#pragma once 2 3#include <chrono> 4 5constexpr inline auto POWER_DBUS_OBJECT_NAME = 6 "/xyz/openbmc_project/Chassis/Buttons/Power0"; 7constexpr inline auto RESET_DBUS_OBJECT_NAME = 8 "/xyz/openbmc_project/Chassis/Buttons/Reset0"; 9constexpr inline auto ID_DBUS_OBJECT_NAME = 10 "/xyz/openbmc_project/Chassis/Buttons/ID0"; 11constexpr inline auto HS_DBUS_OBJECT_NAME = 12 "/xyz/openbmc_project/Chassis/Buttons/HostSelector"; 13constexpr inline auto DBG_HS_DBUS_OBJECT_NAME = 14 "/xyz/openbmc_project/Chassis/Buttons/DebugHostSelector"; 15constexpr inline auto SERIAL_CONSOLE_MUX_DBUS_OBJECT_NAME = 16 "/xyz/openbmc_project/Chassis/Buttons/SerialUartMux"; 17 18constexpr inline auto CHASSIS_STATE_OBJECT_NAME = 19 "/xyz/openbmc_project/state/chassis"; 20constexpr inline auto CHASSISSYSTEM_STATE_OBJECT_NAME = 21 "/xyz/openbmc_project/state/chassis_system"; 22constexpr inline auto HOST_STATE_OBJECT_NAME = 23 "/xyz/openbmc_project/state/host"; 24 25constexpr inline auto GPIO_BASE_LABEL_NAME = "1e780000.gpio"; 26#define LOOKUP_GPIO_BASE @LOOKUP_GPIO_BASE@ 27 28constexpr inline auto POWER_BUTTON_PROFILE = @POWER_BUTTON_PROFILE@; 29constexpr inline auto ID_LED_GROUP = @ID_LED_GROUP@; 30constexpr inline const auto LONG_PRESS_TIME_MS = 31 std::chrono::milliseconds(@LONG_PRESS_TIME_MS@); 32