From 34c0ef77d048674a98717d94494fa43b08bd4f1c Mon Sep 17 00:00:00 2001 From: Andre Brait Date: Mon, 19 Oct 2026 22:17:07 +0200 Subject: [PATCH] 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. --- doc/adding-a-device.md | 17 +++++++++++++++++ doc/devices/SWTGW218AS.md | 4 +--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/adding-a-device.md b/doc/adding-a-device.md index 0063dd71..8d45d198 100644 --- a/doc/adding-a-device.md +++ b/doc/adding-a-device.md @@ -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. + diff --git a/doc/devices/SWTGW218AS.md b/doc/devices/SWTGW218AS.md index eaab7e43..485584f9 100644 --- a/doc/devices/SWTGW218AS.md +++ b/doc/devices/SWTGW218AS.md @@ -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