1description: >
2    NMI button is a Diagnostic Interrupt(Front Panel NMI).Diagnostic interrupt
3    is a non-maskable interrupt or signal for generating diagnostic traces
4    and core dumps from the operating system. The diagnostic interrupt button
5    is connected to the BMC through a front panel connector.
6    user can press NMI button on the front panel and then trigger NMI signal.
7methods:
8    - name: simPress
9      description: >
10          Emulate NMI button press.
11      errors:
12          - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
13          - xyz.openbmc_project.Chassis.Common.Error.IOError
14
15properties:
16    - name: Enabled
17      type: boolean
18      default: true
19      description: >
20          Enable/disable NMI button.
21          false means NMI button is disabled
22          true means NMI button is enabled
23      errors:
24          - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
25          - xyz.openbmc_project.Chassis.Common.Error.IOError
26
27signals:
28    - name: Released
29      description: >
30          NMI button released signal
31    - name: Pressed
32      description: >
33          NMI button pressed signal
34