How to read the real-time temperature of JH7100?

Description

I would like to know how to read the real-time temperature of JH7100.

SoC

JH7100

SBC

VisionFive

Software

Fedora 33

Procedure

  1. Enter the following command in the terminal to read data:
    cat /sys/devices/platform/soc/124a0000.tmon/hwmon/hwmon0/temp1_input
  2. Divide the read data by 1000 to get the current temperature of JH7100.