2 * Hitex LPC4350 Evaluation Board
4 * Copyright 2015 Ariel D'Alessandro <ariel.dalessandro@gmail.com>
6 * This code is released using a dual license strategy: BSD/GPL
7 * You can choose the licence that better fits your requirements.
9 * Released under the terms of 3-clause BSD License
10 * Released under the terms of GNU General Public License Version 2.0
15 #include "lpc18xx.dtsi"
16 #include "lpc4350.dtsi"
18 #include "dt-bindings/input/input.h"
19 #include "dt-bindings/gpio/gpio.h"
22 model = "Hitex LPC4350 Evaluation Board";
23 compatible = "hitex,lpc4350-eval-board", "nxp,lpc4350";
37 device_type = "memory";
38 reg = <0x28000000 0x800000>; /* 8 MB */
42 compatible = "gpio-keys-polled";
43 poll-interval = <100>;
48 linux,code = <KEY_RIGHT>;
49 gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_UP>;
55 gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_ENTER>;
62 gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_LEFT>;
68 gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_DOWN>;
74 gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_F1>;
80 gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_F2>;
86 gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_F3>;
92 gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>;
97 compatible = "gpio-leds";
101 gpios = <&pca_gpio 0 GPIO_ACTIVE_LOW>;
102 linux,default-trigger = "heartbeat";
107 gpios = <&pca_gpio 1 GPIO_ACTIVE_LOW>;
112 gpios = <&pca_gpio 2 GPIO_ACTIVE_LOW>;
117 gpios = <&pca_gpio 3 GPIO_ACTIVE_LOW>;
122 compatible = "regulator-fixed";
123 regulator-name = "3v3io";
124 regulator-min-microvolt = <3300000>;
125 regulator-max-microvolt = <3300000>;
130 adc1_pins: adc1-pins {
141 pins = "p2_9", "p2_10", "p2_11", "p2_12",
142 "p2_13", "p1_0", "p1_1", "p1_2",
143 "p2_8", "p2_7", "p2_6", "p2_2",
144 "p2_1", "p2_0", "p6_8", "p6_7",
145 "pd_16", "pd_15", "pe_0", "pe_1",
146 "pe_2", "pe_3", "pe_4", "pa_4";
151 input-schmitt-disable;
155 pins = "p1_7", "p1_8", "p1_9", "p1_10",
156 "p1_11", "p1_12", "p1_13", "p1_14",
157 "p5_4", "p5_5", "p5_6", "p5_7",
158 "p5_0", "p5_1", "p5_2", "p5_3";
163 input-schmitt-disable;
167 pins = "p1_6", "p1_3";
172 input-schmitt-disable;
176 pins = "p1_4", "p6_6", "pd_13", "pd_10";
181 input-schmitt-disable;
185 pins = "p1_5", "pd_12";
190 input-schmitt-disable;
193 emc_sdram_dqm0_3_cfg {
194 pins = "p6_12", "p6_10", "pd_0", "pe_13";
199 input-schmitt-disable;
202 emc_sdram_ras_cas_cfg {
203 pins = "p6_5", "p6_4";
208 input-schmitt-disable;
211 emc_sdram_dycs0_cfg {
217 input-schmitt-disable;
226 input-schmitt-disable;
229 emc_sdram_clock_cfg {
230 pins = "clk0", "clk1", "clk2", "clk3";
235 input-schmitt-disable;
239 enet_mii_pins: enet-mii-pins {
240 enet_mii_rxd0_3_cfg {
241 pins = "p1_15", "p0_0", "p9_3", "p9_2";
247 enet_mii_txd0_3_cfg {
248 pins = "p1_18", "p1_20", "p9_4", "p9_5";
253 enet_mii_crs_col_cfg {
254 pins = "p9_0", "p9_6";
260 enet_mii_rx_clk_dv_er_cfg {
261 pins = "pc_0", "p1_16", "p9_1";
267 enet_mii_tx_clk_en_cfg {
268 pins = "p1_19", "p0_1";
288 i2c0_pins: i2c0-pins {
290 pins = "i2c0_scl", "i2c0_sda";
296 spifi_pins: spifi-pins {
303 input-schmitt-disable;
306 spifi_mosi_miso_sio2_3_cfg {
307 pins = "p3_7", "p3_6", "p3_5", "p3_4";
312 input-schmitt-disable;
321 input-schmitt-disable;
325 uart0_pins: uart0-pins {
329 input-schmitt-disable;
344 vref-supply = <&vcc>;
345 pinctrl-names = "default";
346 pinctrl-0 = <&adc1_pins>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&emc_pins>;
355 #address-cells = <2>;
360 mpmc,memory-width = <16>;
362 mpmc,write-enable-delay = <0>;
363 mpmc,output-enable-delay = <0>;
364 mpmc,read-access-delay = <70>;
365 mpmc,page-mode-read-delay = <70>;
368 compatible = "sst,sst39vf320", "cfi-flash";
369 reg = <0 0 0x400000>;
371 #address-cells = <1>;
375 label = "bootloader";
376 reg = <0x000000 0x040000>; /* 256 KiB */
381 reg = <0x040000 0x2C0000>; /* 2.75 MiB */
386 reg = <0x300000 0x100000>; /* 1 MiB */
392 #address-cells = <2>;
397 mpmc,memory-width = <16>;
399 mpmc,write-enable-delay = <0>;
400 mpmc,output-enable-delay = <30>;
401 mpmc,read-access-delay = <90>;
402 mpmc,page-mode-read-delay = <55>;
403 mpmc,write-access-delay = <55>;
404 mpmc,turn-round-delay = <55>;
407 compatible = "mmio-sram";
408 reg = <2 0 0x80000>; /* 512 KiB SRAM on IS62WV25616 */
414 clock-frequency = <25000000>;
419 pinctrl-names = "default";
420 pinctrl-0 = <&i2c0_pins>;
421 clock-frequency = <400000>;
423 /* NXP SE97BTP with temperature sensor + eeprom */
425 compatible = "nxp,se97", "jedec,jc-42.4-temp";
430 compatible = "nxp,24c02", "atmel,24c02";
435 compatible = "nxp,pca9673";
445 pinctrl-names = "default";
446 pinctrl-0 = <&enet_mii_pins>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&spifi_pins>;
455 compatible = "jedec,spi-nor";
456 spi-rx-bus-width = <4>;
457 #address-cells = <1>;
461 label = "bootloader";
462 reg = <0x000000 0x040000>; /* 256 KiB */
467 reg = <0x040000 0x2c0000>; /* 2.75 MiB */
472 reg = <0x300000 0x500000>; /* 5 MiB */
479 pinctrl-names = "default";
480 pinctrl-0 = <&uart0_pins>;