Skip to content

Commit 5dad549

Browse files
pcercueipaulburton
authored andcommitted
MIPS: DTS: jz4740: Add node for the MMC driver
Add a devicetree node for the jz4740-mmc driver. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: devicetree@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mmc@vger.kernel.org
1 parent 368fb26 commit 5dad549

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

‎arch/mips/boot/dts/ingenic/jz4740.dtsi‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,24 @@
132132
};
133133
};
134134

135+
mmc: mmc@10021000 {
136+
compatible = "ingenic,jz4740-mmc";
137+
reg = <0x10021000 0x1000>;
138+
139+
clocks = <&cgu JZ4740_CLK_MMC>;
140+
clock-names = "mmc";
141+
142+
interrupt-parent = <&intc>;
143+
interrupts = <14>;
144+
145+
dmas = <&dmac 27 0xffffffff>, <&dmac 26 0xffffffff>;
146+
dma-names = "rx", "tx";
147+
148+
cap-sd-highspeed;
149+
cap-mmc-highspeed;
150+
cap-sdio-irq;
151+
};
152+
135153
uart0: serial@10030000 {
136154
compatible = "ingenic,jz4740-uart";
137155
reg = <0x10030000 0x100>;
@@ -164,9 +182,6 @@
164182
interrupts = <20>;
165183

166184
clocks = <&cgu JZ4740_CLK_DMA>;
167-
168-
/* Disable dmac until we have something that uses it */
169-
status = "disabled";
170185
};
171186

172187
uhc: uhc@13030000 {

0 commit comments

Comments
 (0)