Skip to content

d/patches: ARM: dts: bcm2711-rpi-4-b: Set mmc aliases to have SD first

Task https://phabricator.apertis.org/T8603

On RPi4 mmc0 is wired to the wifi module, and mmc1 to the SD card. See arch/arm/boot/dts/bcm2711-rpi-4-b.dts#L182:

/* SDHCI is used to control the SDIO for wireless */
[...]
/* EMMC2 is used to drive the SD card */

U-boot's generic defconfig for RPi arm64 devices, stores bootcount in mmc 0:1, which is not compatible with the above mmc indexes.

This commit sets the proper aliases to have SD card as mmc0.

Merge request reports