Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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>;
+12 −0
Original line number Diff line number Diff line
@@ -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;
};
+11 −0
Original line number Diff line number Diff line
@@ -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";
+11 −0
Original line number Diff line number Diff line
@@ -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 {