Add gpio properties
Adds gpio properties for gpio daemon.
Change-Id: Iab0711d5d318b5be98313e5d522a2fe147a560fa
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index de11905..65a3b7c 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -861,6 +861,48 @@
"Zones": [
"Pid 1"
]
+ },
+ {
+ "Direction": "In",
+ "Polarity": "Low",
+ "Index": 32,
+ "Type": "Gpio",
+ "Name": "Reset Button"
+ },
+ {
+ "Direction": "Out",
+ "Polarity": "Low",
+ "Index": 33,
+ "Type": "Gpio",
+ "Name": "Reset Out"
+ },
+ {
+ "Direction": "Both",
+ "Polarity": "Low",
+ "Index": 34,
+ "Type": "Gpio",
+ "Name": "Power Button"
+ },
+ {
+ "Direction": "Both",
+ "Polarity": "Low",
+ "Index": 35,
+ "Type": "Gpio",
+ "Name": "Power Up"
+ },
+ {
+ "Direction": "Input",
+ "Polarity": "Low",
+ "Index": 218,
+ "Type": "Gpio",
+ "Name": "ID Button"
+ },
+ {
+ "Direction": "Input",
+ "Polarity": "High",
+ "Index": 219,
+ "Type": "Gpio",
+ "Name": "Power Good"
}
],
"Name": "WFP Baseboard",
@@ -872,4 +914,4 @@
"PartNumber": "$PRODUCT_PART_NUMBER",
"SerialNumber": "$PRODUCT_PRODUCT_SERIAL_NUMBER"
}
-}
+}
\ No newline at end of file
diff --git a/schemas/global.json b/schemas/global.json
index 4be9d25..ebf7195 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -255,6 +255,12 @@
},
"SetPoint": {
"type": "number"
+ },
+ "Direction": {
+ "type": "string"
+ },
+ "Polarity": {
+ "type": "string"
}
},
"required": [