Merge branch 'pm-cpufreq'
[linux-2.6-block.git] / arch / arm / boot / dts / lpc4350-hitex-eval.dts
CommitLineData
7dfc6358
AA
1/*
2 * Hitex LPC4350 Evaluation Board
3 *
4 * Copyright 2015 Ariel D'Alessandro <ariel.dalessandro@gmail.com>
5 *
6 * This code is released using a dual license strategy: BSD/GPL
7 * You can choose the licence that better fits your requirements.
8 *
9 * Released under the terms of 3-clause BSD License
10 * Released under the terms of GNU General Public License Version 2.0
11 *
12 */
13/dts-v1/;
14
15#include "lpc18xx.dtsi"
16#include "lpc4350.dtsi"
17
18/ {
19 model = "Hitex LPC4350 Evaluation Board";
20 compatible = "hitex,lpc4350-eval-board", "nxp,lpc4350";
21
22 aliases {
23 serial0 = &uart0;
24 serial1 = &uart1;
25 serial2 = &uart2;
26 serial3 = &uart3;
27 };
28
29 chosen {
30 stdout-path = &uart0;
31 };
32
33 memory {
34 device_type = "memory";
35 reg = <0x28000000 0x800000>; /* 8 MB */
36 };
37};
38
5e647200 39&pinctrl {
027b4a6d
JE
40 emc_pins: emc-pins {
41 emc_addr0_23_cfg {
42 pins = "p2_9", "p2_10", "p2_11", "p2_12",
43 "p2_13", "p1_0", "p1_1", "p1_2",
44 "p2_8", "p2_7", "p2_6", "p2_2",
45 "p2_1", "p2_0", "p6_8", "p6_7",
46 "pd_16", "pd_15", "pe_0", "pe_1",
47 "pe_2", "pe_3", "pe_4", "pa_4";
48 function = "emc";
49 slew-rate = <1>;
50 bias-disable;
51 input-enable;
52 input-schmitt-disable;
53 };
54
55 emc_data0_15_cfg {
56 pins = "p1_7", "p1_8", "p1_9", "p1_10",
57 "p1_11", "p1_12", "p1_13", "p1_14",
58 "p5_4", "p5_5", "p5_6", "p5_7",
59 "p5_0", "p5_1", "p5_2", "p5_3";
60 function = "emc";
61 slew-rate = <1>;
62 bias-disable;
63 input-enable;
64 input-schmitt-disable;
65 };
66
67 emc_we_oe_cfg {
68 pins = "p1_6", "p1_3";
69 function = "emc";
70 slew-rate = <1>;
71 bias-disable;
72 input-enable;
73 input-schmitt-disable;
74 };
75
76 emc_bls0_3_cfg {
77 pins = "p1_4", "p6_6", "pd_13", "pd_10";
78 function = "emc";
79 slew-rate = <1>;
80 bias-disable;
81 input-enable;
82 input-schmitt-disable;
83 };
84
85 emc_cs0_cs2_cfg {
86 pins = "p1_5", "pd_12";
87 function = "emc";
88 slew-rate = <1>;
89 bias-disable;
90 input-enable;
91 input-schmitt-disable;
92 };
93
94 emc_sdram_dqm0_3_cfg {
95 pins = "p6_12", "p6_10", "pd_0", "pe_13";
96 function = "emc";
97 slew-rate = <1>;
98 bias-disable;
99 input-enable;
100 input-schmitt-disable;
101 };
102
103 emc_sdram_ras_cas_cfg {
104 pins = "p6_5", "p6_4";
105 function = "emc";
106 slew-rate = <1>;
107 bias-disable;
108 input-enable;
109 input-schmitt-disable;
110 };
111
112 emc_sdram_dycs0_cfg {
113 pins = "p6_9";
114 function = "emc";
115 slew-rate = <1>;
116 bias-disable;
117 input-enable;
118 input-schmitt-disable;
119 };
120
121 emc_sdram_cke_cfg {
122 pins = "p6_11";
123 function = "emc";
124 slew-rate = <1>;
125 bias-disable;
126 input-enable;
127 input-schmitt-disable;
128 };
129
130 emc_sdram_clock_cfg {
131 pins = "clk0", "clk1", "clk2", "clk3";
132 function = "emc";
133 slew-rate = <1>;
134 bias-disable;
135 input-enable;
136 input-schmitt-disable;
137 };
138 };
139
aceacfa6
AA
140 enet_mii_pins: enet-mii-pins {
141 enet_mii_rxd0_3_cfg {
142 pins = "p1_15", "p0_0", "p9_3", "p9_2";
143 function = "enet";
144 bias-disable;
145 input-enable;
146 };
147
148 enet_mii_txd0_3_cfg {
149 pins = "p1_18", "p1_20", "p9_4", "p9_5";
150 function = "enet";
151 bias-disable;
152 };
153
154 enet_mii_crs_col_cfg {
155 pins = "p9_0", "p9_6";
156 function = "enet";
157 bias-disable;
158 input-enable;
159 };
160
161 enet_mii_rx_clk_dv_er_cfg {
162 pins = "pc_0", "p1_16", "p9_1";
163 function = "enet";
164 bias-disable;
165 input-enable;
166 };
167
168 enet_mii_tx_clk_en_cfg {
169 pins = "p1_19", "p0_1";
170 function = "enet";
171 bias-disable;
172 input-enable;
173 };
174
175 enet_mdio_cfg {
176 pins = "p1_17";
177 function = "enet";
178 bias-disable;
179 input-enable;
180 };
181
182 enet_mdc_cfg {
183 pins = "pc_1";
184 function = "enet";
185 bias-disable;
186 };
187 };
188
5e647200
AA
189 uart0_pins: uart0-pins {
190 uart0_rx_cfg {
191 pins = "pf_11";
192 function = "uart0";
193 input-schmitt-disable;
194 bias-disable;
195 input-enable;
196 };
197
198 uart0_tx_cfg {
199 pins = "pf_10";
200 function = "uart0";
201 bias-pull-down;
202 };
203 };
204};
205
027b4a6d
JE
206&emc {
207 status = "okay";
208 pinctrl-names = "default";
209 pinctrl-0 = <&emc_pins>;
210
211 cs0 {
212 #address-cells = <2>;
213 #size-cells = <1>;
214 ranges;
215
216 mpmc,cs = <0>;
217 mpmc,memory-width = <16>;
218 mpmc,byte-lane-low;
219 mpmc,write-enable-delay = <0>;
220 mpmc,output-enable-delay = <0>;
221 mpmc,read-access-delay = <70>;
222 mpmc,page-mode-read-delay = <70>;
223
224 flash@0,0 {
225 compatible = "sst,sst39vf320", "cfi-flash";
226 reg = <0 0 0x400000>;
227 bank-width = <2>;
228 #address-cells = <1>;
229 #size-cells = <1>;
230
231 partition@0 {
232 label = "bootloader";
233 reg = <0x000000 0x040000>; /* 256 KiB */
234 };
235
236 partition@1 {
237 label = "kernel";
238 reg = <0x040000 0x2C0000>; /* 2.75 MiB */
239 };
240
241 partition@2 {
242 label = "rootfs";
243 reg = <0x300000 0x100000>; /* 1 MiB */
244 };
245 };
246 };
247
248 cs2 {
249 #address-cells = <2>;
250 #size-cells = <1>;
251 ranges;
252
253 mpmc,cs = <2>;
254 mpmc,memory-width = <16>;
255 mpmc,byte-lane-low;
256 mpmc,write-enable-delay = <0>;
257 mpmc,output-enable-delay = <30>;
258 mpmc,read-access-delay = <90>;
259 mpmc,page-mode-read-delay = <55>;
260 mpmc,write-access-delay = <55>;
261 mpmc,turn-round-delay = <55>;
262
263 ext_sram: sram@2,0 {
264 compatible = "mmio-sram";
265 reg = <2 0 0x80000>; /* 512 KiB SRAM on IS62WV25616 */
266 };
267 };
268};
269
aceacfa6
AA
270&enet_tx_clk {
271 clock-frequency = <25000000>;
272};
273
274&mac {
275 status = "okay";
276 phy-mode = "mii";
277 pinctrl-names = "default";
278 pinctrl-0 = <&enet_mii_pins>;
279};
280
7dfc6358
AA
281&uart0 {
282 status = "okay";
5e647200
AA
283 pinctrl-names = "default";
284 pinctrl-0 = <&uart0_pins>;
7dfc6358 285};