Commit 9be778f6 authored by Marcin Wojtas's avatar Marcin Wojtas Committed by Gregory CLEMENT

ARM64: dts: marvell: armada-37xx: Enable uSD on ESPRESSObin

The ESPRESSObin board exposes one of the SDHCI interfaces
via J1 uSD slot. This patch enables it.
Tested-by: default avatarMiquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
Signed-off-by: default avatarZbigniew Bodek <zbodek@gmail.com>
[gregory.clement@free-electrons.com:  removed "no-1-8-v"]
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 994a8e8a
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "armada-372x.dtsi" #include "armada-372x.dtsi"
/ { / {
...@@ -59,6 +60,20 @@ memory@0 { ...@@ -59,6 +60,20 @@ memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x00000000 0x00000000 0x20000000>; reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
}; };
vcc_sd_reg1: regulator {
compatible = "regulator-gpio";
regulator-name = "vcc_sd1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
gpios = <&gpionb 4 GPIO_ACTIVE_HIGH>;
gpios-states = <0>;
states = <1800000 0x1
3300000 0x0>;
enable-active-high;
};
}; };
/* J9 */ /* J9 */
...@@ -71,6 +86,16 @@ &sata { ...@@ -71,6 +86,16 @@ &sata {
status = "okay"; status = "okay";
}; };
/* J1 */
&sdhci1 {
wp-inverted;
bus-width = <4>;
cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
marvell,pad-type = "sd";
vqmmc-supply = <&vcc_sd_reg1>;
status = "okay";
};
/* Exported on the micro USB connector J5 through an FTDI */ /* Exported on the micro USB connector J5 through an FTDI */
&uart0 { &uart0 {
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment