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 */
41 /* vmmc is controlled by sdmmc host internally */
43 compatible = "regulator-fixed";
44 regulator-name = "vmmc-supply";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
50 compatible = "gpio-keys-polled";
51 pinctrl-names = "default";
52 pinctrl-0 = <&gpio_joystick_pins>;
55 poll-interval = <100>;
60 linux,code = <KEY_ENTER>;
61 gpios = <&gpio LPC_GPIO(4,8) GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_LEFT>;
67 gpios = <&gpio LPC_GPIO(4,9) GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_UP>;
73 gpios = <&gpio LPC_GPIO(4,10) GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RIGHT>;
79 gpios = <&gpio LPC_GPIO(4,12) GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_DOWN>;
85 gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
91 enet_rmii_pins: enet-rmii-pins {
93 pins = "p1_15", "p0_0";
98 input-schmitt-disable;
102 pins = "p1_18", "p1_20";
107 input-schmitt-disable;
110 enet_rmii_rx_dv_cfg {
115 input-schmitt-disable;
118 enet_rmii_tx_en_cfg {
123 input-schmitt-disable;
132 input-schmitt-disable;
140 input-schmitt-disable;
149 input-schmitt-disable;
153 gpio_joystick_pins: gpio-joystick-pins {
155 pins = "p9_0", "p9_1", "pa_1", "pa_2", "pa_3";
162 sdmmc_pins: sdmmc-pins {
170 sdmmc_cmd_dat0_3_cfg {
171 pins = "pc_4", "pc_5", "pc_6", "pc_7", "pc_10";
176 input-schmitt-disable;
193 uart0_pins: uart0-pins {
197 input-schmitt-disable;
209 uart3_pins: uart3-pins {
213 input-schmitt-disable;
227 clock-frequency = <50000000>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&enet_rmii_pins>;
240 vmmc-supply = <&vmmc>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&sdmmc_pins>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&uart0_pins>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&uart3_pins>;