summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/configuration
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2020-07-20 16:02:11 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-07-23 00:47:08 +0300
commitfd8041ee5efccf77dacc13b3447e527fc57a53e5 (patch)
treec51904a24a14cbaca3cfd8e9b0ee45aa2bd1ae1e /meta-quanta/meta-gbs/recipes-phosphor/configuration
parent5f2142ef7c0f94cb4c4874432071208c613101f5 (diff)
downloadopenbmc-fd8041ee5efccf77dacc13b3447e527fc57a53e5.tar.xz
meta-quanta: gbs: expose more GPIO signals as IPMI SDR
1. monitor more GPIO signals gpio_net_name / gpio_number: ['SATA0_PRSNT_N']=5 ['HSBP_CABLE_PRSNT_BUF_N']=57 ['FAN_BRD_CABLE_PRSNT_BUF']=58 ['HSBP_P12V_STBY_CABLE_PRSNT']=69 ['PE_SLOT0_PRSNT_N']=120 ['PE_SLOT1_PRSNT_N']=121 2. add these GPIO signals to the sensor YAML config (From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie39512763757e222ca386349a4c45af135500d65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/configuration')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml48
1 files changed, 39 insertions, 9 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
index 26a785fbe..6747280fd 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
+++ b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
@@ -1082,8 +1082,8 @@
type: string
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull
-#SlimSAS Cable0~3 connection
-0xF1: &slimsas
+#GPIO present connection
+0xF1: &gpio_prsnt
entityID: 0x1F
entityInstance: 0
interfaces:
@@ -1097,7 +1097,7 @@
assert: false
type: bool
mutability: Mutability::Write|Mutability::Read
- path: /xyz/openbmc_project/inventory/system/chassis/cable/ss_cab0_prsnt
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/ss_cab0_prsnt
readingType: assertion
sensorNamePattern: nameLeaf
sensorReadingType: 0x6f
@@ -1105,16 +1105,46 @@
serviceInterface: org.freedesktop.DBus.Properties
0xF2:
- <<: *slimsas
+ <<: *gpio_prsnt
entityInstance: 1
- path: /xyz/openbmc_project/inventory/system/chassis/cable/ss_cab1_prsnt
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/ss_cab1_prsnt
0xF3:
- <<: *slimsas
+ <<: *gpio_prsnt
entityInstance: 2
- path: /xyz/openbmc_project/inventory/system/chassis/cable/ss_cab2_prsnt
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/ss_cab2_prsnt
0xF4:
- <<: *slimsas
+ <<: *gpio_prsnt
entityInstance: 3
- path: /xyz/openbmc_project/inventory/system/chassis/cable/ss_cab3_prsnt
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/ss_cab3_prsnt
+
+0xF5:
+ <<: *gpio_prsnt
+ entityInstance: 4
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/sata0_prsnt
+
+0xF6:
+ <<: *gpio_prsnt
+ entityInstance: 5
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/hsbp_cab_prsnt
+
+0xF7:
+ <<: *gpio_prsnt
+ entityInstance: 6
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/fanbd_cab_prsnt
+
+0xF8:
+ <<: *gpio_prsnt
+ entityInstance: 7
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/bp12v_cab_prsnt
+
+0xF9:
+ <<: *gpio_prsnt
+ entityInstance: 8
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/pe_slot0_prsnt
+
+0xFA:
+ <<: *gpio_prsnt
+ entityInstance: 9
+ path: /xyz/openbmc_project/inventory/system/chassis/gpios/pe_slot1_prsnt