blob: 281914ed015136c57cb65d1039136899726bfd12 [file] [log] [blame]
Jon Hunter678fac42013-01-11 16:39:22 +00001/*
2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8/dts-v1/;
9
Florian Vaussard98ef79572013-05-31 14:32:55 +020010#include "omap34xx.dtsi"
Jon Hunter678fac42013-01-11 16:39:22 +000011
12/ {
13 model = "TI OMAP3430 SDP";
14 compatible = "ti,omap3430-sdp", "ti,omap3";
15
16 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x10000000>; /* 256 MB */
19 };
20};
21
22&i2c1 {
23 clock-frequency = <2600000>;
24
25 twl: twl@48 {
26 reg = <0x48>;
27 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
28 };
29};
30
Florian Vaussard98ef79572013-05-31 14:32:55 +020031#include "twl4030.dtsi"
Kevin Hilmanf9688452013-05-31 14:09:34 -070032#include "twl4030_omap3.dtsi"
Jon Hunter678fac42013-01-11 16:39:22 +000033
34&mmc1 {
35 vmmc-supply = <&vmmc1>;
36 vmmc_aux-supply = <&vsim>;
37 bus-width = <8>;
38};
39
40&mmc2 {
41 status = "disabled";
42};
43
44&mmc3 {
45 status = "disabled";
46};
47
48&gpmc {
Jon Hunter1fac4ff2013-04-07 20:17:08 -050049 ranges = <0 0 0x10000000 0x08000000>,
50 <1 0 0x28000000 0x08000000>,
Jon Hunter678fac42013-01-11 16:39:22 +000051 <2 0 0x20000000 0x10000000>;
52
Jon Hunter1fac4ff2013-04-07 20:17:08 -050053 nor@0,0 {
54 compatible = "cfi-flash";
55 linux,mtd-name= "intel,pf48f6000m0y1be";
56 #address-cells = <1>;
57 #size-cells = <1>;
58 reg = <0 0 0x08000000>;
59 bank-width = <2>;
60
61 gpmc,mux-add-data = <2>;
62 gpmc,cs-on-ns = <0>;
63 gpmc,cs-rd-off-ns = <186>;
64 gpmc,cs-wr-off-ns = <186>;
65 gpmc,adv-on-ns = <12>;
66 gpmc,adv-rd-off-ns = <48>;
67 gpmc,adv-wr-off-ns = <48>;
68 gpmc,oe-on-ns = <54>;
69 gpmc,oe-off-ns = <168>;
70 gpmc,we-on-ns = <54>;
71 gpmc,we-off-ns = <168>;
72 gpmc,rd-cycle-ns = <186>;
73 gpmc,wr-cycle-ns = <186>;
74 gpmc,access-ns = <114>;
75 gpmc,page-burst-access-ns = <6>;
76 gpmc,bus-turnaround-ns = <12>;
77 gpmc,cycle2cycle-delay-ns = <18>;
78 gpmc,wr-data-mux-bus-ns = <90>;
79 gpmc,wr-access-ns = <186>;
80 gpmc,cycle2cycle-samecsen;
81 gpmc,cycle2cycle-diffcsen;
82
83 partition@0 {
84 label = "bootloader-nor";
85 reg = <0 0x40000>;
86 };
Lee Jonesee8530b2013-07-22 11:52:35 +010087 partition@40000 {
Jon Hunter1fac4ff2013-04-07 20:17:08 -050088 label = "params-nor";
89 reg = <0x40000 0x40000>;
90 };
Lee Jonesee8530b2013-07-22 11:52:35 +010091 partition@80000 {
Jon Hunter1fac4ff2013-04-07 20:17:08 -050092 label = "kernel-nor";
93 reg = <0x80000 0x200000>;
94 };
Lee Jonesee8530b2013-07-22 11:52:35 +010095 partition@280000 {
Jon Hunter1fac4ff2013-04-07 20:17:08 -050096 label = "filesystem-nor";
97 reg = <0x240000 0x7d80000>;
98 };
99 };
100
Jon Hunter678fac42013-01-11 16:39:22 +0000101 nand@1,0 {
102 linux,mtd-name= "micron,mt29f1g08abb";
103 #address-cells = <1>;
104 #size-cells = <1>;
105 reg = <1 0 0x08000000>;
106 nand-bus-width = <8>;
107
108 ti,nand-ecc-opt = "sw";
Jon Huntera6f3e582013-04-07 20:17:06 -0500109 gpmc,cs-on-ns = <0>;
110 gpmc,cs-rd-off-ns = <36>;
111 gpmc,cs-wr-off-ns = <36>;
112 gpmc,adv-on-ns = <6>;
113 gpmc,adv-rd-off-ns = <24>;
114 gpmc,adv-wr-off-ns = <36>;
115 gpmc,oe-on-ns = <6>;
116 gpmc,oe-off-ns = <48>;
117 gpmc,we-on-ns = <6>;
118 gpmc,we-off-ns = <30>;
119 gpmc,rd-cycle-ns = <72>;
120 gpmc,wr-cycle-ns = <72>;
121 gpmc,access-ns = <54>;
122 gpmc,wr-access-ns = <30>;
Jon Hunter678fac42013-01-11 16:39:22 +0000123
124 partition@0 {
125 label = "xloader-nand";
126 reg = <0 0x80000>;
127 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100128 partition@80000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000129 label = "bootloader-nand";
130 reg = <0x80000 0x140000>;
131 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100132 partition@1c0000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000133 label = "params-nand";
134 reg = <0x1c0000 0xc0000>;
135 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100136 partition@280000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000137 label = "kernel-nand";
138 reg = <0x280000 0x500000>;
139 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100140 partition@780000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000141 label = "filesystem-nand";
142 reg = <0x780000 0x7880000>;
143 };
144 };
145
146 onenand@2,0 {
147 linux,mtd-name= "samsung,kfm2g16q2m-deb8";
148 #address-cells = <1>;
149 #size-cells = <1>;
150 reg = <2 0 0x10000000>;
151
152 gpmc,device-width = <2>;
153 gpmc,mux-add-data = <2>;
Jon Huntera6f3e582013-04-07 20:17:06 -0500154 gpmc,cs-on-ns = <0>;
155 gpmc,cs-rd-off-ns = <84>;
156 gpmc,cs-wr-off-ns = <72>;
157 gpmc,adv-on-ns = <0>;
158 gpmc,adv-rd-off-ns = <18>;
159 gpmc,adv-wr-off-ns = <18>;
160 gpmc,oe-on-ns = <30>;
161 gpmc,oe-off-ns = <84>;
162 gpmc,we-on-ns = <0>;
163 gpmc,we-off-ns = <42>;
164 gpmc,rd-cycle-ns = <108>;
165 gpmc,wr-cycle-ns = <96>;
166 gpmc,access-ns = <78>;
167 gpmc,wr-data-mux-bus-ns = <30>;
Jon Hunter678fac42013-01-11 16:39:22 +0000168
169 partition@0 {
170 label = "xloader-onenand";
171 reg = <0 0x80000>;
172 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100173 partition@80000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000174 label = "bootloader-onenand";
175 reg = <0x80000 0x40000>;
176 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100177 partition@c0000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000178 label = "params-onenand";
179 reg = <0xc0000 0x20000>;
180 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100181 partition@e0000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000182 label = "kernel-onenand";
183 reg = <0xe0000 0x200000>;
184 };
Lee Jonesee8530b2013-07-22 11:52:35 +0100185 partition@2e0000 {
Jon Hunter678fac42013-01-11 16:39:22 +0000186 label = "filesystem-onenand";
187 reg = <0x2e0000 0xfd20000>;
188 };
189 };
190};