Commit 910b4c5c authored by Gregory CLEMENT's avatar Gregory CLEMENT

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: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 53e74778
...@@ -147,6 +147,20 @@ &cpm_usb3_1 { ...@@ -147,6 +147,20 @@ &cpm_usb3_1 {
status = "okay"; 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 { &cpm_mdio {
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0>; reg = <0>;
......
...@@ -164,3 +164,15 @@ &cps_usb3_0 { ...@@ -164,3 +164,15 @@ &cps_usb3_0 {
&cps_usb3_1 { &cps_usb3_1 {
status = "okay"; status = "okay";
}; };
&ap_sdhci0 {
status = "okay";
bus-width = <4>;
non-removable;
};
&cpm_sdhci0 {
status = "okay";
bus-width = <8>;
non-removable;
};
...@@ -229,6 +229,17 @@ uart1: serial@512100 { ...@@ -229,6 +229,17 @@ uart1: serial@512100 {
}; };
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 { ap_syscon: system-controller@6f4000 {
compatible = "marvell,ap806-system-controller", compatible = "marvell,ap806-system-controller",
"syscon"; "syscon";
......
...@@ -217,6 +217,17 @@ cpm_trng: trng@760000 { ...@@ -217,6 +217,17 @@ cpm_trng: trng@760000 {
clocks = <&cpm_syscon0 1 25>; clocks = <&cpm_syscon0 1 25>;
status = "okay"; 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 { cpm_pcie0: pcie@f2600000 {
......
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