arm64: tegra: Add vccmq on Jetson TX2
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 27 Jan 2023 09:39:10 +0000 (09:39 +0000)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Apr 2023 12:44:46 +0000 (14:44 +0200)
The TX2 SoM's SDIO WiFI card is connected via mmc@3440000 however it does
not look like the upstream kernel is even bothering to power this (and
the regulator framework shuts down this power rail post kernel init).

The issue seems to be a missing link for vccq from the MAX77620 PMIC's LDO5
which is labeled vddio_sdmmc3 (and not used anywhere else) to the mmc@3440000
node to ensure there is at leasr bus power.

Note this does not fix the WiFi issue on upstream kernels, there is still
something else missing that gets the BCM WiFi device to detect properly.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

index a4264ea..e2d6857 100644 (file)
        /* SDMMC3 (SDIO) */
        mmc@3440000 {
                status = "okay";
+               vqmmc-supply = <&vddio_sdmmc3>;
        };
 
        /* SDMMC4 (eMMC) */