# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.

deviceinfo_format_version="0"
deviceinfo_name="Xiaomi Redmi 5 Plus"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-vince"
deviceinfo_year="2017"
deviceinfo_arch="aarch64"

# Mainline
deviceinfo_dtb="qcom/msm8953-xiaomi-vince"
deviceinfo_append_dtb="true"
deviceinfo_gpu_accelerated="true"

# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2160"
deviceinfo_dev_touchscreen_calibration="/etc/pointercal"
deviceinfo_swap_size_recommended="1024"
deviceinfo_getty="ttyMSM0;115200"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x80000000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"

# osk-sdl
deviceinfo_modules_initfs="panel_xiaomi_td4310_fhdplus_e7 panel_xiaomi_td4310_fhdplus_e7_g55 panel_xiaomi_td4310_ebbg_fhdplus_e7 panel_xiaomi_nt36672_tianma_fhdplus_e7 panel_xiaomi_nt36672_csot_fhdplus_e7 msm rmi_i2c"
deviceinfo_mesa_driver="msm"
