# 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 Mi Pad 5 Pro"
deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-elish"
deviceinfo_year="2021"
deviceinfo_arch="aarch64"
deviceinfo_flash_kernel_on_update="true"

# Device related
deviceinfo_drm="true"
deviceinfo_chassis="tablet"
deviceinfo_screen_width="1600"
deviceinfo_screen_height="2560"

# Kernel options
deviceinfo_dtb_boe="qcom/sm8250-xiaomi-elish-boe"
deviceinfo_dtb_csot="qcom/sm8250-xiaomi-elish-csot"
deviceinfo_append_dtb="true"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"

# Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096"

# Support super partition flashing
deviceinfo_super_partitions="/dev/sda29 /dev/sda29"
