1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/iio/temperature/adi,ltc2983.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Analog Devices LTC2983 Multi-sensor Temperature system 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Nuno Sá <nuno.sa@analog.com> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundescription: | 13*4882a593Smuzhiyun Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14*4882a593Smuzhiyun https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunproperties: 17*4882a593Smuzhiyun compatible: 18*4882a593Smuzhiyun enum: 19*4882a593Smuzhiyun - adi,ltc2983 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun reg: 22*4882a593Smuzhiyun maxItems: 1 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun interrupts: 25*4882a593Smuzhiyun maxItems: 1 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun adi,mux-delay-config-us: 28*4882a593Smuzhiyun description: 29*4882a593Smuzhiyun The LTC2983 performs 2 or 3 internal conversion cycles per temperature 30*4882a593Smuzhiyun result. Each conversion cycle is performed with different excitation and 31*4882a593Smuzhiyun input multiplexer configurations. Prior to each conversion, these 32*4882a593Smuzhiyun excitation circuits and input switch configurations are changed and an 33*4882a593Smuzhiyun internal 1ms delay ensures settling prior to the conversion cycle in most 34*4882a593Smuzhiyun cases. An extra delay can be configured using this property. The value is 35*4882a593Smuzhiyun rounded to nearest 100us. 36*4882a593Smuzhiyun maximum: 255 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun adi,filter-notch-freq: 39*4882a593Smuzhiyun description: 40*4882a593Smuzhiyun Set's the default setting of the digital filter. The default is 41*4882a593Smuzhiyun simultaneous 50/60Hz rejection. 42*4882a593Smuzhiyun 0 - 50/60Hz rejection 43*4882a593Smuzhiyun 1 - 60Hz rejection 44*4882a593Smuzhiyun 2 - 50Hz rejection 45*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 46*4882a593Smuzhiyun minimum: 0 47*4882a593Smuzhiyun maximum: 2 48*4882a593Smuzhiyun 49*4882a593Smuzhiyun '#address-cells': 50*4882a593Smuzhiyun const: 1 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun '#size-cells': 53*4882a593Smuzhiyun const: 0 54*4882a593Smuzhiyun 55*4882a593SmuzhiyunpatternProperties: 56*4882a593Smuzhiyun "@([1-9]|1[0-9]|20)$": 57*4882a593Smuzhiyun type: object 58*4882a593Smuzhiyun 59*4882a593Smuzhiyun properties: 60*4882a593Smuzhiyun reg: 61*4882a593Smuzhiyun description: 62*4882a593Smuzhiyun The channel number. It can be connected to one of the 20 channels of 63*4882a593Smuzhiyun the device. 64*4882a593Smuzhiyun minimum: 1 65*4882a593Smuzhiyun maximum: 20 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun adi,sensor-type: 68*4882a593Smuzhiyun description: Identifies the type of sensor connected to the device. 69*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun required: 72*4882a593Smuzhiyun - reg 73*4882a593Smuzhiyun - adi,sensor-type 74*4882a593Smuzhiyun 75*4882a593Smuzhiyun "^thermocouple@": 76*4882a593Smuzhiyun type: object 77*4882a593Smuzhiyun description: 78*4882a593Smuzhiyun Represents a thermocouple sensor which is connected to one of the device 79*4882a593Smuzhiyun channels. 80*4882a593Smuzhiyun 81*4882a593Smuzhiyun properties: 82*4882a593Smuzhiyun adi,sensor-type: 83*4882a593Smuzhiyun description: | 84*4882a593Smuzhiyun 1 - Type J Thermocouple 85*4882a593Smuzhiyun 2 - Type K Thermocouple 86*4882a593Smuzhiyun 3 - Type E Thermocouple 87*4882a593Smuzhiyun 4 - Type N Thermocouple 88*4882a593Smuzhiyun 5 - Type R Thermocouple 89*4882a593Smuzhiyun 6 - Type S Thermocouple 90*4882a593Smuzhiyun 7 - Type T Thermocouple 91*4882a593Smuzhiyun 8 - Type B Thermocouple 92*4882a593Smuzhiyun 9 - Custom Thermocouple 93*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 94*4882a593Smuzhiyun minimum: 1 95*4882a593Smuzhiyun maximum: 9 96*4882a593Smuzhiyun 97*4882a593Smuzhiyun adi,single-ended: 98*4882a593Smuzhiyun description: 99*4882a593Smuzhiyun Boolean property which set's the thermocouple as single-ended. 100*4882a593Smuzhiyun type: boolean 101*4882a593Smuzhiyun 102*4882a593Smuzhiyun adi,sensor-oc-current-microamp: 103*4882a593Smuzhiyun description: 104*4882a593Smuzhiyun This property set's the pulsed current value applied during 105*4882a593Smuzhiyun open-circuit detect. 106*4882a593Smuzhiyun enum: [10, 100, 500, 1000] 107*4882a593Smuzhiyun 108*4882a593Smuzhiyun adi,cold-junction-handle: 109*4882a593Smuzhiyun description: 110*4882a593Smuzhiyun Phandle which points to a sensor object responsible for measuring 111*4882a593Smuzhiyun the thermocouple cold junction temperature. 112*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/phandle" 113*4882a593Smuzhiyun 114*4882a593Smuzhiyun adi,custom-thermocouple: 115*4882a593Smuzhiyun description: 116*4882a593Smuzhiyun This is a table, where each entry should be a pair of 117*4882a593Smuzhiyun voltage(mv)-temperature(K). The entries must be given in nv and uK 118*4882a593Smuzhiyun so that, the original values must be multiplied by 1000000. For 119*4882a593Smuzhiyun more details look at table 69 and 70. 120*4882a593Smuzhiyun Note should be signed, but dtc doesn't currently maintain the 121*4882a593Smuzhiyun sign. 122*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint64-matrix 123*4882a593Smuzhiyun minItems: 3 124*4882a593Smuzhiyun maxItems: 64 125*4882a593Smuzhiyun items: 126*4882a593Smuzhiyun minItems: 2 127*4882a593Smuzhiyun maxItems: 2 128*4882a593Smuzhiyun 129*4882a593Smuzhiyun "^diode@": 130*4882a593Smuzhiyun type: object 131*4882a593Smuzhiyun description: 132*4882a593Smuzhiyun Represents a diode sensor which is connected to one of the device 133*4882a593Smuzhiyun channels. 134*4882a593Smuzhiyun 135*4882a593Smuzhiyun properties: 136*4882a593Smuzhiyun adi,sensor-type: 137*4882a593Smuzhiyun description: Identifies the sensor as a diode. 138*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 139*4882a593Smuzhiyun const: 28 140*4882a593Smuzhiyun 141*4882a593Smuzhiyun adi,single-ended: 142*4882a593Smuzhiyun description: Boolean property which set's the diode as single-ended. 143*4882a593Smuzhiyun type: boolean 144*4882a593Smuzhiyun 145*4882a593Smuzhiyun adi,three-conversion-cycles: 146*4882a593Smuzhiyun description: 147*4882a593Smuzhiyun Boolean property which set's three conversion cycles removing 148*4882a593Smuzhiyun parasitic resistance effects between the LTC2983 and the diode. 149*4882a593Smuzhiyun type: boolean 150*4882a593Smuzhiyun 151*4882a593Smuzhiyun adi,average-on: 152*4882a593Smuzhiyun description: 153*4882a593Smuzhiyun Boolean property which enables a running average of the diode 154*4882a593Smuzhiyun temperature reading. This reduces the noise when the diode is used 155*4882a593Smuzhiyun as a cold junction temperature element on an isothermal block 156*4882a593Smuzhiyun where temperatures change slowly. 157*4882a593Smuzhiyun type: boolean 158*4882a593Smuzhiyun 159*4882a593Smuzhiyun adi,excitation-current-microamp: 160*4882a593Smuzhiyun description: 161*4882a593Smuzhiyun This property controls the magnitude of the excitation current 162*4882a593Smuzhiyun applied to the diode. Depending on the number of conversions 163*4882a593Smuzhiyun cycles, this property will assume different predefined values on 164*4882a593Smuzhiyun each cycle. Just set the value of the first cycle (1l). 165*4882a593Smuzhiyun enum: [10, 20, 40, 80] 166*4882a593Smuzhiyun 167*4882a593Smuzhiyun adi,ideal-factor-value: 168*4882a593Smuzhiyun description: 169*4882a593Smuzhiyun This property sets the diode ideality factor. The real value must 170*4882a593Smuzhiyun be multiplied by 1000000 to remove the fractional part. For more 171*4882a593Smuzhiyun information look at table 20 of the datasheet. 172*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 173*4882a593Smuzhiyun 174*4882a593Smuzhiyun "^rtd@": 175*4882a593Smuzhiyun type: object 176*4882a593Smuzhiyun description: 177*4882a593Smuzhiyun Represents a rtd sensor which is connected to one of the device channels. 178*4882a593Smuzhiyun 179*4882a593Smuzhiyun properties: 180*4882a593Smuzhiyun reg: 181*4882a593Smuzhiyun minimum: 2 182*4882a593Smuzhiyun maximum: 20 183*4882a593Smuzhiyun 184*4882a593Smuzhiyun adi,sensor-type: 185*4882a593Smuzhiyun description: | 186*4882a593Smuzhiyun 10 - RTD PT-10 187*4882a593Smuzhiyun 11 - RTD PT-50 188*4882a593Smuzhiyun 12 - RTD PT-100 189*4882a593Smuzhiyun 13 - RTD PT-200 190*4882a593Smuzhiyun 14 - RTD PT-500 191*4882a593Smuzhiyun 15 - RTD PT-1000 192*4882a593Smuzhiyun 16 - RTD PT-1000 (0.00375) 193*4882a593Smuzhiyun 17 - RTD NI-120 194*4882a593Smuzhiyun 18 - RTD Custom 195*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 196*4882a593Smuzhiyun minimum: 10 197*4882a593Smuzhiyun maximum: 18 198*4882a593Smuzhiyun 199*4882a593Smuzhiyun adi,rsense-handle: 200*4882a593Smuzhiyun description: 201*4882a593Smuzhiyun Phandle pointing to a rsense object associated with this RTD. 202*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/phandle" 203*4882a593Smuzhiyun 204*4882a593Smuzhiyun adi,number-of-wires: 205*4882a593Smuzhiyun description: 206*4882a593Smuzhiyun Identifies the number of wires used by the RTD. Setting this 207*4882a593Smuzhiyun property to 5 means 4 wires with Kelvin Rsense. 208*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 209*4882a593Smuzhiyun enum: [2, 3, 4, 5] 210*4882a593Smuzhiyun 211*4882a593Smuzhiyun adi,rsense-share: 212*4882a593Smuzhiyun description: 213*4882a593Smuzhiyun Boolean property which enables Rsense sharing, where one sense 214*4882a593Smuzhiyun resistor is used for multiple 2-, 3-, and/or 4-wire RTDs. 215*4882a593Smuzhiyun type: boolean 216*4882a593Smuzhiyun 217*4882a593Smuzhiyun adi,current-rotate: 218*4882a593Smuzhiyun description: 219*4882a593Smuzhiyun Boolean property which enables excitation current rotation to 220*4882a593Smuzhiyun automatically remove parasitic thermocouple effects. Note that 221*4882a593Smuzhiyun this property is not allowed for 2- and 3-wire RTDs. 222*4882a593Smuzhiyun type: boolean 223*4882a593Smuzhiyun 224*4882a593Smuzhiyun adi,excitation-current-microamp: 225*4882a593Smuzhiyun description: 226*4882a593Smuzhiyun This property controls the magnitude of the excitation current 227*4882a593Smuzhiyun applied to the RTD. 228*4882a593Smuzhiyun enum: [5, 10, 25, 50, 100, 250, 500, 1000] 229*4882a593Smuzhiyun 230*4882a593Smuzhiyun adi,rtd-curve: 231*4882a593Smuzhiyun description: 232*4882a593Smuzhiyun This property set the RTD curve used and the corresponding 233*4882a593Smuzhiyun Callendar-VanDusen constants. Look at table 30 of the datasheet. 234*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 235*4882a593Smuzhiyun minimum: 0 236*4882a593Smuzhiyun maximum: 3 237*4882a593Smuzhiyun 238*4882a593Smuzhiyun adi,custom-rtd: 239*4882a593Smuzhiyun description: 240*4882a593Smuzhiyun This is a table, where each entry should be a pair of 241*4882a593Smuzhiyun resistance(ohm)-temperature(K). The entries added here are in uohm 242*4882a593Smuzhiyun and uK. For more details values look at table 74 and 75. 243*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint64-matrix 244*4882a593Smuzhiyun items: 245*4882a593Smuzhiyun minItems: 3 246*4882a593Smuzhiyun maxItems: 64 247*4882a593Smuzhiyun items: 248*4882a593Smuzhiyun minItems: 2 249*4882a593Smuzhiyun maxItems: 2 250*4882a593Smuzhiyun 251*4882a593Smuzhiyun required: 252*4882a593Smuzhiyun - adi,rsense-handle 253*4882a593Smuzhiyun 254*4882a593Smuzhiyun dependencies: 255*4882a593Smuzhiyun adi,current-rotate: [ "adi,rsense-share" ] 256*4882a593Smuzhiyun 257*4882a593Smuzhiyun "^thermistor@": 258*4882a593Smuzhiyun type: object 259*4882a593Smuzhiyun description: 260*4882a593Smuzhiyun Represents a thermistor sensor which is connected to one of the device 261*4882a593Smuzhiyun channels. 262*4882a593Smuzhiyun 263*4882a593Smuzhiyun properties: 264*4882a593Smuzhiyun adi,sensor-type: 265*4882a593Smuzhiyun description: 266*4882a593Smuzhiyun 19 - Thermistor 44004/44033 2.252kohm at 25°C 267*4882a593Smuzhiyun 20 - Thermistor 44005/44030 3kohm at 25°C 268*4882a593Smuzhiyun 21 - Thermistor 44007/44034 5kohm at 25°C 269*4882a593Smuzhiyun 22 - Thermistor 44006/44031 10kohm at 25°C 270*4882a593Smuzhiyun 23 - Thermistor 44008/44032 30kohm at 25°C 271*4882a593Smuzhiyun 24 - Thermistor YSI 400 2.252kohm at 25°C 272*4882a593Smuzhiyun 25 - Thermistor Spectrum 1003k 1kohm 273*4882a593Smuzhiyun 26 - Thermistor Custom Steinhart-Hart 274*4882a593Smuzhiyun 27 - Custom Thermistor 275*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 276*4882a593Smuzhiyun minimum: 19 277*4882a593Smuzhiyun maximum: 27 278*4882a593Smuzhiyun 279*4882a593Smuzhiyun adi,rsense-handle: 280*4882a593Smuzhiyun description: 281*4882a593Smuzhiyun Phandle pointing to a rsense object associated with this 282*4882a593Smuzhiyun thermistor. 283*4882a593Smuzhiyun $ref: "/schemas/types.yaml#/definitions/phandle" 284*4882a593Smuzhiyun 285*4882a593Smuzhiyun adi,single-ended: 286*4882a593Smuzhiyun description: 287*4882a593Smuzhiyun Boolean property which set's the thermistor as single-ended. 288*4882a593Smuzhiyun type: boolean 289*4882a593Smuzhiyun 290*4882a593Smuzhiyun adi,rsense-share: 291*4882a593Smuzhiyun description: 292*4882a593Smuzhiyun Boolean property which enables Rsense sharing, where one sense 293*4882a593Smuzhiyun resistor is used for multiple thermistors. Note that this property 294*4882a593Smuzhiyun is ignored if adi,single-ended is set. 295*4882a593Smuzhiyun type: boolean 296*4882a593Smuzhiyun 297*4882a593Smuzhiyun adi,current-rotate: 298*4882a593Smuzhiyun description: 299*4882a593Smuzhiyun Boolean property which enables excitation current rotation to 300*4882a593Smuzhiyun automatically remove parasitic thermocouple effects. 301*4882a593Smuzhiyun type: boolean 302*4882a593Smuzhiyun 303*4882a593Smuzhiyun adi,excitation-current-nanoamp: 304*4882a593Smuzhiyun description: 305*4882a593Smuzhiyun This property controls the magnitude of the excitation current 306*4882a593Smuzhiyun applied to the thermistor. Value 0 set's the sensor in auto-range 307*4882a593Smuzhiyun mode. 308*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 309*4882a593Smuzhiyun enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000, 310*4882a593Smuzhiyun 500000, 1000000] 311*4882a593Smuzhiyun 312*4882a593Smuzhiyun adi,custom-thermistor: 313*4882a593Smuzhiyun description: 314*4882a593Smuzhiyun This is a table, where each entry should be a pair of 315*4882a593Smuzhiyun resistance(ohm)-temperature(K). The entries added here are in uohm 316*4882a593Smuzhiyun and uK only for custom thermistors. For more details look at table 317*4882a593Smuzhiyun 78 and 79. 318*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint64-matrix 319*4882a593Smuzhiyun minItems: 3 320*4882a593Smuzhiyun maxItems: 64 321*4882a593Smuzhiyun items: 322*4882a593Smuzhiyun minItems: 2 323*4882a593Smuzhiyun maxItems: 2 324*4882a593Smuzhiyun 325*4882a593Smuzhiyun adi,custom-steinhart: 326*4882a593Smuzhiyun description: 327*4882a593Smuzhiyun Steinhart-Hart coefficients are also supported and can 328*4882a593Smuzhiyun be programmed into the device memory using this property. For 329*4882a593Smuzhiyun Steinhart sensors the coefficients are given in the raw 330*4882a593Smuzhiyun format. Look at table 82 for more information. 331*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32-array 332*4882a593Smuzhiyun items: 333*4882a593Smuzhiyun minItems: 6 334*4882a593Smuzhiyun maxItems: 6 335*4882a593Smuzhiyun 336*4882a593Smuzhiyun required: 337*4882a593Smuzhiyun - adi,rsense-handle 338*4882a593Smuzhiyun 339*4882a593Smuzhiyun dependencies: 340*4882a593Smuzhiyun adi,current-rotate: [ "adi,rsense-share" ] 341*4882a593Smuzhiyun 342*4882a593Smuzhiyun "^adc@": 343*4882a593Smuzhiyun type: object 344*4882a593Smuzhiyun description: Represents a channel which is being used as a direct adc. 345*4882a593Smuzhiyun 346*4882a593Smuzhiyun properties: 347*4882a593Smuzhiyun adi,sensor-type: 348*4882a593Smuzhiyun description: Identifies the sensor as a direct adc. 349*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 350*4882a593Smuzhiyun const: 30 351*4882a593Smuzhiyun 352*4882a593Smuzhiyun adi,single-ended: 353*4882a593Smuzhiyun description: Boolean property which set's the adc as single-ended. 354*4882a593Smuzhiyun type: boolean 355*4882a593Smuzhiyun 356*4882a593Smuzhiyun "^rsense@": 357*4882a593Smuzhiyun type: object 358*4882a593Smuzhiyun description: 359*4882a593Smuzhiyun Represents a rsense which is connected to one of the device channels. 360*4882a593Smuzhiyun Rsense are used by thermistors and RTD's. 361*4882a593Smuzhiyun 362*4882a593Smuzhiyun properties: 363*4882a593Smuzhiyun reg: 364*4882a593Smuzhiyun minimum: 2 365*4882a593Smuzhiyun maximum: 20 366*4882a593Smuzhiyun 367*4882a593Smuzhiyun adi,sensor-type: 368*4882a593Smuzhiyun description: Identifies the sensor as a rsense. 369*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 370*4882a593Smuzhiyun const: 29 371*4882a593Smuzhiyun 372*4882a593Smuzhiyun adi,rsense-val-milli-ohms: 373*4882a593Smuzhiyun description: 374*4882a593Smuzhiyun Sets the value of the sense resistor. Look at table 20 of the 375*4882a593Smuzhiyun datasheet for information. 376*4882a593Smuzhiyun 377*4882a593Smuzhiyun required: 378*4882a593Smuzhiyun - adi,rsense-val-milli-ohms 379*4882a593Smuzhiyun 380*4882a593Smuzhiyunrequired: 381*4882a593Smuzhiyun - compatible 382*4882a593Smuzhiyun - reg 383*4882a593Smuzhiyun - interrupts 384*4882a593Smuzhiyun 385*4882a593SmuzhiyunadditionalProperties: false 386*4882a593Smuzhiyun 387*4882a593Smuzhiyunexamples: 388*4882a593Smuzhiyun - | 389*4882a593Smuzhiyun #include <dt-bindings/interrupt-controller/irq.h> 390*4882a593Smuzhiyun spi { 391*4882a593Smuzhiyun #address-cells = <1>; 392*4882a593Smuzhiyun #size-cells = <0>; 393*4882a593Smuzhiyun 394*4882a593Smuzhiyun sensor_ltc2983: ltc2983@0 { 395*4882a593Smuzhiyun compatible = "adi,ltc2983"; 396*4882a593Smuzhiyun reg = <0>; 397*4882a593Smuzhiyun 398*4882a593Smuzhiyun #address-cells = <1>; 399*4882a593Smuzhiyun #size-cells = <0>; 400*4882a593Smuzhiyun 401*4882a593Smuzhiyun interrupts = <20 IRQ_TYPE_EDGE_RISING>; 402*4882a593Smuzhiyun interrupt-parent = <&gpio>; 403*4882a593Smuzhiyun 404*4882a593Smuzhiyun thermocouple@18 { 405*4882a593Smuzhiyun reg = <18>; 406*4882a593Smuzhiyun adi,sensor-type = <8>; //Type B 407*4882a593Smuzhiyun adi,sensor-oc-current-microamp = <10>; 408*4882a593Smuzhiyun adi,cold-junction-handle = <&diode5>; 409*4882a593Smuzhiyun }; 410*4882a593Smuzhiyun 411*4882a593Smuzhiyun diode5: diode@5 { 412*4882a593Smuzhiyun reg = <5>; 413*4882a593Smuzhiyun adi,sensor-type = <28>; 414*4882a593Smuzhiyun }; 415*4882a593Smuzhiyun 416*4882a593Smuzhiyun rsense2: rsense@2 { 417*4882a593Smuzhiyun reg = <2>; 418*4882a593Smuzhiyun adi,sensor-type = <29>; 419*4882a593Smuzhiyun adi,rsense-val-milli-ohms = <1200000>; //1.2Kohms 420*4882a593Smuzhiyun }; 421*4882a593Smuzhiyun 422*4882a593Smuzhiyun rtd@14 { 423*4882a593Smuzhiyun reg = <14>; 424*4882a593Smuzhiyun adi,sensor-type = <15>; //PT1000 425*4882a593Smuzhiyun /*2-wire, internal gnd, no current rotation*/ 426*4882a593Smuzhiyun adi,number-of-wires = <2>; 427*4882a593Smuzhiyun adi,rsense-share; 428*4882a593Smuzhiyun adi,excitation-current-microamp = <500>; 429*4882a593Smuzhiyun adi,rsense-handle = <&rsense2>; 430*4882a593Smuzhiyun }; 431*4882a593Smuzhiyun 432*4882a593Smuzhiyun adc@10 { 433*4882a593Smuzhiyun reg = <10>; 434*4882a593Smuzhiyun adi,sensor-type = <30>; 435*4882a593Smuzhiyun adi,single-ended; 436*4882a593Smuzhiyun }; 437*4882a593Smuzhiyun 438*4882a593Smuzhiyun thermistor@12 { 439*4882a593Smuzhiyun reg = <12>; 440*4882a593Smuzhiyun adi,sensor-type = <26>; //Steinhart 441*4882a593Smuzhiyun adi,rsense-handle = <&rsense2>; 442*4882a593Smuzhiyun adi,custom-steinhart = <0x00F371EC 0x12345678 443*4882a593Smuzhiyun 0x2C0F8733 0x10018C66 0xA0FEACCD 444*4882a593Smuzhiyun 0x90021D99>; //6 entries 445*4882a593Smuzhiyun }; 446*4882a593Smuzhiyun 447*4882a593Smuzhiyun thermocouple@20 { 448*4882a593Smuzhiyun reg = <20>; 449*4882a593Smuzhiyun adi,sensor-type = <9>; //custom thermocouple 450*4882a593Smuzhiyun adi,single-ended; 451*4882a593Smuzhiyun adi,custom-thermocouple = /bits/ 64 452*4882a593Smuzhiyun <(-50220000) 0>, 453*4882a593Smuzhiyun <(-30200000) 99100000>, 454*4882a593Smuzhiyun <(-5300000) 135400000>, 455*4882a593Smuzhiyun <0 273150000>, 456*4882a593Smuzhiyun <40200000 361200000>, 457*4882a593Smuzhiyun <55300000 522100000>, 458*4882a593Smuzhiyun <88300000 720300000>, 459*4882a593Smuzhiyun <132200000 811200000>, 460*4882a593Smuzhiyun <188700000 922500000>, 461*4882a593Smuzhiyun <460400000 1000000000>; //10 pairs 462*4882a593Smuzhiyun }; 463*4882a593Smuzhiyun 464*4882a593Smuzhiyun }; 465*4882a593Smuzhiyun }; 466*4882a593Smuzhiyun... 467