Hello @PriyaJ,
could I ask if You have also compiled a driver into Your Linux kernel? The driver should do all necessary configuration of the thermometer and is able to give You a measured temperature via file.
A node in Device Tree acknowledges kernel that there is a device connected to specified controller of the I2C bus and this device could be controlled with the driver. In case there is any driver with matching “compatible” string, the node of Device Tree is skipped simply and You need to control the device manualy with I2C commands.
You could find the proper driver at these links:
- https://github.com/altera-opensource/linux-socfpga/blob/3ab4436f688c2d2f221793953cd05435ca84261c/drivers/hwmon/max1619.c
- https://github.com/altera-opensource/linux-socfpga/blob/80f232121b69cc69a31ccb2b38c1665d770b0710/Documentation/hwmon/max1619.rst
- https://github.com/altera-opensource/linux-socfpga/blob/813835028e9ae1f18cd11bb0ec591d0f0577d96a/Documentation/devicetree/bindings/hwmon/max1619.txt
Hope this could help You a bit.
Yours Jan Konečný.