arm64: dts: marvell: add sdhci support for Armada 7K/8K

Also enable it on the Armada 7040 DB and Armada 8040 DB boards.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Gregory CLEMENT 2017-03-30 17:23:04 +02:00
parent 53e747780a
commit 910b4c5cb3
4 changed files with 48 additions and 0 deletions

View File

@ -147,6 +147,20 @@
status = "okay";
};
&ap_sdhci0 {
status = "okay";
bus-width = <4>;
no-1-8-v;
non-removable;
};
&cpm_sdhci0 {
status = "okay";
bus-width = <4>;
no-1-8-v;
non-removable;
};
&cpm_mdio {
phy0: ethernet-phy@0 {
reg = <0>;

View File

@ -164,3 +164,15 @@
&cps_usb3_1 {
status = "okay";
};
&ap_sdhci0 {
status = "okay";
bus-width = <4>;
non-removable;
};
&cpm_sdhci0 {
status = "okay";
bus-width = <8>;
non-removable;
};

View File

@ -229,6 +229,17 @@
};
ap_sdhci0: sdhci@6e0000 {
compatible = "marvell,armada-ap806-sdhci";
reg = <0x6e0000 0x300>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "core";
clocks = <&ap_syscon 4>;
dma-coherent;
marvell,xenon-phy-slow-mode;
status = "disabled";
};
ap_syscon: system-controller@6f4000 {
compatible = "marvell,ap806-system-controller",
"syscon";

View File

@ -217,6 +217,17 @@
clocks = <&cpm_syscon0 1 25>;
status = "okay";
};
cpm_sdhci0: sdhci@780000 {
compatible = "marvell,armada-cp110-sdhci";
reg = <0x780000 0x300>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "core";
clocks = <&cpm_syscon0 1 4>;
dma-coherent;
status = "disabled";
};
};
cpm_pcie0: pcie@f2600000 {