blob: ed151f56bac1aae92dc46f8c4fe9acb5a41e7a45 [file] [log] [blame]
Delphine CC Chiu3e30b7a2024-04-12 13:11:42 -05001#pragma once
2
3constexpr inline auto POWER_DBUS_OBJECT_NAME =
4 "/xyz/openbmc_project/Chassis/Buttons/Power0";
5constexpr inline auto RESET_DBUS_OBJECT_NAME =
6 "/xyz/openbmc_project/Chassis/Buttons/Reset0";
7constexpr inline auto ID_DBUS_OBJECT_NAME =
8 "/xyz/openbmc_project/Chassis/Buttons/ID0";
9constexpr inline auto HS_DBUS_OBJECT_NAME =
10 "/xyz/openbmc_project/Chassis/Buttons/HostSelector";
11constexpr inline auto DBG_HS_DBUS_OBJECT_NAME =
12 "/xyz/openbmc_project/Chassis/Buttons/DebugHostSelector";
13constexpr inline auto SERIAL_CONSOLE_MUX_DBUS_OBJECT_NAME =
14 "/xyz/openbmc_project/Chassis/Buttons/SerialUartMux";
15
16constexpr inline auto CHASSIS_STATE_OBJECT_NAME =
17 "/xyz/openbmc_project/state/chassis";
18constexpr inline auto CHASSISSYSTEM_STATE_OBJECT_NAME =
19 "/xyz/openbmc_project/state/chassis_system";
20constexpr inline auto HOST_STATE_OBJECT_NAME =
21 "/xyz/openbmc_project/state/host";
22
23constexpr inline auto GPIO_BASE_LABEL_NAME = "1e780000.gpio";
24#define LOOKUP_GPIO_BASE @LOOKUP_GPIO_BASE@
25
26constexpr inline auto POWER_BUTTON_PROFILE = @POWER_BUTTON_PROFILE@;
27constexpr inline auto ID_LED_GROUP = @ID_LED_GROUP@;
28constexpr inline const int LONG_PRESS_TIME_MS = @LONG_PRESS_TIME_MS@;