Commit 1208d2f0 authored by Konstantin Porotchkin's avatar Konstantin Porotchkin Committed by Gregory CLEMENT

arm64: dts: marvell: Enable second SDHCI controller in Armada 37xx

The Armada 37xx SoCs has 2 SDHCI interfaces. This patch adds the second
one.

Moreover, the Armada 37xx DB v2 board populates the 2 SDHCI interfaces.

The second interface is using pluggable module that can either
have an SD connector or eMMC on it.
This patch adds support for SD module in the device DT.

[ gregory.clement@free-electrons.com:
 - Add more detail in commit log
 - Sort the dt node in address order
 - Document the SD slot in the dts ]
Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent e9bfac54
...@@ -158,6 +158,15 @@ &sdhci0 { ...@@ -158,6 +158,15 @@ &sdhci0 {
status = "okay"; status = "okay";
}; };
/* SD slot module on CON14(V2.0)/CON15(V1.4) */
&sdhci1 {
wp-inverted;
cd-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
bus-width = <4>;
marvell,pad-type = "sd";
status = "okay";
};
&spi0 { &spi0 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -292,6 +292,17 @@ xor11 { ...@@ -292,6 +292,17 @@ xor11 {
}; };
}; };
sdhci1: sdhci@d0000 {
compatible = "marvell,armada-3700-sdhci",
"marvell,sdhci-xenon";
reg = <0xd0000 0x300>,
<0x1e808 0x4>;
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&nb_periph_clk 0>;
clock-names = "core";
status = "disabled";
};
sdhci0: sdhci@d8000 { sdhci0: sdhci@d8000 {
compatible = "marvell,armada-3700-sdhci", compatible = "marvell,armada-3700-sdhci",
"marvell,sdhci-xenon"; "marvell,sdhci-xenon";
......
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