mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 12:18:06 +00:00
The Clock and Reset Generator holds the reset line for every block on the SoC. This registers all 324 of them with the NuttX reset framework as a provider implementing assert, deassert, reset and status. A line is addressed as its control register index times thirty two plus its bit, across 61 registers, so the ids are sparse in a space of 1952 and decoding one is arithmetic rather than a lookup. Each register carries three masks over the same bits: which bits are lines at all, which the hardware will not let software drive, and which would take down the system that asserted them. The last are still registered and can be read and released; only assert and reset refuse them. Where each line falls, and why, is recorded beside the table. The lines are active low, which the manual never states. It is inferred from the field naming, the reset defaults and both vendor Linux drivers. If that inference is wrong then deassert asserts, so the evidence for it is written out in full rather than left as a convention. Several lines are absent from the manual, the GPIO resets at offset 0x438 among them. They were recovered from the vendor device tree and confirmed by asserting each one and watching the block stop responding. Registration writes nothing to the hardware. Assisted-by: Claude:claude-opus-5 Signed-off-by: Justin Hammond <justin@dynam.ac> |
||
|---|---|---|
| .. | ||
| allwinner-d1 | ||
| bl602 | ||
| bl808 | ||
| c906 | ||
| eic7700x | ||
| esp32c3 | ||
| esp32c3-legacy | ||
| esp32c6 | ||
| esp32h2 | ||
| esp32p4 | ||
| fe310 | ||
| gd32vw55x | ||
| hpm6000 | ||
| hpm6750 | ||
| jh7110 | ||
| k210 | ||
| k230 | ||
| litex | ||
| mpfs | ||
| qemu-rv | ||
| rp23xx-rv | ||
| rv32m1 | ||
| sg2000 | ||
| thead | ||
| .gitignore | ||
| arch.h | ||
| barriers.h | ||
| csr.h | ||
| elf.h | ||
| inttypes.h | ||
| irq.h | ||
| limits.h | ||
| mode.h | ||
| setjmp.h | ||
| stdarg.h | ||
| syscall.h | ||
| types.h | ||