arm: mvebu: dts: turris_mox: update sdhci properties
authorMarek Behún <marek.behun@nic.cz>
Wed, 8 Apr 2020 10:02:04 +0000 (12:02 +0200)
committerStefan Roese <sr@denx.de>
Tue, 14 Apr 2020 11:16:42 +0000 (13:16 +0200)
With recent changes to the mmc subsystem (chip detect code etc) update
the sdhci node of the Turris Mox device tree.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-3720-turris-mox.dts

index c36a5b8895ade550281ff3f4df5b539ada661285..4c65c3e32cd4b157ecc0929ef3e870a97b233ce6 100644 (file)
                regulator-boot-on;
        };
 
+       vsdc_reg: vsdc-reg {
+               compatible = "regulator-gpio";
+               regulator-name = "vsdc";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+
+               gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
+               gpios-states = <0>;
+               states = <1800000 0x1
+                         3300000 0x0>;
+               enable-active-high;
+       };
+
        mdio {
                #address-cells = <1>;
                #size-cells = <0>;
 };
 
 &sdhci1 {
+       wp-inverted;
        bus-width = <4>;
+       cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
+       vqmmc-supply = <&vsdc_reg>;
+       marvell,pad-type = "sd";
        status = "okay";
 };