ARM: tegra: colibri_t20: annotate/move sd card detect
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sun, 2 Sep 2018 10:08:55 +0000 (12:08 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Sep 2018 14:55:16 +0000 (16:55 +0200)
Annotate the SD card, its detect pin and move the SD card detect GPIO
definition from the module to the carrier board more in-line with our
other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20-colibri-iris.dts
arch/arm/boot/dts/tegra20-colibri.dtsi

index 7a75308..1583d51 100644 (file)
                vbus-supply = <&reg_usbh_vbus>;
        };
 
+       /* SD/MMC */
        sdhci@c8000600 {
                status = "okay";
                bus-width = <4>;
+               cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */
                no-1-8-v;
        };
 
index aba56b4..6b82485 100644 (file)
                vbus-supply = <&reg_lan_v_bus>;
        };
 
-       sdhci@c8000600 {
-               cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
-       };
-
        clocks {
                compatible = "simple-bus";
                #address-cells = <1>;