Hi all,
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?
Thanks,
Simmis.
已解决! 转到解答。
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..
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?