zephyr/boards/arm/lpcxpresso54114/lpcxpresso54114_m4.dts

70 lines
1.0 KiB
Plaintext
Raw Normal View History

/*
* Copyright (c) 2017, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_lpc54xxx_m4.dtsi>
#include "lpcxpresso54114.dtsi"
/ {
model = "NXP LPCXpresso54114 board";
compatible = "nxp,lpc54xxx", "nxp,lpc";
aliases{
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &usart0;
zephyr,shell-uart = &usart0;
};
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>;
};
};
};
&cpu0 {
clock-frequency = <48000000>;
};
&usart0 {
status = "okay";
current-speed = <115200>;
};
&mailbox0 {
status = "okay";
};
&red_led {
status = "okay";
};
&green_led {
status = "okay";
};
&blue_led {
status = "okay";
};