• Konrad Dybcio's avatar
    arm64: dts: qcom: Add Lenovo Tab P11 (J606F/XiaoXin Pad) dts · 67e75cfe
    Konrad Dybcio authored
    Add an initial device tree for the Lenovo Tab P11. Currently it
    enables:
    
    - simplefb
    - SD Card slot via SDHCI2
    - gpio-keys & PON keys
    - UFS
    - RPM regulators
    - USB2
    
    This has been validated with a rev (62) device. You can check yours
    next to the serial no. on the sticker in the lower portion of the
    back side of your tablet.
    
    To get a successful boot run:
    
    cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/\
    sm6115p-lenovo-j606f.dtb > .Image.gz-dtb
    
    ~/mkbootimg/mkbootimg.py \
    --kernel .Image.gz-dtb \
    --ramdisk some/initrd.img \
    --pagesize 4096 \
    --base 0x0 \
    --kernel_offset 0x8000 \
    --ramdisk_offset 0x1000000 \
    --tags_offset 0x100 \
    --cmdline 'SOME_CMDLINE' \
    --dtb_offset 0x1f00000 \
    --header_version 1 \
    --os_version 11 \
    --os_patch_level 2022-11 \
    -o j606f.img
    
    fastboot flash boot j606f.img
    fastboot flash dtbo empty.img
    fastboot flash recovery empty.img
    fastboot reboot
    
    Where empty.img is 2 zero-bytes.
    Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
    Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
    Link: https://lore.kernel.org/r/20221208201401.530555-5-konrad.dybcio@linaro.org
    67e75cfe
Makefile 9.95 KB