Commit d3eece04 authored by Binbin Zhou's avatar Binbin Zhou Committed by Huacai Chen
Browse files

LoongArch: dts: Add eMMC/SDIO controller support to Loongson-2K2000



The Loongson-2K2000 integrates one eMMC controller and one SDIO controller.

The module is supported now, enable it.

Signed-off-by: default avatarBinbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent df0fbf7f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -39,6 +39,16 @@ linux,cma {
	};
};

&emmc {
	status = "okay";

	bus-width = <8>;
	cap-mmc-highspeed;
	mmc-hs200-1_8v;
	no-sd;
	no-sdio;
};

&sata {
	status = "okay";
};
+18 −0
Original line number Diff line number Diff line
@@ -259,6 +259,24 @@ uart0: serial@1fe001e0 {
			status = "disabled";
		};

		emmc: mmc@79990000 {
			compatible = "loongson,ls2k2000-mmc";
			reg = <0x0 0x79990000 0x0 0x1000>;
			interrupt-parent = <&pic>;
			interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clk LOONGSON2_EMMC_CLK>;
			status = "disabled";
		};

		mmc@79991000 {
			compatible = "loongson,ls2k2000-mmc";
			reg = <0x0 0x79991000 0x0 0x1000>;
			interrupt-parent = <&pic>;
			interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clk LOONGSON2_EMMC_CLK>;
			status = "disabled";
		};

		pcie@1a000000 {
			compatible = "loongson,ls2k-pci";
			reg = <0x0 0x1a000000 0x0 0x02000000>,