raspberry-pi/common: enable UART by default for U-Boot
This commit is contained in:
parent
662bd6e312
commit
cd78713bfd
1 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,14 @@
|
||||||
arm_boost = lib.mkDefault true;
|
arm_boost = lib.mkDefault true;
|
||||||
dtparam = lib.mkDefault [ "audio=on" ];
|
dtparam = lib.mkDefault [ "audio=on" ];
|
||||||
dtoverlay = lib.mkDefault [ "vc4-kms-v3d" ];
|
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 = {
|
cm4 = {
|
||||||
otg_mode = lib.mkDefault true;
|
otg_mode = lib.mkDefault true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue