# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

## USB MONITOR
#max_usb_current=1
#hdmi_force_hotplug=1
#hdmi_group=1
#hdmi_mode=31
#hdmi_cvt 1024 600 60 6 0 0 0
#dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
# DISABLE HDMI
#hdmi_ignore_edid=0xa5000080
#hdmi_force_hotplug=1

# Automatically load overlays for detected DSI displays
#display_auto_detect=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=spi=on
#dtparam=uart0=off
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18



[pi3]
dtoverlay=vc4-fkms-v3d
temp_soft_limit=70

[pi4]
# Disable Rainbow splash screen
# BOOST TURBO FROM 1.5 -> 1.8 ghz
arm_boost=1
dtoverlay=rpi4-maxspeed
dtoverlay=vc4-fkms-v3d-pi4

[all]
disable_splash=1
# Needed because the sd card isn't always getting detected
bootcode_delay=5
#
# disable WiFi and BT
#
dtoverlay=disable-wifi
dtoverlay=disable-bt
# Enables turbo mode from boot for the given value in seconds, or until cpufreq sets a frequency. The maximum value is 60.
force-turbo=1
initial_turbo=60
gpu_mem=16

#
# gpio_pins ott_ac
#
gpio=4=ip,pu
gpio=17,27,22,5=ip,pn/np
gpio=12,26,16,13,6=op,dl
dtparam=i2c_arm=on
dtoverlay=i2s-mmap
dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1
dtparam=i2s=on
dtoverlay=wm8960-soundcard
