2 * Embedded Artist LPC4357 Developer's Kit
4 * Copyright 2015 Joachim Eastwood <manabian@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 "lpc4357.dtsi"
18 #include "dt-bindings/input/input.h"
19 #include "dt-bindings/gpio/gpio.h"
22 model = "Embedded Artists' LPC4357 Developer's Kit";
23 compatible = "ea,lpc4357-developers-kit", "nxp,lpc4357", "nxp,lpc4350";
37 device_type = "memory";
38 reg = <0x28000000 0x2000000>; /* 32 MB */
42 compatible = "regulator-fixed";
43 regulator-name = "3v3-supply";
44 regulator-min-microvolt = <3300000>;
45 regulator-max-microvolt = <3300000>;
48 /* vmmc is controlled by sdmmc host internally */
50 compatible = "regulator-fixed";
51 regulator-name = "vmmc-supply";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
57 compatible = "gpio-keys-polled";
58 pinctrl-names = "default";
59 pinctrl-0 = <&gpio_joystick_pins>;
60 poll-interval = <100>;
65 linux,code = <KEY_ENTER>;
66 gpios = <&gpio LPC_GPIO(4,8) GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_LEFT>;
72 gpios = <&gpio LPC_GPIO(4,9) GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_UP>;
78 gpios = <&gpio LPC_GPIO(4,10) GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RIGHT>;
84 gpios = <&gpio LPC_GPIO(4,12) GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_DOWN>;
90 gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
95 compatible = "gpio-leds";
98 gpios = <&mmio_leds 15 GPIO_ACTIVE_HIGH>;
99 linux,default-trigger = "heartbeat";
103 gpios = <&mmio_leds 14 GPIO_ACTIVE_HIGH>;
107 gpios = <&mmio_leds 13 GPIO_ACTIVE_HIGH>;
111 gpios = <&mmio_leds 12 GPIO_ACTIVE_HIGH>;
115 gpios = <&mmio_leds 11 GPIO_ACTIVE_HIGH>;
119 gpios = <&mmio_leds 10 GPIO_ACTIVE_HIGH>;
123 gpios = <&mmio_leds 9 GPIO_ACTIVE_HIGH>;
127 gpios = <&mmio_leds 8 GPIO_ACTIVE_HIGH>;
131 gpios = <&mmio_leds 7 GPIO_ACTIVE_HIGH>;
135 gpios = <&mmio_leds 6 GPIO_ACTIVE_HIGH>;
139 gpios = <&mmio_leds 5 GPIO_ACTIVE_HIGH>;
143 gpios = <&mmio_leds 4 GPIO_ACTIVE_HIGH>;
147 gpios = <&mmio_leds 3 GPIO_ACTIVE_HIGH>;
151 gpios = <&mmio_leds 2 GPIO_ACTIVE_HIGH>;
155 gpios = <&mmio_leds 1 GPIO_ACTIVE_HIGH>;
159 gpios = <&mmio_leds 0 GPIO_ACTIVE_HIGH>;
167 pins = "p2_9", "p2_10", "p2_11", "p2_12",
168 "p2_13", "p1_0", "p1_1", "p1_2",
169 "p2_8", "p2_7", "p2_6", "p2_2",
170 "p2_1", "p2_0", "p6_8", "p6_7",
171 "pd_16", "pd_15", "pe_0", "pe_1",
172 "pe_2", "pe_3", "pe_4", "pa_4";
177 input-schmitt-disable;
181 pins = "p1_7", "p1_8", "p1_9", "p1_10",
182 "p1_11", "p1_12", "p1_13", "p1_14",
183 "p5_4", "p5_5", "p5_6", "p5_7",
184 "p5_0", "p5_1", "p5_2", "p5_3",
185 "pd_2", "pd_3", "pd_4", "pd_5",
186 "pd_6", "pd_7", "pd_8", "pd_9",
187 "pe_5", "pe_6", "pe_7", "pe_8",
188 "pe_9", "pe_10", "pe_11", "pe_12";
193 input-schmitt-disable;
197 pins = "p1_6", "p1_3";
202 input-schmitt-disable;
206 pins = "p1_4", "p6_6", "pd_13", "pd_10";
211 input-schmitt-disable;
215 pins = "p1_5", "p6_3", "pd_12", "pd_11";
220 input-schmitt-disable;
223 emc_sdram_dqm0_3_cfg {
224 pins = "p6_12", "p6_10", "pd_0", "pe_13";
229 input-schmitt-disable;
232 emc_sdram_ras_cas_cfg {
233 pins = "p6_5", "p6_4";
238 input-schmitt-disable;
241 emc_sdram_dycs0_cfg {
247 input-schmitt-disable;
256 input-schmitt-disable;
259 emc_sdram_clock_cfg {
260 pins = "clk0", "clk1", "clk2", "clk3";
265 input-schmitt-disable;
269 enet_rmii_pins: enet-rmii-pins {
271 pins = "p1_15", "p0_0";
276 input-schmitt-disable;
280 pins = "p1_18", "p1_20";
285 input-schmitt-disable;
288 enet_rmii_rx_dv_cfg {
293 input-schmitt-disable;
296 enet_rmii_tx_en_cfg {
301 input-schmitt-disable;
310 input-schmitt-disable;
318 input-schmitt-disable;
327 input-schmitt-disable;
331 gpio_joystick_pins: gpio-joystick-pins {
333 pins = "p9_0", "p9_1", "pa_1", "pa_2", "pa_3";
340 i2c0_pins: i2c0-pins {
342 pins = "i2c0_scl", "i2c0_sda";
348 sdmmc_pins: sdmmc-pins {
356 sdmmc_cmd_dat0_3_cfg {
357 pins = "pc_4", "pc_5", "pc_6", "pc_7", "pc_10";
362 input-schmitt-disable;
379 spifi_pins: spifi-pins {
386 input-schmitt-disable;
389 spifi_mosi_miso_sio2_3_cfg {
390 pins = "p3_7", "p3_6", "p3_5", "p3_4";
395 input-schmitt-disable;
405 ssp0_pins: ssp0-pins {
407 pins = "pf_0", "pf_2", "pf_3";
412 input-schmitt-disable;
422 uart0_pins: uart0-pins {
426 input-schmitt-disable;
438 uart3_pins: uart3-pins {
442 input-schmitt-disable;
454 usb0_pins: usb0-pins {
471 vref-supply = <&vcc>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&i2c0_pins>;
478 clock-frequency = <400000>;
481 compatible = "fsl,mma7455";
486 compatible = "nxp,lm75";
491 compatible = "microchip,24c64", "atmel,24c64";
498 vref-supply = <&vcc>;
503 pinctrl-names = "default";
504 pinctrl-0 = <&emc_pins>;
507 #address-cells = <2>;
512 mpmc,memory-width = <16>;
514 mpmc,write-enable-delay = <0>;
515 mpmc,output-enable-delay = <0>;
516 mpmc,read-access-delay = <70>;
517 mpmc,page-mode-read-delay = <70>;
520 compatible = "sst,sst39vf320", "cfi-flash";
521 reg = <0 0 0x400000>;
523 #address-cells = <1>;
527 label = "bootloader";
528 reg = <0x000000 0x040000>; /* 256 KiB */
533 reg = <0x040000 0x2c0000>; /* 2.75 MiB */
538 reg = <0x300000 0x100000>; /* 1 MiB */
544 #address-cells = <2>;
549 mpmc,memory-width = <16>;
551 mmio_leds: gpio@2,0 {
552 compatible = "ti,7416374";
562 clock-frequency = <50000000>;
568 pinctrl-names = "default";
569 pinctrl-0 = <&enet_rmii_pins>;
575 vmmc-supply = <&vmmc>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&sdmmc_pins>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&spifi_pins>;
586 compatible = "jedec,spi-nor";
589 spi-rx-bus-width = <4>;
590 #address-cells = <1>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&ssp0_pins>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&uart0_pins>;
615 pinctrl-names = "default";
616 pinctrl-0 = <&uart3_pins>;
621 pinctrl-names = "default";
622 pinctrl-0 = <&usb0_pins>;