doc: move CPU identification guidance into the device guide

Address review by documenting regget 4 and RTL8373 N/non-N ID values under Step 4 of adding-a-device.md, without referring to a particular board or set of units. Keep the verified Horaco CPU and flash capacity in its device table and retain the unverified-chip caveat.
This commit is contained in:
Andre Brait committed 2026-10-19 22:17:07 +02:00
1 parent 1d5e4cd722
commit 34c0ef77d0
2 files changed
+18 -3

No files matched your search

+17
View File
@@ -177,3 +177,20 @@ Once the board has been tested on hardware:
`doc/devices/KP-9000-6XH-X2.md` and document which `MACHINE` to pick for
which silkscreen.
### Identifying the CPU variant
For RTL8373-based devices, use the read-only console command below to distinguish
the N and non-N CPU variants:
```text
regget 4
```
| Register 0x0004 value | CPU |
|---|---|
| `0x83730000` | RTL8373 (non-N) |
| `0x83737000` | RTL8373N |
Record the identified CPU in the device documentation. These values identify
only the CPU variant; document PHY and flash-chip models separately when verified.
+1 -3
View File
@@ -12,9 +12,7 @@ All boards in this table use `MACHINE=SWTGW218AS`. The Horaco HC-SWTGW218AS is a
[SWTG018AS-A V2.0](SWTG018AS_A_V2_0.md) board, which needs a different firmware. Check the marking
on the PCB before flashing.
On all three tested Horaco HC-SWTGW218AS units with PCB SWTG118AS-V2.1, `regget 4` returned
`REGGET: 0x0004: VAL: 0x83730000`, identifying the CPU as RTL8373 (non-N). An RTL8373N returns
`0x83737000` instead. The PHY and flash-chip models on these units have not been verified.
The PHY and flash-chip models for the tested Horaco units remain unverified.
## Photos