Add hardware-gated Switchberry timing support - #2140
Conversation
Verify the KSZ9567 before enabling Switchberry UI, services, packages, or privileged controls. Add the PTP, ClockMatrix, SMA, GNSS, dashboard, installer, and hardware orchestration needed for the Switchberry timing switch while leaving plain CM4 and CM5 systems unchanged.
|
|
||
| ## Contents | ||
|
|
||
| - [Switchberry support](#switchberry-support) |
There was a problem hiding this comment.
I'd imagine all the Switchberry support would be inside docs, and not pasted into the top of the README, for this to be accepted.
|
@ahmadexp @geerlingguy exciting to see this. Regarding docs, we can include a brief summary of Switchberry in the README and host the bulk of the documentation at https://docs.raspap.com/. This follows the general pattern of our other core features. Will give this a thorough test and review over the weekend. Thanks! |
|
@ahmadexp @geerlingguy many variants of the project have done things with custom branding. it's trivial to apply and, I think, looks quite good. the installer only needs to modify
just an idea :) the Switchberry integration works great either way |
|
That would make it even better, good idea! |
|
totally valid point @billz and thank you so much for your time. Let me encorporate your feedback. |
|
Updated! Thank you @billz |


What
microchip,ksz9567DSA device or the direct-SPI00 95 67chip-ID signature.Why
Switchberry combines a Raspberry Pi Compute Module with a KSZ9567 switch, 8A34004 ClockMatrix, GNSS/PPS path and rear timing I/O. RaspAP is a strong management foundation, but these resources need hardware-aware detection and carefully validated privileged controls. Software image markers are not sufficient because the same image may run on an ordinary CM4 or CM5.
Impact
Regular RaspAP installations remain unchanged unless the KSZ9567 probe succeeds. On detected Switchberry hardware, the installer adds only the timing controller, scoped sudo drop-in, kernel/overlay support and related services. Clock-plane changes are explicit and guarded, with reboot requirements surfaced in the UI.
Validation
visudovalidation for both generic and hardware-only rulesdtcKSZ9567, chip ID0x9567, TC plane, full status payload healthy