summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml
blob: abb2ce3269324584f3a586ec8771fb9279c1221f (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
- Device:
  index: 0
  # Linux sysfs path for this power sequencer (0xC8 8-bit address)
  path:  /sys/bus/i2c/devices/i2c-8/8-0064
  RailNames:
      - "12.0V"
      - "3.3V"
      - "1.8V"
      - "1.1V"
      - "0.8V_SW"
      - "5.0V"
      - "VDN0"
      - "VDN1"
      - "AVDD"
      - "VIO0"
      - "VIO1"
      - "VDD0"
      - "VDD1"
      - "VCS0"
      - "VCS1"
  GPIConfigs:
      - name:            PGOOD_5P0V
        gpi:             1
        pinID:           8
        poll:            false
        analysis:        none
      - name:            MEM_GOOD0
        gpi:             2
        pinID:           9
        poll:            false
        analysis:        memGOOD0
      - name:            MEM_GOOD1
        gpi:             3
        pinID:           10
        poll:            false
        analysis:        memGOOD1
      - name:            GPU_PGOOD
        gpi:             4
        pinID:           14
        poll:            false
        analysis:        gpuPGOOD # Extra GPIOAnalysis to run if faulted
      - name:            GPU_TH_OVERT
        gpi:             5
        pinID:           17
        poll:            false
        analysis:        gpuOverTemp # Extra GPIOAnalysis to run if faulted
      - name:            SOFTWARE_PGOOD
        gpi:             6
        pinID:           11
        poll:            false
        analysis:        none
  GPIOAnalysis:
      - type:            gpuPGOOD
        # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
        path:            /sys/bus/i2c/devices/i2c-8/8-0060
        gpio_value:      low # What GPIO value indicates a fault/problem?
        error_function:  gpuPGOODError # Extra analysis function to call for this type
        option_flags:    none
        GPIODefinitions:
            - GPIODefinition: GPU Card 0
              gpio:      8 # GPIO pin/register to check for fault
              # Call out path for fault
              callout:   /system/chassis/motherboard/gv100card0
            - GPIODefinition: GPU Card 1
              gpio:      9
              callout:   /system/chassis/motherboard/gv100card1
            - GPIODefinition: GPU Card 2
              gpio:      10
              callout:   /system/chassis/motherboard/gv100card2
            - GPIODefinition: GPU Card 3
              gpio:      11
              callout:   /system/chassis/motherboard/gv100card3
      - type:            gpuOverTemp
        # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
        path:            /sys/bus/i2c/devices/i2c-8/8-0060
        gpio_value:      low # What GPIO value indicates a fault/problem?
        error_function:  gpuOverTempError # Extra analysis function to call for this type
        option_flags:    shutdownOnFault
        GPIODefinitions:
            - GPIODefinition: GPU Card 0 Overtemperature
              gpio:      2 # GPIO pin/register to check for fault
              # Call out path for fault
              callout:   /system/chassis/motherboard/gv100card0
            - GPIODefinition: GPU Card 1 Overtemperature
              gpio:      3
              callout:   /system/chassis/motherboard/gv100card1
            - GPIODefinition: GPU Card 2 Overtemperature
              gpio:      4
              callout:   /system/chassis/motherboard/gv100card2
            - GPIODefinition: GPU Card 3 Overtemperature
              gpio:      5
              callout:   /system/chassis/motherboard/gv100card3
      - type:            memGOOD0
        # The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit)
        path:            /sys/bus/i2c/devices/i2c-9/9-0074
        gpio_value:      low # What GPIO value indicates a fault/problem?
        error_function:  memGoodError # Extra analysis function to call for this type
        option_flags:    none
        GPIODefinitions:
            - GPIODefinition: CPU 0 OMI0A PGOOD
              gpio:      0 # GPIO pin/register to check for fault
              # Call out path for fault
              callout:   /system/chassis/motherboard/dimm4
            - GPIODefinition: CPU 0 OMI0B PGOOD
              gpio:      1
              callout:   /system/chassis/motherboard/dimm3
            - GPIODefinition: CPU 0 OMI0C PGOOD
              gpio:      2
              callout:   /system/chassis/motherboard/dimm2
            - GPIODefinition: CPU 0 OMI1A PGOOD
              gpio:      3
              callout:   /system/chassis/motherboard/dimm5
            - GPIODefinition: CPU 0 OMI1B PGOOD
              gpio:      4
              callout:   /system/chassis/motherboard/dimm10
            - GPIODefinition: CPU 0 OMI1C PGOOD
              gpio:      5
              callout:   /system/chassis/motherboard/dimm8
            - GPIODefinition: CPU 0 OMI2A PGOOD
              gpio:      6
              callout:   /system/chassis/motherboard/dimm11
            - GPIODefinition: CPU 0 OMI2B PGOOD
              gpio:      7
              callout:   /system/chassis/motherboard/dimm9
            - GPIODefinition: CPU 0 OMI3A PGOOD
              gpio:      8
              callout:   /system/chassis/motherboard/dimm0
            - GPIODefinition: CPU 0 OMI3B PGOOD
              gpio:      9
              callout:   /system/chassis/motherboard/dimm1
            - GPIODefinition: CPU 0 OMI3C PGOOD
              gpio:      10
              callout:   /system/chassis/motherboard/dimm7
            - GPIODefinition: CPU 0 OMI4A PGOOD
              gpio:      11
              callout:   /system/chassis/motherboard/dimm6
      - type:            memGOOD1
        # The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit)
        path:            /sys/bus/i2c/devices/i2c-10/10-0074
        gpio_value:      low # What GPIO value indicates a fault/problem?
        error_function:  memGoodError # Extra analysis function to call for this type
        option_flags:    none
        GPIODefinitions:
            - GPIODefinition: CPU 1 OMI0A PGOOD
              gpio:      0 # GPIO pin/register to check for fault
              # Call out path for fault
              callout:   /system/chassis/motherboard/dimm16
            - GPIODefinition: CPU 1 OMI0B PGOOD
              gpio:      1
              callout:   /system/chassis/motherboard/dimm15
            - GPIODefinition: CPU 1 OMI0C PGOOD
              gpio:      2
              callout:   /system/chassis/motherboard/dimm14
            - GPIODefinition: CPU 1 OMI1A PGOOD
              gpio:      3
              callout:   /system/chassis/motherboard/dimm17
            - GPIODefinition: CPU 1 OMI1B PGOOD
              gpio:      4
              callout:   /system/chassis/motherboard/dimm22
            - GPIODefinition: CPU 1 OMI1C PGOOD
              gpio:      5
              callout:   /system/chassis/motherboard/dimm20
            - GPIODefinition: CPU 1 OMI2A PGOOD
              gpio:      6
              callout:   /system/chassis/motherboard/dimm23
            - GPIODefinition: CPU 1 OMI2B PGOOD
              gpio:      7
              callout:   /system/chassis/motherboard/dimm21
            - GPIODefinition: CPU 1 OMI3A PGOOD
              gpio:      8
              callout:   /system/chassis/motherboard/dimm12
            - GPIODefinition: CPU 1 OMI3B PGOOD
              gpio:      9
              callout:   /system/chassis/motherboard/dimm13
            - GPIODefinition: CPU 1 OMI3C PGOOD
              gpio:      10
              callout:   /system/chassis/motherboard/dimm19
            - GPIODefinition: CPU 1 OMI4A PGOOD
              gpio:      11
              callout:   /system/chassis/motherboard/dimm18