disable_overscan=1
hdmi_force_hotplug=1
dtparam=spi=on
dtparam=audio=on
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
hdmi_drive=2
force_turbo=1

gpu_mem=${node.metadata['raspberrypi'].get('gpu_mem', 128)}

% if node.os == 'debian':
arm_64bit=1
% endif

% for item in sorted(node.metadata['raspberrypi'].get('config.txt', set())):
${item}
% endfor

% if node.metadata['raspberrypi'].get('camera', False):
start_x=1
% endif
