George Liu | d6a1bae | 2022-06-20 13:47:31 +0800 | [diff] [blame] | 1 | option( |
| 2 | 'id-led-group', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 3 | type: 'string', |
George Liu | d6a1bae | 2022-06-20 13:47:31 +0800 | [diff] [blame] | 4 | value: 'enclosure_identify', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 5 | description: 'The identify LED group name', |
George Liu | d6a1bae | 2022-06-20 13:47:31 +0800 | [diff] [blame] | 6 | ) |
George Liu | f756f8b | 2022-07-06 10:44:28 +0800 | [diff] [blame] | 7 | |
| 8 | option( |
| 9 | 'long-press-time-ms', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 10 | type: 'integer', |
George Liu | f756f8b | 2022-07-06 10:44:28 +0800 | [diff] [blame] | 11 | value: 3000, |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 12 | description: 'Time to long press the button', |
George Liu | f756f8b | 2022-07-06 10:44:28 +0800 | [diff] [blame] | 13 | ) |
George Liu | ba33275 | 2022-07-07 13:31:40 +0800 | [diff] [blame] | 14 | |
| 15 | option( |
| 16 | 'lookup-gpio-base', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 17 | type: 'feature', |
George Liu | ba33275 | 2022-07-07 13:31:40 +0800 | [diff] [blame] | 18 | value: 'enabled', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 19 | description: 'Look up the GPIO base value in /sys/class/gpio. Otherwise use a base of 0.', |
George Liu | ba33275 | 2022-07-07 13:31:40 +0800 | [diff] [blame] | 20 | ) |
Matt Spinler | 1a309f7 | 2023-04-04 13:12:19 -0500 | [diff] [blame] | 21 | |
| 22 | option( |
| 23 | 'power-button-profile', |
| 24 | type: 'combo', |
| 25 | choices: ['default', 'host_then_chassis_poweroff'], |
| 26 | value: 'default', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 27 | description: 'Used to select a custom power button behavior profile.', |
Matt Spinler | 1a309f7 | 2023-04-04 13:12:19 -0500 | [diff] [blame] | 28 | ) |
HuyLe | 9456ffc | 2023-06-22 15:21:22 +0700 | [diff] [blame] | 29 | |
| 30 | option( |
| 31 | 'reset-button-do-warm-reboot', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 32 | type: 'feature', |
| 33 | value: 'disabled', |
| 34 | description: 'Enable warm reboot on the reset button', |
HuyLe | 9456ffc | 2023-06-22 15:21:22 +0700 | [diff] [blame] | 35 | ) |
Rush Chen | 31ce375 | 2024-11-08 14:57:27 +0800 | [diff] [blame] | 36 | |
| 37 | option( |
| 38 | 'host-instances', |
| 39 | type: 'string', |
| 40 | value: '0', |
Patrick Williams | 301edb9 | 2025-03-03 11:08:14 -0500 | [diff] [blame] | 41 | description: 'Host Instances that can be defined by project, for example: 1 2 3 4', |
Rush Chen | 31ce375 | 2024-11-08 14:57:27 +0800 | [diff] [blame] | 42 | ) |