Re: [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
From: i
Date: Sat Nov 07 2026 - 08:37:15 EST
Hi Roman,
On Saturday, November 7th, 2026, Roman Vivchar wrote:
> Shouldn't the boot shim populate /memory and the dynamic /reserved-memory
> nodes from the vendor FDT instead of hardcoding them here? There are
> multiple phone variants, which may have different reserved memory addresses.
It already does: it takes the memory node and the regions LK reserves
from the tree LK passes, matched by address, so the ones here are only
the values from a 6 GB unit. You're right that they don't belong here,
then. In v2 the memory node will be left for the shim to size, and
reserved-memory will keep only what the kernel uses itself: the ramoops
region and the framebuffer.
> No interrupts?
I don't know of one routed to Linux. MediaTek's device tree for this
phone gives the watchdog none, nor do the mainline ones for MT8186,
MT8188, MT8192 and MT8195, and MediaTek's kernel registers a handler
with the secure firmware (MTK_SIP_KERNEL_WDT) for watchdog timeouts
rather than taking an interrupt.
Best regards,
Rui