summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml
blob: d6ba5813b766dd1a5e51c0bf8a1a3ffac2f71168 (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
- Device:
  index: 0
  # Linux sysfs path for this power sequencer (0xC8 8-bit address)
  path:  /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/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:        none
      - name:            MEM_GOOD1
        gpi:             3
        pinID:           10
        poll:            false
        analysis:        none
      - 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/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/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/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/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