Skip to content

Commit 910b4c5

Browse files
committed
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 <[email protected]>
1 parent 53e7477 commit 910b4c5

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

arch/arm64/boot/dts/marvell/armada-7040-db.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,20 @@
147147
status = "okay";
148148
};
149149

150+
&ap_sdhci0 {
151+
status = "okay";
152+
bus-width = <4>;
153+
no-1-8-v;
154+
non-removable;
155+
};
156+
157+
&cpm_sdhci0 {
158+
status = "okay";
159+
bus-width = <4>;
160+
no-1-8-v;
161+
non-removable;
162+
};
163+
150164
&cpm_mdio {
151165
phy0: ethernet-phy@0 {
152166
reg = <0>;

arch/arm64/boot/dts/marvell/armada-8040-db.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,15 @@
164164
&cps_usb3_1 {
165165
status = "okay";
166166
};
167+
168+
&ap_sdhci0 {
169+
status = "okay";
170+
bus-width = <4>;
171+
non-removable;
172+
};
173+
174+
&cpm_sdhci0 {
175+
status = "okay";
176+
bus-width = <8>;
177+
non-removable;
178+
};

arch/arm64/boot/dts/marvell/armada-ap806.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,17 @@
229229

230230
};
231231

232+
ap_sdhci0: sdhci@6e0000 {
233+
compatible = "marvell,armada-ap806-sdhci";
234+
reg = <0x6e0000 0x300>;
235+
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
236+
clock-names = "core";
237+
clocks = <&ap_syscon 4>;
238+
dma-coherent;
239+
marvell,xenon-phy-slow-mode;
240+
status = "disabled";
241+
};
242+
232243
ap_syscon: system-controller@6f4000 {
233244
compatible = "marvell,ap806-system-controller",
234245
"syscon";

arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,17 @@
217217
clocks = <&cpm_syscon0 1 25>;
218218
status = "okay";
219219
};
220+
221+
cpm_sdhci0: sdhci@780000 {
222+
compatible = "marvell,armada-cp110-sdhci";
223+
reg = <0x780000 0x300>;
224+
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
225+
clock-names = "core";
226+
clocks = <&cpm_syscon0 1 4>;
227+
dma-coherent;
228+
status = "disabled";
229+
};
230+
220231
};
221232

222233
cpm_pcie0: pcie@f2600000 {

0 commit comments

Comments
 (0)