summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorXo Wang <xow@google.com>2016-09-22 13:00:58 -0700
committerPatrick Williams <patrick@stwcx.xyz>2016-10-04 03:01:53 +0000
commit4088ec386cba731b02981984640bad2c1576cd27 (patch)
tree442f5ccd3d85fb0e41e0c44eccc41f5fc4be8849 /configs
parent3f87de8bb45887f223a7539afb8249fdb22837fd (diff)
downloadtalos-skeleton-4088ec386cba731b02981984640bad2c1576cd27.tar.gz
talos-skeleton-4088ec386cba731b02981984640bad2c1576cd27.zip
configs: Add POWER_CONFIG for machines
Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds. These are based on existing per-machine patches to op-pwrctl. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124
Diffstat (limited to 'configs')
-rw-r--r--configs/Barreleye.py11
-rw-r--r--configs/Firestone.py16
-rw-r--r--configs/Garrison.py17
-rw-r--r--configs/Palmetto.py11
-rw-r--r--configs/Witherspoon.py11
5 files changed, 66 insertions, 0 deletions
diff --git a/configs/Barreleye.py b/configs/Barreleye.py
index 0273c4b..4b6a15c 100644
--- a/configs/Barreleye.py
+++ b/configs/Barreleye.py
@@ -540,6 +540,17 @@ HWMON_CONFIG = {
},
}
+POWER_CONFIG = {
+ 'power_good_in' : 'PGOOD',
+ 'power_up_outs' : [
+ ('POWER_PIN', False),
+ ],
+ 'reset_outs' : [
+ ('PCIE_RESET', False),
+ ('USB_RESET', False),
+ ],
+}
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {
diff --git a/configs/Firestone.py b/configs/Firestone.py
index 0f28515..0b7eb17 100644
--- a/configs/Firestone.py
+++ b/configs/Firestone.py
@@ -451,6 +451,22 @@ HWMON_CONFIG = {
}
+POWER_CONFIG = {
+ 'power_good_in' : 'SYS_PWROK_BUFF',
+ 'power_up_outs' : [
+ ('BMC_POWER_UP', True),
+ ],
+ 'reset_outs' : [
+ ('CM1_OE_R_N', True),
+ ('BMC_CP0_RESET_N', False),
+ ('BMC_CFAM_RESET_N_R', False),
+ ('PEX8718_DEVICES_RESET_N', False),
+ ('CP0_DEVICES_RESET_N', False),
+ ('CP1_DEVICES_RESET_N', False),
+ ],
+}
+
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {
diff --git a/configs/Garrison.py b/configs/Garrison.py
index 133bad8..8d29750 100644
--- a/configs/Garrison.py
+++ b/configs/Garrison.py
@@ -451,6 +451,23 @@ HWMON_CONFIG = {
},
}
+
+POWER_CONFIG = {
+ 'power_good_in' : 'SYS_PWROK_BUFF',
+ 'power_up_outs' : [
+ ('BMC_POWER_UP', True),
+ ],
+ 'reset_outs' : [
+ ('CM1_OE_R_N', True),
+ ('BMC_CP0_RESET_N', False),
+ ('BMC_CFAM_RESET_N_R', False),
+ ('PEX8718_DEVICES_RESET_N', False),
+ ('CP0_DEVICES_RESET_N', False),
+ ('CP1_DEVICES_RESET_N', False),
+ ],
+}
+
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {
diff --git a/configs/Palmetto.py b/configs/Palmetto.py
index 98a04d2..8abe4fe 100644
--- a/configs/Palmetto.py
+++ b/configs/Palmetto.py
@@ -125,6 +125,17 @@ HWMON_CONFIG = {
}
}
+POWER_CONFIG = {
+ 'power_good_in' : 'PGOOD',
+ 'power_up_outs' : [
+ ('POWER_PIN', False),
+ ],
+ 'reset_outs' : [
+ ('PCIE_RESET', False),
+ ('USB_RESET', False),
+ ],
+}
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {
diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py
index 7aee81a..27fc88f 100644
--- a/configs/Witherspoon.py
+++ b/configs/Witherspoon.py
@@ -477,6 +477,17 @@ HWMON_CONFIG = {
},
}
+
+POWER_CONFIG = {
+ 'power_good_in' : 'SYS_PWROK_BUFF',
+ 'power_up_outs' : [
+ ('BMC_POWER_UP', True),
+ ],
+ 'reset_outs' : [
+ ],
+}
+
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {
OpenPOWER on IntegriCloud