Commit 88df4122 authored by Manjunathappa, Prakash's avatar Manjunathappa, Prakash Committed by Sekhar Nori

ARM: davinci: da850: add mmc DT entries

Add DT entry for MMC. Also add entry for pinmux information.
Tested:
1) Without GPIO card detection and EDMA support as DT support for
   GPIO and EDMA are yet come.
2) By creating/deleting files and mounting/unmounting the partition.
Signed-off-by: default avatarManjunathappa, Prakash <prakash.pm@ti.com>
Cc: linux-mmc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: davinci-linux-open-source@linux.davincidsp.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: cjb@laptop.org
Cc: Sekhar Nori <nsekhar@ti.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 7b43da4c
...@@ -43,6 +43,13 @@ tps: tps@48 { ...@@ -43,6 +43,13 @@ tps: tps@48 {
wdt: wdt@1c21000 { wdt: wdt@1c21000 {
status = "okay"; status = "okay";
}; };
mmc0: mmc@1c40000 {
max-frequency = <50000000>;
bus-width = <4>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
};
}; };
nand_cs3@62000000 { nand_cs3@62000000 {
status = "okay"; status = "okay";
......
...@@ -62,6 +62,15 @@ i2c0_pins: pinmux_i2c0_pins { ...@@ -62,6 +62,15 @@ i2c0_pins: pinmux_i2c0_pins {
0x10 0x00002200 0x0000ff00 0x10 0x00002200 0x0000ff00
>; >;
}; };
mmc0_pins: pinmux_mmc_pins {
pinctrl-single,bits = <
/* MMCSD0_DAT[3] MMCSD0_DAT[2]
* MMCSD0_DAT[1] MMCSD0_DAT[0]
* MMCSD0_CMD MMCSD0_CLK
*/
0x28 0x00222222 0x00ffffff
>;
};
}; };
serial0: serial@1c42000 { serial0: serial@1c42000 {
compatible = "ns16550a"; compatible = "ns16550a";
...@@ -107,6 +116,12 @@ wdt: wdt@1c21000 { ...@@ -107,6 +116,12 @@ wdt: wdt@1c21000 {
reg = <0x21000 0x1000>; reg = <0x21000 0x1000>;
status = "disabled"; status = "disabled";
}; };
mmc0: mmc@1c40000 {
compatible = "ti,da830-mmc";
reg = <0x40000 0x1000>;
interrupts = <16>;
status = "disabled";
};
}; };
nand_cs3@62000000 { nand_cs3@62000000 {
compatible = "ti,davinci-nand"; compatible = "ti,davinci-nand";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment