2017-08-03 21:35:35 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, NXP
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2018-05-16 02:47:24 +08:00
|
|
|
#include <nxp/nxp_lpc54xxx_m4.dtsi>
|
2018-10-29 05:25:39 +08:00
|
|
|
#include "lpcxpresso54114.dtsi"
|
2017-08-03 21:35:35 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP LPCXpresso54114 board";
|
|
|
|
compatible = "nxp,lpc54xxx", "nxp,lpc";
|
|
|
|
|
2019-01-15 15:55:17 +08:00
|
|
|
aliases{
|
|
|
|
sw0 = &user_button_1;
|
|
|
|
sw1 = &user_button_2;
|
|
|
|
sw2 = &user_button_3;
|
|
|
|
};
|
|
|
|
|
2017-08-03 21:35:35 +08:00
|
|
|
chosen {
|
2018-05-16 03:20:20 +08:00
|
|
|
zephyr,sram = &sram0;
|
2017-08-03 21:35:35 +08:00
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &usart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &usart0;
|
2017-08-03 21:35:35 +08:00
|
|
|
};
|
2019-01-15 15:55:17 +08:00
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
user_button_1: button_0 {
|
|
|
|
label = "User SW1";
|
|
|
|
gpios = <&gpio0 24 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
user_button_2: button_1 {
|
|
|
|
label = "User SW2";
|
|
|
|
gpios = <&gpio0 31 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
user_button_3: button_2 {
|
|
|
|
label = "User SW3";
|
|
|
|
gpios = <&gpio0 4 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2017-08-03 21:35:35 +08:00
|
|
|
};
|
|
|
|
|
2019-06-21 20:47:08 +08:00
|
|
|
&cpu0 {
|
|
|
|
clock-frequency = <48000000>;
|
|
|
|
};
|
|
|
|
|
2017-08-03 21:35:35 +08:00
|
|
|
&usart0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2017-08-03 21:35:35 +08:00
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
2018-02-08 04:03:25 +08:00
|
|
|
|
|
|
|
&mailbox0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-02-08 04:03:25 +08:00
|
|
|
};
|
2018-10-29 05:25:39 +08:00
|
|
|
|
|
|
|
&red_led {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-10-29 05:25:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&green_led {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-10-29 05:25:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&blue_led {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-10-29 05:25:39 +08:00
|
|
|
};
|