arm64: dts: meson: misc fixups for w400 dtsi
authorChristian Hewitt <christianshewitt@gmail.com>
Tue, 21 Jul 2020 01:39:52 +0000 (01:39 +0000)
committerKevin Hilman <khilman@baylibre.com>
Mon, 27 Jul 2020 18:52:14 +0000 (11:52 -0700)
Current devices using the W400 dtsi show mmc tuning errors:

[12483.917391] mmc0: tuning execution failed: -5
[30535.551221] mmc0: tuning execution failed: -5
[35359.953671] mmc0: tuning execution failed: -5
[35561.875332] mmc0: tuning execution failed: -5
[61733.348709] mmc0: tuning execution failed: -5

Removing "sd-uhs-sdr50" from the SDIO node prevents this. We also add
keep-power-in-suspend to the SDIO node and fix an indentation.

Fixes: 3cb74db9b256 ("arm64: dts: meson: convert ugoos-am6 to common w400 dtsi")
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200721013952.11635-1-christianshewitt@gmail.com
arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi

index 98b70d216a6f30ed9911e53e0b8c19d166cd9fb5..2802ddbb83ac78776101bc6dffe257cfb96330cb 100644 (file)
 
        bus-width = <4>;
        cap-sd-highspeed;
-       sd-uhs-sdr50;
        max-frequency = <100000000>;
 
+       /* WiFi firmware requires power to be kept while in suspend */
+       keep-power-in-suspend;
+
        non-removable;
        disable-wp;
 
                shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
                max-speed = <2000000>;
                clocks = <&wifi32k>;
-       clock-names = "lpo";
+               clock-names = "lpo";
        };
 };