#########################################
##                                     ##
## Raspberry Pi Hardware Configuration ##
##                                     ##
#########################################


####
#### Hardware
####


## arm_64bit
##    Force the kernel to starts the processors up in the
##    specified architecture.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               32-Bit
##    1                               64-Bit
##
arm_64bit=1

## auto_initramfs
##    Look for an initramfs file.
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Disable Initramfs
##    1                               Enable Initramfs
##
auto_initramfs=1

## camera_auto_detect
##    Automatically load overlays for CSI cameras.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Disable loading overlays
##    1                               Enable loading overlays
##
camera_auto_detect=0

## display_auto_detect
##    Automatically load overlays for DSI displays.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Disable loading overlays
##    1                               Enable loading overlays
##
display_auto_detect=0

## disable_fw_kms_setup
##    The firmware parses the EDID of any HDMI attached display,
##    picks an appropriate video mode, then passes the
##    resolution and frame rate of the mode, along with overscan
##    parameters, to the Linux kernel via settings on the kernel
##    command line.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Enable EDID parsing
##    1                               Disable EDID parsing
##
disable_fw_kms_setup=1

## disable_overscan
##    Display pictures were therefore given a black border
##    so that none of the picture was lost.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Enable Overscan
##    1                               Disable Overscan
##
disable_overscan=0

## disable_splash
##    Set the state of the rainbow splash screen on boot.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Enable splash screen
##    1                               Disable splash screen
##
disable_splash=0

## enable_uart
##    Instruct the kernel to creates a serial console which
##    is accessible using GPIOs 14 and 15. On a 40-pin header
##    the GPIOs are 8 and 10.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Disable serial console
##    1                               Enable serial console
##
enable_uart=0

## gpu_mem
##    GPU memory allocation in MB for all board revisions.
##
##    Value                           Description
##    ----------------------------------------------------------
##    16                              Disable GPU features
##    76                              Enable GPU features
##    ...                             Size in MB reserved for GPU
##
gpu_mem=76

## hdmi_ignore_cec
##    Set the state of the initial active source message being
##    sent during bootup.
##    Pretends CEC is not supported at all by TV.
##    No CEC functions will be supported.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Enable the CEC source message
##    1                               Disable the CEC source message
##
hdmi_ignore_cec=1

## max_framebuffers
##  Sets the maximum number of firmware framebuffers that can
##  be created.
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Headless Mode
##    1                               One Display
##    2                               Two Display's
##
max_framebuffers=1


####
#### Base Device Tree
####


## audio
##    Set the state of the audio device.
##
##    Value                           Description
##    ----------------------------------------------------------
##    off                             Audio disabled
##    on                              Audio enabled
##
dtparam=audio=off

## fan_temp*
##    Temperature threshold
##
##    Value                           Description
##    ----------------------------------------------------------
##    ...                             Specification in millicelcius
##    50000                           50 ° Celsius
##    60000                           60 ° Celsius
##    67500                           67.5 ° Celsius
##    75000                           75 ° Celsius
##    ...                             Specification in millicelcius
##
dtparam=fan_temp0=50000
dtparam=fan_temp1=55000
dtparam=fan_temp2=60000
dtparam=fan_temp3=65000

## fan_temp*_hyst
##    Temperature hysteresis
##
##    Value                           Description
##    ----------------------------------------------------------
##    ...                             Specification in millicelcius
##    5000                            5 ° Celsius
##    ...                             Specification in millicelcius
##
dtparam=fan_temp0_hyst=5000
dtparam=fan_temp1_hyst=5000
dtparam=fan_temp2_hyst=5000
dtparam=fan_temp3_hyst=5000

## fan_temp*_speed
##    Fan PWM setting
##
##    Value                           Description
##    ----------------------------------------------------------
##    0                               Fan Speed 0 %
##    ...                             Fan Speed (1 % ≈ 2.5)
##    255                             Fan Speed 100 %
##
dtparam=fan_temp0_speed=50
dtparam=fan_temp1_speed=100
dtparam=fan_temp2_speed=150
dtparam=fan_temp3_speed=200

## i2c_arm
##    Set the state of the inter-integrated circuit.
##
##    Value                           Description
##    ----------------------------------------------------------
##    off                             I2C disabled
##    on                              I2C enabled
##
dtparam=i2c_arm=off

## i2c_arm
##    Set the state of the i2s interface.
##
##    Value                           Description
##    ----------------------------------------------------------
##    off                             I2S disabled
##    on                              I2S enabled
##
dtparam=i2cs=off

## spi
##    Set the state of the serial peripheral interface.
##
##    Value                           Description
##    ----------------------------------------------------------
##    off                             SPI disabled
##    on                              SPI enabled
##
dtparam=spi=off

## disable-bt
##    Disable the bluetooth device.
##
dtoverlay=disable-bt

## disable-wifi
##    Disable the wireless local area network device.
##
#dtoverlay=disable-wifi

## vc4-fkms-v3d
##    Enable the DRM VC4 V3D driver.
##
dtoverlay=vc4-fkms-v3d
