aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory CLEMENT2017-03-30 10:23:03 -0500
committerGregory CLEMENT2017-04-11 02:54:07 -0500
commit53e747780a24b271401fe2b1531696a553b00995 (patch)
tree6cfa55812814beeaf01e5e5cd6985a86b5cea143
parent60894719241e2b3d6d202304de9ad33a8da3685c (diff)
downloadkernel-53e747780a24b271401fe2b1531696a553b00995.tar.gz
kernel-53e747780a24b271401fe2b1531696a553b00995.tar.xz
kernel-53e747780a24b271401fe2b1531696a553b00995.zip
arm64: dts: marvell: add eMMC support for Armada 37xx
Add the eMMC support for Armada 37xx SoC and enable it in the Armada 3720 DB board. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm64/boot/dts/marvell/armada-3720-db.dts9
-rw-r--r--arch/arm64/boot/dts/marvell/armada-37xx.dtsi11
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
index 2a6eef2d4d66..950cbd23a5bd 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
@@ -146,6 +146,15 @@
146 status = "okay"; 146 status = "okay";
147}; 147};
148 148
149&sdhci0 {
150 non-removable;
151 bus-width = <8>;
152 mmc-ddr-1_8v;
153 mmc-hs400-1_8v;
154 marvell,pad-type = "fixed-1-8v";
155 status = "okay";
156};
157
149/* CON31 */ 158/* CON31 */
150&usb3 { 159&usb3 {
151 status = "okay"; 160 status = "okay";
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index 2a4e8dbe33aa..311b97c80c7b 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -218,6 +218,17 @@
218 }; 218 };
219 }; 219 };
220 220
221 sdhci0: sdhci@d8000 {
222 compatible = "marvell,armada-3700-sdhci",
223 "marvell,sdhci-xenon";
224 reg = <0xd8000 0x300
225 0x17808 0x4>;
226 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
227 clocks = <&nb_periph_clk 0>;
228 clock-names = "core";
229 status = "disabled";
230 };
231
221 sata: sata@e0000 { 232 sata: sata@e0000 {
222 compatible = "marvell,armada-3700-ahci"; 233 compatible = "marvell,armada-3700-ahci";
223 reg = <0xe0000 0x2000>; 234 reg = <0xe0000 0x2000>;