Switchberry V6 — CM4 PTP / SyncE 1G Switch with Optional GPS
Switchberry V6 — CM4-Based PTP / SyncE 1G Switch with Optional GPS
Switchberry is a Raspberry Pi CM4–controlled Ethernet switching and timing platform built around a Microchip KSZ9567 switch and a Renesas 8A34004 ClockMatrix DPLL. It’s designed for PTP / SyncE / timing lab use cases, giving you a complete PTP network with Sync-E support in a compact, ready-to-run package.
Whether you’re building a precision timing lab, validating PTP client behavior, or deploying a GNSS-disciplined grandmaster, Switchberry V6 gives you professional-grade timing infrastructure without the rack-unit price tag.
Full documentation available on GitHub: https://github.com/Time-Appliances-Project/Switchberry
What’s in the Box
- Switchberry with CM4 and preflashed SD card, assembled in enclosure
- GPS module installed and cabled (if GPS option ordered)
Default Configuration
The default image ships pre-configured with the following settings:
- PTP Unicast Grandmaster mode enabled
- Onboard GPS set as highest-priority time source
- SMA1 — Optional 10 MHz input (falls back to local TCXO if not connected)
- SMA2 — 10 MHz output (frequency only, not GPS-aligned)
- SMA3 — 1PPS output (phase-aligned to GPS or SMA4)
- SMA4 — 1PPS input (lower priority than onboard GPS)
Quick Start
1. Connect to Switchberry via any of the following. Default login: pi / password
- Micro-USB serial connection on the side
- Micro-HDMI + USB keyboard
- Any front panel Ethernet port — default IP is
10.1.1.10
2. Enter the code directory:
cd Switchberry/Software3. Run the configuration wizard for non-default configuration and answer the prompts:
./sb-config.sh4. Reinstall and restart all services:
sudo ./sb-reinstall.sh5. Monitor services for status information:
./sb-status.shKey Components
- Raspberry Pi CM4 — the brains of the platform, running Linux with full PTP stack
- Microchip KSZ9567 — 7-port 1G Ethernet switch with hardware timestamping
- Renesas 8A34004 ClockMatrix DPLL — high-performance clock distribution and synchronization
- TCXO — local oscillator for holdover when no external reference is available
- Optional GNSS module — GPS-disciplined 1PPS for grandmaster operation
- 4x SMA connectors — flexible 10 MHz and 1PPS input/output
Use Cases
- PTP Unicast Grandmaster: Distribute precise time to all devices on your network
- SyncE Lab: Test and validate Synchronous Ethernet deployments
- GNSS-Disciplined Clock: Use onboard GPS for satellite-traceable time
- Timing Research & Development: Experiment with PTP profiles, DPLL behavior, and clock recovery
- Edge Timing Infrastructure: Deploy where rack-mount equipment isn’t practical
Resources
- Switchberry GitHub Repo — full documentation, configuration guides, and source code