I notice that cpu_type is read from register in location 0x020C8280. The i.MX6 RM shows it is in "ANADIG registers 0x020C8000~0x020C8FFF".
There is also a head file in uboot, regs-anadig.h, which I think is related to this region.
Do your guys have some detailed descriptions materials about ANADIG?
Solved! Go to Solution.
ANADIG(ANATOP) is a module including PLLs, PFDs, LDOs, regulators, temp sensors, and some misc function etc.. So in RM, it is separated to different chapter in CCM, PMU, temperature monitor etc..
But I think RM does not contain all info about it.
The latest offest I can find is 260h, which is 0x020C8260. I can not find descriptions about 0x020C8280.
Yes, as far as I know, some of ANATOP registers are for debug purpose, and they will not listed in RM. But I am not sure why this cpu_type register info is not in RM, maybe someone else can answer your question.
BTW, do you meet any issue about this register? Or you just want to know more about it? I think the code is enough to tell all the info about cpu type, right?