aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKumar, Anil <anilkumar.v@ti.com>2013-01-16 04:07:41 -0500
committerSekhar Nori <nsekhar@ti.com>2013-01-21 07:27:07 -0500
commit99b8800ca8dd6690defc3edca8cc7e43ef63fe84 (patch)
tree37cdf14e6e7b68c472b7d1f5c9adf8de6cb40535 /arch/arm
parent1faaba3dd763f6abe8778f7ef8c40b4f4fee5384 (diff)
ARM: davinci: da850: add NAND driver DT entries
Add NAND driver DT node and related pinctrl DT data to export NAND functionality on da850 evm. Signed-off-by: Kumar, Anil <anilkumar.v@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/da850-evm.dts5
-rw-r--r--arch/arm/boot/dts/da850.dtsi30
2 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index 087ba28285d2..98c1a48d5797 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -28,4 +28,9 @@
28 status = "okay"; 28 status = "okay";
29 }; 29 };
30 }; 30 };
31 nand_cs3@62000000 {
32 status = "okay";
33 pinctrl-names = "default";
34 pinctrl-0 = <&nand_cs3_pins>;
35 };
31}; 36};
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index f74740d0994b..25510989cf40 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -38,6 +38,23 @@
38 pinctrl-single,register-width = <32>; 38 pinctrl-single,register-width = <32>;
39 pinctrl-single,function-mask = <0xffffffff>; 39 pinctrl-single,function-mask = <0xffffffff>;
40 status = "disabled"; 40 status = "disabled";
41
42 nand_cs3_pins: pinmux_nand_pins {
43 pinctrl-single,bits = <
44 /* EMA_OE, EMA_WE */
45 0x1c 0x00110000 0x00ff0000
46 /* EMA_CS[4],EMA_CS[3]*/
47 0x1c 0x00000110 0x00000ff0
48 /*
49 * EMA_D[0], EMA_D[1], EMA_D[2],
50 * EMA_D[3], EMA_D[4], EMA_D[5],
51 * EMA_D[6], EMA_D[7]
52 */
53 0x24 0x11111111 0xffffffff
54 /* EMA_A[1], EMA_A[2] */
55 0x30 0x01100000 0x0ff00000
56 >;
57 };
41 }; 58 };
42 serial0: serial@1c42000 { 59 serial0: serial@1c42000 {
43 compatible = "ns16550a"; 60 compatible = "ns16550a";
@@ -67,4 +84,17 @@
67 status = "disabled"; 84 status = "disabled";
68 }; 85 };
69 }; 86 };
87 nand_cs3@62000000 {
88 compatible = "ti,davinci-nand";
89 reg = <0x62000000 0x807ff
90 0x68000000 0x8000>;
91 ti,davinci-chipselect = <1>;
92 ti,davinci-mask-ale = <0>;
93 ti,davinci-mask-cle = <0>;
94 ti,davinci-mask-chipsel = <0>;
95 ti,davinci-ecc-mode = "hw";
96 ti,davinci-ecc-bits = <4>;
97 ti,davinci-nand-use-bbt;
98 status = "disabled";
99 };
70}; 100};