Skip to content

Instantly share code, notes, and snippets.

@pythoninthegrass
Created November 6, 2025 19:36
Show Gist options
  • Select an option

  • Save pythoninthegrass/a5bef81b8ce33f984873556da71d2d74 to your computer and use it in GitHub Desktop.

Select an option

Save pythoninthegrass/a5bef81b8ce33f984873556da71d2d74 to your computer and use it in GitHub Desktop.
Working PiFire DSI config
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on # Modified by PiFire Board Configuration Utility
#dtparam=i2s=on
dtparam=spi=on # Modified by PiFire Board Configuration Utility
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]
dtoverlay=pwm-2chan,func=4,pin=13 # Modified by PiFire Board Configuration Utility
dtoverlay=w1-gpio,gpiopin=4 # Modified by PiFire Board Configuration Utility
dtoverlay=gpio-shutdown,active_low=1,gpio_pull=up,gpio_pin=17 # Modified by PiFire Board Configuration Utility
# Waveshare 7" DSI LCD 800x480 Display
dtoverlay=vc4-kms-dsi-waveshare-800x480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment