ARM: dts: exynos: Extend the eMMC node on Arndale Octa
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 9 Mar 2019 15:00:39 +0000 (16:00 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 19 Mar 2019 21:08:02 +0000 (22:08 +0100)
Describe properly the MMC0 node (with attached embedded MMC memory) on
Arndale Octa by:
1. Adding the regulator for host interface (although it still has to be
   "always-on" so the board with Linaro U-Boot will boot properly);
2. Using "non-removable" instead of "broken-cd" property, because eMMC
   is embedded into the board;
3. Adding support for HS200 v1.8 to indicate such support in host
   controller although this has no practical effect (embedded memory does
   not support it).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5420-arndale-octa.dts

index de0a6840dfbc925005f60b2cb4708133151006c8..74184c6ce3bfadc97135b07c5f670cf2b9b300cf 100644 (file)
                                regulator-name = "PVDD_APIO_MMCON_1V8";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
+                               /*
+                                * Must be always on, even though there is
+                                * a consumer (mmc_0).  Otherwise the board
+                                * does not reboot with vendor U-Boot
+                                * (Linaro for Arndale Octa, v2012.07).
+                                */
                                regulator-always-on;
                        };
 
 
 &mmc_0 {
        status = "okay";
-       broken-cd;
+       non-removable;
        card-detect-delay = <200>;
        samsung,dw-mshc-ciu-div = <3>;
        samsung,dw-mshc-sdr-timing = <0 4>;
        pinctrl-names = "default";
        pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
        vmmc-supply = <&ldo10_reg>;
+       vqmmc-supply = <&ldo3_reg>;
        bus-width = <8>;
        cap-mmc-highspeed;
+       mmc-hs200-1_8v;
 };
 
 &mmc_2 {