2019-01-02 08:47:02 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018, NXP
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <nxp/nxp_rt.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP MIMXRT1020-EVK board";
|
|
|
|
compatible = "nxp,mimxrt1021";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
gpio-1= &gpio1;
|
|
|
|
gpio-2= &gpio2;
|
|
|
|
gpio-3= &gpio3;
|
|
|
|
gpio-4= &gpio4;
|
|
|
|
gpio-5= &gpio5;
|
|
|
|
uart-1 = &uart1;
|
|
|
|
led0 = &green_led;
|
|
|
|
sw0 = &user_button;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
#if defined(CONFIG_CODE_ITCM)
|
|
|
|
zephyr,flash = &itcm0;
|
|
|
|
#elif defined(CONFIG_CODE_QSPI)
|
2018-12-07 14:08:29 -06:00
|
|
|
zephyr,flash = &is25wp064;
|
2019-01-02 08:47:02 +08:00
|
|
|
#endif
|
|
|
|
zephyr,sram = &dtcm0;
|
|
|
|
zephyr,console = &uart1;
|
|
|
|
zephyr,shell-uart = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
sdram0: memory@80000000 {
|
|
|
|
/* ISSI IS42S16160J-6TLI */
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x2000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
green_led: led-1 {
|
|
|
|
gpios = <&gpio1 5 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
label = "User LD1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
user_button: button-1 {
|
|
|
|
label = "User SW8";
|
|
|
|
gpios = <&gpio5 0 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-01-14 15:14:37 -06:00
|
|
|
arduino_serial: &uart2 {};
|
|
|
|
|
2019-01-02 08:47:02 +08:00
|
|
|
&flexspi0 {
|
2018-12-07 14:08:29 -06:00
|
|
|
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
|
|
|
is25wp064: is25wp064@0 {
|
|
|
|
compatible = "issi,is25wp064", "jedec,spi-nor";
|
|
|
|
reg = <0>;
|
2019-01-02 08:47:02 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|