1{
2    "gpio_configs": [
3        {
4            "Name" : "IdButton",
5            "LineName" : "",
6            "Type" : "GPIO",
7            "Polarity": "ActiveLow"
8        },
9        {
10            "Name" : "NMIButton",
11            "LineName" : "NMI_BTN_N",
12            "Type" : "GPIO",
13            "Polarity": "ActiveLow"
14        },
15        {
16            "Name" : "NMIOut",
17            "LineName" : "BMC_NMI",
18            "Type" : "GPIO",
19            "Polarity": "ActiveHigh"
20        },
21        {
22            "Name" : "PostComplete",
23            "LineName" : "FM_BIOS_POST_CMPLT_N",
24            "Type" : "GPIO",
25            "Polarity": "ActiveLow"
26        },
27        {
28            "Name" : "PowerButton",
29            "LineName" : "BMC_PSIN",
30            "Type" : "GPIO",
31            "Polarity": "ActiveLow"
32        },
33        {
34            "Name" : "PowerOk",
35            /*
36             * The e3c246d4i doesn't have a PS_PWROK signal as far as
37             * I can tell.  It does have an O_PWROK line that's driven
38             * by the SuperIO chip, which may "actually" be
39             * SioPowerGood, but it seems to work for this, so...?
40             */
41            "LineName" : "O_PWROK",
42            "Type" : "GPIO",
43            "Polarity": "ActiveHigh"
44        },
45        {
46            "Name" : "PowerOut",
47            "LineName" : "BMC_PSOUT",
48            "Type" : "GPIO",
49            "Polarity": "ActiveLow"
50        },
51        {
52            "Name" : "ResetButton",
53            "LineName" : "BMC_RESETCON",
54            "Type" : "GPIO",
55            "Polarity": "ActiveLow"
56        },
57        {
58            "Name" : "ResetOut",
59            "LineName" : "RESETCON",
60            "Type" : "GPIO",
61            "Polarity": "ActiveLow"
62        },
63        {
64            "Name" : "SioOnControl",
65            "LineName" : "",
66            "Type" : "GPIO",
67            "Polarity": "ActiveLow"
68        },
69        {
70            "Name" : "SioPowerGood",
71            "LineName" : "",
72            "Type" : "GPIO",
73            "Polarity": "ActiveHigh"
74        },
75        {
76            "Name" : "SIOS5",
77            "LineName" : "SLP_S5",
78            "Type" : "GPIO",
79            "Polarity": "ActiveLow"
80        }
81    ],
82    "timing_configs": {
83        "PowerPulseMs": 200,
84        "ForceOffPulseMs": 15000,
85        "ResetPulseMs": 500,
86        "PowerCycleMs": 5000,
87        "SioPowerGoodWatchdogMs": 1000,
88        "PsPowerOKWatchdogMs": 8000,
89        "GracefulPowerOffS": 300,
90        "WarmResetCheckMs": 500,
91        "PowerOffSaveMs": 7000
92    }
93}
94