With kernel 3.8 CPU temperature sensor data is accessible via /sys/class/hwmon/ or using lm_sensors:
$ sensors
am335x-bandgap-isa-0000
Adapter: ISA adapter
temp1: +57.0°C
But this sensor is not accessible with kernels >=3.12 (well.. to be honest I tested only 3.14 :)) I guess this is because am33xx.dtsi in kernels >=3.12 lacks the following node:
bandgap@44e10448 {
compatible = "ti,am335x-bandgap";
reg = <0x44e10448 0x8>;
};
Could it be added to kernels >=3.12?