summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml
blob: 9dd38124807b56bcfed9d83aa73ec210b60ddb3f (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
- Device:
  index: 0
  # Linux sysfs path for this power sequencer (0xC8 8-bit address)
  path:  /sys/bus/i2c/devices/i2c-11/11-0064
  RailNames:
      - "5.0VCS"
      - "12.0V"
      - "3.3V"
      - "1.8V"
      - "1.1V"
      - "1.0V"
      - "0.9V"
      - "VDN-A"
      - "VDN-B"
      - "AVDD"
      - "VIO-A"
      - "VIO-B"
      - "VDD-A"
      - "VDD-B"
      - "VCS-A"
      - "VCS-B"
  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
      - name:            GPU_TH_OVERT
        gpi:             5
        pinID:           17
        poll:            true
        analysis:        gpuOverTemp
      - name:            SOFTWARE_PGOOD
        gpi:             6
        pinID:           11
        poll:            false
        analysis:        none
  GPIOAnalysis:
      - type:            gpuPGOOD
        path:            /sys/bus/i2c/devices/i2c-11/11-0060
        gpio_value:      low
        error_function:  gpuPGOODError
        option_flags:    none
        GPIODefinitions:
            - GPIODefinition: GPU Card 0
              gpio:      8
              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
            - GPIODefinition: GPU Card 4
              gpio:      12
              callout:   /system/chassis/motherboard/gv100card4
            - GPIODefinition: GPU Card 5
              gpio:      13
              callout:   /system/chassis/motherboard/gv100card5
      - type:            gpuOverTemp # Extra analysis function to call for this type
        # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
        path:            /sys/bus/i2c/devices/i2c-11/11-0060
        gpio_value:      low # What GPIO value indicates a fault/problem?
        error_function:  gpuOverTempError
        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
            - GPIODefinition: GPU Card 4 Overtemperature
              gpio:      6
              callout:   /system/chassis/motherboard/gv100card4
            - GPIODefinition: GPU Card 5 Overtemperature
              gpio:      7
              callout:   /system/chassis/motherboard/gv100card5