Hi all,
I am trying to write a value to SNVS LPGPR0 register on i.MX8M Nano SoC.
However register doesn't accept my values, in fact they always stay at 0x00000000 (default).
Here is my test procedure:
U-Boot > mw 0x30370068 0xDEADBEEF
U-Boot > md 0x30370068 1
30370068: 00000000 ....
U-Boot >
Where address 0x30370068 is the address of SNVS_LP General Purpose Register 0 (legacy alias) (LPGPR0_legacy_alias).
The same can be observed if using registers "SNVS_LP General Purpose Registers 0 .. 3 (LPGPR0 - LPGPR3)":
U-Boot > mw 0x30370090 0xDEADBEEF
U-Boot > mw 0x30370094 0xDEADBEEF
U-Boot > mw 0x30370098 0xDEADBEEF
U-Boot > mw 0x3037009C 0xDEADBEEF
U-Boot > md 0x30370090 4
30370090: 00000000 00000000 00000000 00000000 ................
U-Boot >
What am I missing?
The same works like a charm on i.MX6UL board which should have the same SNVS controller?
ps.: here is a dump of entire controller registers:
30370000: 00000001 00002020 00000000 00000000 .... ..........
30370010: 00000000 8000bd00 80000000 00000000 ................
30370020: 00000000 00000000 00000000 00000000 ................
30370030: 00000000 00000000 00000020 00000000 ........ .......
30370040: 00000000 00000000 00000000 00000008 ................
30370050: 00000000 00000000 00000000 00000000 ................
30370060: 00000000 00000000 00000000 00000000 ................
30370070: 00000000 00000000 00000000 00000000 ................
30370080: 00000000 00000000 00000000 00000000 ................
30370090: 00000000 00000000 00000000 00000000 ................