# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
# arm_64bit=1

# Run as fast as firmware / board allows
arm_boost=1

# Run on turbo mode for 60secs when starting up
initial_turbo=60

[pi4]
# Enable UART for MIDI
enable_uart=1

[all]
# Disable Splash Screen
disable_splash=1

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

# Enable MMAP support (Jackd, etc.)
dtoverlay=i2s-mmap

# OTG Config
#OTG_CONFIG#

# Adjust UART clock for MIDI Baudrate (31250)
dtoverlay=midi-uart0

# Enable RBPi Onboard Audio (Headphones) => loads snd_bcm2835
#RBPI_AUDIO_CONFIG#

# Soundcard Config
#SOUNDCARD_CONFIG#

# Display Config
#DISPLAY_CONFIG#

#CUSTOM_CONFIG#

[pi4]
hdmi_force_hotplug=1

# Swap back the ttyAMA0 to GPIO
dtoverlay=miniuart-bt

# Overclocking settings
#OVERCLOCKING_RBPI4#
# Fix core freq for avoiding fluctuation on SPI freq (RGB LEDs)
core_freq=500
core_freq_min=500
[all]

[pi5]
# Enable tty0 on RPi5
dtoverlay=uart0-pi5

# Ensure we allow high current draw for the usb sockets
usb_max_current_enable=1
[all]
