xref: /freebsd/sys/contrib/device-tree/Bindings/iio/temperature/maxim_thermocouple.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMaxim thermocouple support
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel Vadot* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
4*c66ec88fSEmmanuel Vadot* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot	- compatible: must be "maxim,max6675" or one of the following:
9*c66ec88fSEmmanuel Vadot	   "maxim,max31855k", "maxim,max31855j", "maxim,max31855n",
10*c66ec88fSEmmanuel Vadot	   "maxim,max31855s", "maxim,max31855t", "maxim,max31855e",
11*c66ec88fSEmmanuel Vadot	   "maxim,max31855r"; the generic "max,max31855" is deprecated.
12*c66ec88fSEmmanuel Vadot	- reg: SPI chip select number for the device
13*c66ec88fSEmmanuel Vadot	- spi-max-frequency: must be 4300000
14*c66ec88fSEmmanuel Vadot	- spi-cpha: must be defined for max6675 to enable SPI mode 1
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	Refer to spi/spi-bus.txt for generic SPI slave bindings.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	max31855@0 {
21*c66ec88fSEmmanuel Vadot		compatible = "maxim,max31855k";
22*c66ec88fSEmmanuel Vadot		reg = <0>;
23*c66ec88fSEmmanuel Vadot		spi-max-frequency = <4300000>;
24*c66ec88fSEmmanuel Vadot	};
25