Add basic function for phosphor-nvme.
Add basic function to monitor temperature of
NVMe drive for phosphor-nvme.
Change-Id: Iebe3c8bf4b5cb958defab5b24a88f4bce477ad5e
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
diff --git a/nvme_config.json b/nvme_config.json
new file mode 100644
index 0000000..2f6423d
--- /dev/null
+++ b/nvme_config.json
@@ -0,0 +1,62 @@
+{
+ "config": [
+ {
+ "NVMeDriveIndex": 0,
+ "NVMeDriveBusID": 16,
+ "NVMeDrivePresentPin": 148,
+ "NVMeDrivePwrGoodPin": 161
+ },
+ {
+ "NVMeDriveIndex": 1,
+ "NVMeDriveBusID": 17,
+ "NVMeDrivePresentPin": 149,
+ "NVMeDrivePwrGoodPin": 162
+ },
+ {
+ "NVMeDriveIndex": 2,
+ "NVMeDriveBusID": 18,
+ "NVMeDrivePresentPin": 150,
+ "NVMeDrivePwrGoodPin": 163
+ },
+ {
+ "NVMeDriveIndex": 3,
+ "NVMeDriveBusID": 19,
+ "NVMeDrivePresentPin": 151,
+ "NVMeDrivePwrGoodPin": 164
+ },
+ {
+ "NVMeDriveIndex": 4,
+ "NVMeDriveBusID": 20,
+ "NVMeDrivePresentPin": 152,
+ "NVMeDrivePwrGoodPin": 165
+ },
+ {
+ "NVMeDriveIndex": 5,
+ "NVMeDriveBusID": 21,
+ "NVMeDrivePresentPin": 153,
+ "NVMeDrivePwrGoodPin": 166
+ },
+ {
+ "NVMeDriveIndex": 6,
+ "NVMeDriveBusID": 22,
+ "NVMeDrivePresentPin": 154,
+ "NVMeDrivePwrGoodPin": 167
+ },
+ {
+ "NVMeDriveIndex": 7,
+ "NVMeDriveBusID": 23,
+ "NVMeDrivePresentPin": 155,
+ "NVMeDrivePwrGoodPin": 168
+ }
+ ],
+ "threshold": [
+ {
+ "criticalHigh": 80,
+ "criticalLow": 0,
+ "warningHigh": 70,
+ "warningLow": 5,
+ "maxValue": 127,
+ "minValue": -128
+ }
+ ]
+}
\ No newline at end of file