George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 1 | { |
| 2 | "sensors" : [ |
| 3 | { |
| 4 | "name": "cputemp", |
| 5 | "unit": "millidegree", |
| 6 | "type": "dbus", |
| 7 | "path": "/xyz/openbmc_project/sensors/temperature/cputemp", |
| 8 | "parameters": { |
| 9 | "type": "file", |
| 10 | "maxTemp": -1, |
| 11 | "path": "/sys/devices/platform/ahb/ahb:apb/f0082000.i2c/i2c-2/2-004c/hwmon/cpu_hwmon/temp1_max", |
| 12 | "sysLabel": "", |
| 13 | "targetTemp": -1, |
| 14 | "targetTempOffset": -10000, |
| 15 | "scalar": 1.0 |
| 16 | } |
| 17 | }, |
| 18 | { |
| 19 | "name": "nvme0", |
| 20 | "unit": "millidegree", |
| 21 | "type": "dbus", |
| 22 | "path": "/xyz/openbmc_project/sensors/temperature/nvme0", |
| 23 | "parameters": { |
| 24 | "type": "", |
| 25 | "maxTemp": 70000, |
| 26 | "path": "", |
| 27 | "sysLabel": "", |
| 28 | "targetTemp": 60000, |
| 29 | "targetTempOffset": 0, |
| 30 | "scalar": 1.0 |
| 31 | } |
| 32 | }, |
| 33 | { |
| 34 | "name": "nvme1", |
| 35 | "unit": "millidegree", |
| 36 | "type": "dbus", |
| 37 | "path": "/xyz/openbmc_project/sensors/temperature/nvme1", |
| 38 | "parameters": { |
| 39 | "type": "", |
| 40 | "maxTemp": 70000, |
| 41 | "path": "", |
| 42 | "sysLabel": "", |
| 43 | "targetTemp": 60000, |
| 44 | "targetTempOffset": 0, |
| 45 | "scalar": 1.0 |
| 46 | } |
| 47 | }, |
| 48 | { |
| 49 | "name": "nvme2", |
| 50 | "unit": "millidegree", |
| 51 | "type": "dbus", |
| 52 | "path": "/xyz/openbmc_project/sensors/temperature/nvme2", |
| 53 | "parameters": { |
| 54 | "type": "", |
| 55 | "maxTemp": 70000, |
| 56 | "path": "", |
| 57 | "sysLabel": "", |
| 58 | "targetTemp": 60000, |
| 59 | "targetTempOffset": 0, |
| 60 | "scalar": 1.0 |
| 61 | } |
| 62 | }, |
| 63 | { |
| 64 | "name": "nvme3", |
| 65 | "unit": "millidegree", |
| 66 | "type": "dbus", |
| 67 | "path": "/xyz/openbmc_project/sensors/temperature/nvme3", |
| 68 | "parameters": { |
| 69 | "type": "", |
| 70 | "maxTemp": 70000, |
| 71 | "path": "", |
| 72 | "sysLabel": "", |
| 73 | "targetTemp": 60000, |
| 74 | "targetTempOffset": 0, |
| 75 | "scalar": 1.0 |
| 76 | } |
| 77 | }, |
| 78 | { |
| 79 | "name": "nvme4", |
| 80 | "unit": "millidegree", |
| 81 | "type": "dbus", |
| 82 | "path": "/xyz/openbmc_project/sensors/temperature/nvme4", |
| 83 | "parameters": { |
| 84 | "type": "", |
| 85 | "maxTemp": 70000, |
| 86 | "path": "", |
| 87 | "sysLabel": "", |
| 88 | "targetTemp": 60000, |
| 89 | "targetTempOffset": 0, |
| 90 | "scalar": 1.0 |
| 91 | } |
| 92 | }, |
| 93 | { |
| 94 | "name": "nvme5", |
| 95 | "unit": "millidegree", |
| 96 | "type": "dbus", |
| 97 | "path": "/xyz/openbmc_project/sensors/temperature/nvme5", |
| 98 | "parameters": { |
| 99 | "type": "", |
| 100 | "maxTemp": 70000, |
| 101 | "path": "", |
| 102 | "sysLabel": "", |
| 103 | "targetTemp": 60000, |
| 104 | "targetTempOffset": 0, |
| 105 | "scalar": 1.0 |
| 106 | } |
| 107 | }, |
| 108 | { |
| 109 | "name": "nvme6", |
| 110 | "unit": "millidegree", |
| 111 | "type": "dbus", |
| 112 | "path": "/xyz/openbmc_project/sensors/temperature/nvme6", |
| 113 | "parameters": { |
| 114 | "type": "", |
| 115 | "maxTemp": 70000, |
| 116 | "path": "", |
| 117 | "sysLabel": "", |
| 118 | "targetTemp": 60000, |
| 119 | "targetTempOffset": 0, |
| 120 | "scalar": 1.0 |
| 121 | } |
| 122 | }, |
| 123 | { |
| 124 | "name": "nvme7", |
| 125 | "unit": "millidegree", |
| 126 | "type": "dbus", |
| 127 | "path": "/xyz/openbmc_project/sensors/temperature/nvme7", |
| 128 | "parameters": { |
| 129 | "type": "", |
| 130 | "maxTemp": 70000, |
| 131 | "path": "", |
| 132 | "sysLabel": "", |
| 133 | "targetTemp": 60000, |
| 134 | "targetTempOffset": 0, |
| 135 | "scalar": 1.0 |
| 136 | } |
| 137 | }, |
| 138 | { |
| 139 | "name": "nvme8", |
| 140 | "unit": "millidegree", |
| 141 | "type": "dbus", |
| 142 | "path": "/xyz/openbmc_project/sensors/temperature/nvme8", |
| 143 | "parameters": { |
| 144 | "type": "", |
| 145 | "maxTemp": 70000, |
| 146 | "path": "", |
| 147 | "sysLabel": "", |
| 148 | "targetTemp": 60000, |
| 149 | "targetTempOffset": 0, |
| 150 | "scalar": 1.0 |
| 151 | } |
| 152 | }, |
| 153 | { |
| 154 | "name": "nvme9", |
| 155 | "unit": "millidegree", |
| 156 | "type": "dbus", |
| 157 | "path": "/xyz/openbmc_project/sensors/temperature/nvme9", |
| 158 | "parameters": { |
| 159 | "type": "", |
| 160 | "maxTemp": 70000, |
| 161 | "path": "", |
| 162 | "sysLabel": "", |
| 163 | "targetTemp": 60000, |
| 164 | "targetTempOffset": 0, |
| 165 | "scalar": 1.0 |
| 166 | } |
| 167 | }, |
| 168 | { |
| 169 | "name": "nvme10", |
| 170 | "unit": "millidegree", |
| 171 | "type": "dbus", |
| 172 | "path": "/xyz/openbmc_project/sensors/temperature/nvme10", |
| 173 | "parameters": { |
| 174 | "type": "", |
| 175 | "maxTemp": 70000, |
| 176 | "path": "", |
| 177 | "sysLabel": "", |
| 178 | "targetTemp": 60000, |
| 179 | "targetTempOffset": 0, |
| 180 | "scalar": 1.0 |
| 181 | } |
| 182 | }, |
| 183 | { |
| 184 | "name": "nvme11", |
| 185 | "unit": "millidegree", |
| 186 | "type": "dbus", |
| 187 | "path": "/xyz/openbmc_project/sensors/temperature/nvme11", |
| 188 | "parameters": { |
| 189 | "type": "", |
| 190 | "maxTemp": 70000, |
| 191 | "path": "", |
| 192 | "sysLabel": "", |
| 193 | "targetTemp": 60000, |
| 194 | "targetTempOffset": 0, |
| 195 | "scalar": 1.0 |
| 196 | } |
| 197 | }, |
| 198 | { |
| 199 | "name": "nvme12", |
| 200 | "unit": "millidegree", |
| 201 | "type": "dbus", |
| 202 | "path": "/xyz/openbmc_project/sensors/temperature/nvme12", |
| 203 | "parameters": { |
| 204 | "type": "", |
| 205 | "maxTemp": 70000, |
| 206 | "path": "", |
| 207 | "sysLabel": "", |
| 208 | "targetTemp": 60000, |
| 209 | "targetTempOffset": 0, |
| 210 | "scalar": 1.0 |
| 211 | } |
| 212 | }, |
| 213 | { |
| 214 | "name": "nvme13", |
| 215 | "unit": "millidegree", |
| 216 | "type": "dbus", |
| 217 | "path": "/xyz/openbmc_project/sensors/temperature/nvme13", |
| 218 | "parameters": { |
| 219 | "type": "", |
| 220 | "maxTemp": 70000, |
| 221 | "path": "", |
| 222 | "sysLabel": "", |
| 223 | "targetTemp": 60000, |
| 224 | "targetTempOffset": 0, |
| 225 | "scalar": 1.0 |
| 226 | } |
| 227 | }, |
| 228 | { |
| 229 | "name": "nvme14", |
| 230 | "unit": "millidegree", |
| 231 | "type": "dbus", |
| 232 | "path": "/xyz/openbmc_project/sensors/temperature/nvme14", |
| 233 | "parameters": { |
| 234 | "type": "", |
| 235 | "maxTemp": 70000, |
| 236 | "path": "", |
| 237 | "sysLabel": "", |
| 238 | "targetTemp": 60000, |
| 239 | "targetTempOffset": 0, |
| 240 | "scalar": 1.0 |
| 241 | } |
| 242 | }, |
| 243 | { |
| 244 | "name": "nvme15", |
| 245 | "unit": "millidegree", |
| 246 | "type": "dbus", |
| 247 | "path": "/xyz/openbmc_project/sensors/temperature/nvme15", |
| 248 | "parameters": { |
| 249 | "type": "", |
| 250 | "maxTemp": 70000, |
| 251 | "path": "", |
| 252 | "sysLabel": "", |
| 253 | "targetTemp": 60000, |
| 254 | "targetTempOffset": 0, |
| 255 | "scalar": 1.0 |
| 256 | } |
| 257 | }, |
| 258 | { |
| 259 | "name": "fleeting0", |
| 260 | "unit": "millimargin", |
| 261 | "type": "dbus", |
| 262 | "path": "/xyz/openbmc_project/extsensors/margin/fleeting0", |
| 263 | "parameters": { |
| 264 | "type": "", |
| 265 | "maxTemp": 0, |
| 266 | "path": "", |
| 267 | "sysLabel": "", |
| 268 | "targetTemp": 0, |
| 269 | "targetTempOffset": 0, |
| 270 | "scalar": 1.0 |
| 271 | } |
| 272 | }, |
| 273 | { |
| 274 | "name": "fleeting1", |
| 275 | "unit": "millimargin", |
| 276 | "type": "dbus", |
| 277 | "path": "/xyz/openbmc_project/extsensors/margin/fleeting1", |
| 278 | "parameters": { |
| 279 | "type": "", |
| 280 | "maxTemp": 0, |
| 281 | "path": "", |
| 282 | "sysLabel": "", |
| 283 | "targetTemp": 0, |
| 284 | "targetTempOffset": 0, |
| 285 | "scalar": 1.0 |
| 286 | } |
| 287 | } |
| 288 | ], |
| 289 | "skus" : [ |
| 290 | { |
| 291 | "num": 1, |
| 292 | "zones": [ |
| 293 | { |
| 294 | "id": 0, |
| 295 | "zoneSetpoint": 10000, |
| 296 | "target": "/xyz/openbmc_project/extsensors/margin/real_fleeting0", |
| 297 | "components": ["cputemp", "fleeting0"] |
| 298 | }, |
| 299 | { |
| 300 | "id": 1, |
| 301 | "zoneSetpoint": 10000, |
| 302 | "target": "/xyz/openbmc_project/extsensors/margin/real_fleeting1", |
| 303 | "components": ["nvme0", "nvme1", "nvme2", "nvme3", "nvme4", "nvme5", "nvme6", "nvme7", "nvme8", "nvme9", "nvme10", "nvme11", "nvme12", "nvme13", "nvme14", "nvme15"] |
| 304 | } |
| 305 | ] |
| 306 | } |
| 307 | ] |
| 308 | } |