summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/yosemite4-phosphor-multi-gpio-monitor.json
blob: bfa7ea758ed4f261c249b035a87bff9922e569a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
[
    {
        "Name": "BTN_BMC_R2_N",
        "ChipId": "0",
        "GpioNum": 121,
        "EventMon": "RISING",
        "Targets": {
            "RISING": ["set-button-sled.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT1",
        "ChipId": "0",
        "GpioNum": 10,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@1.service", "rescan-fru-device@1.service", "rescan-wf-bic@1.service"],
            "FALLING": ["rescan-fru-device@1.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT2",
        "ChipId": "0",
        "GpioNum": 11,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@2.service", "rescan-fru-device@2.service", "rescan-wf-bic@2.service"],
            "FALLING": ["rescan-fru-device@2.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT3",
        "ChipId": "0",
        "GpioNum": 12,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@3.service", "rescan-fru-device@3.service", "rescan-wf-bic@3.service"],
            "FALLING": ["rescan-fru-device@3.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT4",
        "ChipId": "0",
        "GpioNum": 13,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@4.service", "rescan-fru-device@4.service", "rescan-wf-bic@4.service"],
            "FALLING": ["rescan-fru-device@4.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT5",
        "ChipId": "0",
        "GpioNum": 190,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@5.service", "rescan-fru-device@5.service", "rescan-wf-bic@5.service"],
            "FALLING": ["rescan-fru-device@5.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT6",
        "ChipId": "0",
        "GpioNum": 191,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@6.service", "rescan-fru-device@6.service", "rescan-wf-bic@6.service"],
            "FALLING": ["rescan-fru-device@6.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT7",
        "ChipId": "0",
        "GpioNum": 195,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@7.service", "rescan-fru-device@7.service", "rescan-wf-bic@7.service"],
            "FALLING": ["rescan-fru-device@7.service"]
        },
        "Continue": true
    },
    {
        "Name": "PWROK_STBY_BMC_SLOT8",
        "ChipId": "0",
        "GpioNum": 202,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["probe-slot-device@8.service", "rescan-fru-device@8.service", "rescan-wf-bic@8.service"],
            "FALLING": ["rescan-fru-device@8.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_NIC0_N",
        "ChipId": "0",
        "GpioNum": 165,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["remove-nic-endpoint-slot@0.service"],
            "FALLING": [
                "obmc-chassis-powercycle@1.target",
                "obmc-chassis-powercycle@2.target",
                "setup-nic-endpoint-slot@0.service"
            ]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_NIC1_N",
        "ChipId": "0",
        "GpioNum": 32,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["remove-nic-endpoint-slot@1.service"],
            "FALLING": [
                "obmc-chassis-powercycle@3.target",
                "obmc-chassis-powercycle@4.target",
                "setup-nic-endpoint-slot@1.service"
            ]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_NIC2_N",
        "ChipId": "0",
        "GpioNum": 33,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["remove-nic-endpoint-slot@2.service"],
            "FALLING": [
                "obmc-chassis-powercycle@5.target",
                "obmc-chassis-powercycle@6.target",
                "setup-nic-endpoint-slot@2.service"
            ]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_NIC3_N",
        "ChipId": "0",
        "GpioNum": 99,
        "EventMon": "BOTH",
        "Targets": {
            "RISING": ["remove-nic-endpoint-slot@3.service"],
            "FALLING": [
                "obmc-chassis-powercycle@7.target",
                "obmc-chassis-powercycle@8.target",
                "setup-nic-endpoint-slot@3.service"
            ]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT1_BMC_N",
        "ChipId": "0",
        "GpioNum": 44,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@1.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT2_BMC_N",
        "ChipId": "0",
        "GpioNum": 45,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@2.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT3_BMC_N",
        "ChipId": "0",
        "GpioNum": 46,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@3.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT4_BMC_N",
        "ChipId": "0",
        "GpioNum": 47,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@4.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT5_BMC_N",
        "ChipId": "0",
        "GpioNum": 132,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@5.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT6_BMC_N",
        "ChipId": "0",
        "GpioNum": 133,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@6.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT7_BMC_N",
        "ChipId": "0",
        "GpioNum": 134,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@7.service"]
        },
        "Continue": true
    },
    {
        "Name": "PRSNT_SB_SLOT8_BMC_N",
        "ChipId": "0",
        "GpioNum": 135,
        "EventMon": "FALLING",
        "Targets": {
            "FALLING": [
                "slot-hot-plug@8.service"]
        },
        "Continue": true
    }
]