[PATCH v5 0/2] Add support for Xiaomi Mi TV Stick
From: Ferass El Hafidi <hidden>
Date: 2025-03-19 19:02:53
This patch series aims to add initial support for the Xiaomi Mi TV Stick. Xiaomi Mi TV Stick is a small Amlogic-based Android TV stick released in 2020, and known as `xiaomi-aquaman` internally (in the downstream kernel, u-boot, ...) Its specifications are as follows: * Amlogic S805Y SoC (believed to be mostly identical to S805X) * 8 GB eMMC * 1 GB of RAM * Wi-Fi + Bluetooth * Android TV 9, upgradable to Android TV 10 * Google-certified There are multiple variants: * 1. Green PCB, manufactured in 2020, known UART pinout (helpfully labeled on the board) * 2. Blue PCB, not much documentation about it, presumably manufactured between 2021 and 2023 * 3. Green PCB, manufactured in 2023/2024, known UART pinout, some layout changes compared to the 2020 variant Among these variants, there are many boards using multiple different Wi-Fi chips. Supporting all of them is out of scope for this patch series. However, there has been some work identifying Wi-Fi/Bluetooth since v4. Some variants use a Realtek module while others use an Amlogic module. As of the time of writing this has only been tested on the 3rd variant. It is believed that software-wise all three work mostly the same (if we don't count Wi-Fi/BT), but testing on the other variants would still be appreciated. Sadly, booting Mainline linux is slightly more challenging on some versions of the original firmware. The devicetree is based on the Amlogic P241 DTS. Changes since v4 [1]: * add Acked-by from krzk * Wi-Fi on sd_emmc_b