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>;
62 poll-interval = <100>;
67 linux,code = <KEY_ENTER>;
68 gpios = <&gpio LPC_GPIO(4,8) GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_LEFT>;
74 gpios = <&gpio LPC_GPIO(4,9) GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_UP>;
80 gpios = <&gpio LPC_GPIO(4,10) GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RIGHT>;
86 gpios = <&gpio LPC_GPIO(4,12) GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_DOWN>;
92 gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
97 compatible = "gpio-leds";
100 gpios = <&mmio_leds 15 GPIO_ACTIVE_HIGH>;
101 linux,default-trigger = "heartbeat";
105 gpios = <&mmio_leds 14 GPIO_ACTIVE_HIGH>;
109 gpios = <&mmio_leds 13 GPIO_ACTIVE_HIGH>;
113 gpios = <&mmio_leds 12 GPIO_ACTIVE_HIGH>;
117 gpios = <&mmio_leds 11 GPIO_ACTIVE_HIGH>;
121 gpios = <&mmio_leds 10 GPIO_ACTIVE_HIGH>;
125 gpios = <&mmio_leds 9 GPIO_ACTIVE_HIGH>;
129 gpios = <&mmio_leds 8 GPIO_ACTIVE_HIGH>;
133 gpios = <&mmio_leds 7 GPIO_ACTIVE_HIGH>;
137 gpios = <&mmio_leds 6 GPIO_ACTIVE_HIGH>;
141 gpios = <&mmio_leds 5 GPIO_ACTIVE_HIGH>;
145 gpios = <&mmio_leds 4 GPIO_ACTIVE_HIGH>;
149 gpios = <&mmio_leds 3 GPIO_ACTIVE_HIGH>;
153 gpios = <&mmio_leds 2 GPIO_ACTIVE_HIGH>;
157 gpios = <&mmio_leds 1 GPIO_ACTIVE_HIGH>;
161 gpios = <&mmio_leds 0 GPIO_ACTIVE_HIGH>;
169 pins = "p2_9", "p2_10", "p2_11", "p2_12",
170 "p2_13", "p1_0", "p1_1", "p1_2",
171 "p2_8", "p2_7", "p2_6", "p2_2",
172 "p2_1", "p2_0", "p6_8", "p6_7",
173 "pd_16", "pd_15", "pe_0", "pe_1",
174 "pe_2", "pe_3", "pe_4", "pa_4";
179 input-schmitt-disable;
183 pins = "p1_7", "p1_8", "p1_9", "p1_10",
184 "p1_11", "p1_12", "p1_13", "p1_14",
185 "p5_4", "p5_5", "p5_6", "p5_7",
186 "p5_0", "p5_1", "p5_2", "p5_3",
187 "pd_2", "pd_3", "pd_4", "pd_5",
188 "pd_6", "pd_7", "pd_8", "pd_9",
189 "pe_5", "pe_6", "pe_7", "pe_8",
190 "pe_9", "pe_10", "pe_11", "pe_12";
195 input-schmitt-disable;
199 pins = "p1_6", "p1_3";
204 input-schmitt-disable;
208 pins = "p1_4", "p6_6", "pd_13", "pd_10";
213 input-schmitt-disable;
217 pins = "p1_5", "p6_3", "pd_12", "pd_11";
222 input-schmitt-disable;
225 emc_sdram_dqm0_3_cfg {
226 pins = "p6_12", "p6_10", "pd_0", "pe_13";
231 input-schmitt-disable;
234 emc_sdram_ras_cas_cfg {
235 pins = "p6_5", "p6_4";
240 input-schmitt-disable;
243 emc_sdram_dycs0_cfg {
249 input-schmitt-disable;
258 input-schmitt-disable;
261 emc_sdram_clock_cfg {
262 pins = "clk0", "clk1", "clk2", "clk3";
267 input-schmitt-disable;
271 enet_rmii_pins: enet-rmii-pins {
273 pins = "p1_15", "p0_0";
278 input-schmitt-disable;
282 pins = "p1_18", "p1_20";
287 input-schmitt-disable;
290 enet_rmii_rx_dv_cfg {
295 input-schmitt-disable;
298 enet_rmii_tx_en_cfg {
303 input-schmitt-disable;
312 input-schmitt-disable;
320 input-schmitt-disable;
329 input-schmitt-disable;
333 gpio_joystick_pins: gpio-joystick-pins {
335 pins = "p9_0", "p9_1", "pa_1", "pa_2", "pa_3";
342 i2c0_pins: i2c0-pins {
344 pins = "i2c0_scl", "i2c0_sda";
350 sdmmc_pins: sdmmc-pins {
358 sdmmc_cmd_dat0_3_cfg {
359 pins = "pc_4", "pc_5", "pc_6", "pc_7", "pc_10";
364 input-schmitt-disable;
381 spifi_pins: spifi-pins {
388 input-schmitt-disable;
391 spifi_mosi_miso_sio2_3_cfg {
392 pins = "p3_7", "p3_6", "p3_5", "p3_4";
397 input-schmitt-disable;
407 ssp0_pins: ssp0-pins {
409 pins = "pf_0", "pf_2", "pf_3";
414 input-schmitt-disable;
424 uart0_pins: uart0-pins {
428 input-schmitt-disable;
440 uart3_pins: uart3-pins {
444 input-schmitt-disable;
456 usb0_pins: usb0-pins {
473 vref-supply = <&vcc>;
478 pinctrl-names = "default";
479 pinctrl-0 = <&i2c0_pins>;
480 clock-frequency = <400000>;
483 compatible = "fsl,mma7455";
488 compatible = "nxp,lm75";
493 compatible = "microchip,24c64", "atmel,24c64";
500 vref-supply = <&vcc>;
505 pinctrl-names = "default";
506 pinctrl-0 = <&emc_pins>;
509 #address-cells = <2>;
514 mpmc,memory-width = <16>;
516 mpmc,write-enable-delay = <0>;
517 mpmc,output-enable-delay = <0>;
518 mpmc,read-access-delay = <70>;
519 mpmc,page-mode-read-delay = <70>;
522 compatible = "sst,sst39vf320", "cfi-flash";
523 reg = <0 0 0x400000>;
525 #address-cells = <1>;
529 label = "bootloader";
530 reg = <0x000000 0x040000>; /* 256 KiB */
535 reg = <0x040000 0x2c0000>; /* 2.75 MiB */
540 reg = <0x300000 0x100000>; /* 1 MiB */
546 #address-cells = <2>;
551 mpmc,memory-width = <16>;
553 mmio_leds: gpio@2,0 {
554 compatible = "ti,7416374";
564 clock-frequency = <50000000>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&enet_rmii_pins>;
577 vmmc-supply = <&vmmc>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&sdmmc_pins>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&spifi_pins>;
588 compatible = "jedec,spi-nor";
591 spi-rx-bus-width = <4>;
592 #address-cells = <1>;
604 pinctrl-names = "default";
605 pinctrl-0 = <&ssp0_pins>;
611 pinctrl-names = "default";
612 pinctrl-0 = <&uart0_pins>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&uart3_pins>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&usb0_pins>;