Commit Graph
3 Commits
Author SHA1 Message Date
Jamie Magee 7aefd9ab01 raspberry-pi/common: add ordered config.txt device tree overlays 2026-08-07 10:28:35 +03:00
Jamie Magee cd78713bfd raspberry-pi/common: enable UART by default for U-Boot 2026-07-09 01:38:01 -05:00
Jamie Magee a688dfcbb5 raspberry-pi: add config.txt generation module
Two new files in raspberry-pi/common/:

config-txt.nix lets you declare config.txt contents through
hardware.raspberry-pi.configtxt.settings (RFC 42 style — plain
values, null to remove, no enable/value wrappers).

config-txt-defaults.nix has the same defaults as Raspberry Pi OS:
vc4-kms-v3d, audio on, arm_boost, CM4 otg_mode, CM5 dwc2, etc.
All mkDefault so they are easy to override.

Not wired into board profiles yet — that comes with the RPi 5
sub-module work. Based on nvmd/nixos-raspberrypi.
2026-03-08 23:18:35 -07:00