Skip to content

Commit

Permalink
arm64: dts: marvell: add eMMC support for Armada 37xx
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gregory CLEMENT committed Apr 11, 2017
1 parent 6089471 commit 53e7477
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-3720-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@
status = "okay";
};

&sdhci0 {
non-removable;
bus-width = <8>;
mmc-ddr-1_8v;
mmc-hs400-1_8v;
marvell,pad-type = "fixed-1-8v";
status = "okay";
};

/* CON31 */
&usb3 {
status = "okay";
Expand Down
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-37xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,17 @@
};
};

sdhci0: sdhci@d8000 {
compatible = "marvell,armada-3700-sdhci",
"marvell,sdhci-xenon";
reg = <0xd8000 0x300
0x17808 0x4>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&nb_periph_clk 0>;
clock-names = "core";
status = "disabled";
};

sata: sata@e0000 {
compatible = "marvell,armada-3700-ahci";
reg = <0xe0000 0x2000>;
Expand Down

0 comments on commit 53e7477

Please sign in to comment.