aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-04-08 12:02:04 +0200
committerStefan Roese <sr@denx.de>2020-04-14 13:16:42 +0200
commiteddd6f90c99a19b3290590c0eb041f95002b4f4c (patch)
tree6f56c7eb1d74712f19a5dfd19cb3c99a7311cd16
parentb80ca8176dc0e78d3fb22b2389c847a5d96ee583 (diff)
downloadu-boot-eddd6f90c99a19b3290590c0eb041f95002b4f4c.zip
u-boot-eddd6f90c99a19b3290590c0eb041f95002b4f4c.tar.gz
u-boot-eddd6f90c99a19b3290590c0eb041f95002b4f4c.tar.bz2
arm: mvebu: dts: turris_mox: update sdhci properties
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>
-rw-r--r--arch/arm/dts/armada-3720-turris-mox.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts
index c36a5b8..4c65c3e 100644
--- a/arch/arm/dts/armada-3720-turris-mox.dts
+++ b/arch/arm/dts/armada-3720-turris-mox.dts
@@ -45,6 +45,20 @@
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>;
@@ -93,7 +107,11 @@
};
&sdhci1 {
+ wp-inverted;
bus-width = <4>;
+ cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
+ vqmmc-supply = <&vsdc_reg>;
+ marvell,pad-type = "sd";
status = "okay";
};