mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
LoongArch: dts: Add SDIO controller support to Loongson-2K0500
The Loongson-2K0500 integrates two SDIO controllers for SD storage cards and SDIO cards, supporting SD storage card boot. The module is supported now, enable it. Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
parent
8568df83ea
commit
06d380c470
|
|
@ -41,6 +41,15 @@ linux,cma {
|
|||
};
|
||||
};
|
||||
|
||||
&apbdma3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmc0 {
|
||||
status = "okay";
|
||||
bus-width = <4>;
|
||||
};
|
||||
|
||||
&gmac0 {
|
||||
status = "okay";
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ dma-controller@1fe10c10 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
dma-controller@1fe10c20 {
|
||||
apbdma2: dma-controller@1fe10c20 {
|
||||
compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
|
||||
reg = <0 0x1fe10c20 0 0x8>;
|
||||
interrupt-parent = <&eiointc>;
|
||||
|
|
@ -114,7 +114,7 @@ dma-controller@1fe10c20 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
dma-controller@1fe10c30 {
|
||||
apbdma3: dma-controller@1fe10c30 {
|
||||
compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
|
||||
reg = <0 0x1fe10c30 0 0x8>;
|
||||
interrupt-parent = <&eiointc>;
|
||||
|
|
@ -437,6 +437,30 @@ i2c@1ff4a800 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
mmc0: mmc@1ff64000 {
|
||||
compatible = "loongson,ls2k0500-mmc";
|
||||
reg = <0 0x1ff64000 0 0x2000>,
|
||||
<0 0x1fe10100 0 0x4>;
|
||||
interrupt-parent = <&eiointc>;
|
||||
interrupts = <57>;
|
||||
dmas = <&apbdma3 0>;
|
||||
dma-names = "rx-tx";
|
||||
clocks = <&clk LOONGSON2_APB_CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mmc@1ff66000 {
|
||||
compatible = "loongson,ls2k0500-mmc";
|
||||
reg = <0 0x1ff66000 0 0x2000>,
|
||||
<0 0x1fe10100 0 0x4>;
|
||||
interrupt-parent = <&eiointc>;
|
||||
interrupts = <58>;
|
||||
dmas = <&apbdma2 0>;
|
||||
dma-names = "rx-tx";
|
||||
clocks = <&clk LOONGSON2_APB_CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pmc: power-management@1ff6c000 {
|
||||
compatible = "loongson,ls2k0500-pmc", "syscon";
|
||||
reg = <0x0 0x1ff6c000 0x0 0x58>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user