mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
Merge pull request #1938 from JamieMagee/raspberry-pi-enable-uart
raspberry-pi/common: enable UART by default for U-Boot
This commit is contained in:
1 file changed
+8
@@ -18,6 +18,14 @@
|
||||
arm_boost = lib.mkDefault true;
|
||||
dtparam = lib.mkDefault [ "audio=on" ];
|
||||
dtoverlay = lib.mkDefault [ "vc4-kms-v3d" ];
|
||||
# U-Boot needs the UART enabled to boot (see arch/arm/mach-bcm283x/Kconfig
|
||||
# in the U-Boot tree). Without it U-Boot hangs on the Pi 4.
|
||||
enable_uart = lib.mkDefault true;
|
||||
};
|
||||
# The Pi 5 has a dedicated debug UART. Leaving the mini UART on feeds ghost
|
||||
# input into boot, so turn it back off.
|
||||
pi5 = {
|
||||
enable_uart = lib.mkDefault false;
|
||||
};
|
||||
cm4 = {
|
||||
otg_mode = lib.mkDefault true;
|
||||
|
||||
Reference in new issue
Block a user