Modify CPU detection GPIO settings
This commit modifies CPU detection GPIO setting to support gpio
line name based solution.
Tested: Worked well with new SGPIO kernel driver and updated
cpusensor service.
Change-Id: I1654f109adab25595dae0c86f3fb62fb97f57bba
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index 397ad52..f207a60 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -2159,7 +2159,12 @@
"Bus": 0,
"CpuID": 1,
"Name": "CPU 1",
- "PresenceGpio": 232,
+ "PresenceGpio": [
+ {
+ "Name": "CPU1_PRESENCE",
+ "Polarity": "Low"
+ }
+ ],
"Thresholds": [
{
"Direction": "greater than",
@@ -2183,7 +2188,12 @@
"Bus": 0,
"CpuID": 2,
"Name": "CPU 2",
- "PresenceGpio": 242,
+ "PresenceGpio": [
+ {
+ "Name": "CPU2_PRESENCE",
+ "Polarity": "Low"
+ }
+ ],
"Thresholds": [
{
"Direction": "greater than",
@@ -2213,4 +2223,4 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER"
}
-}
\ No newline at end of file
+}