Enables the mcux ethernet driver and pin muxes on the mimxrt1024_evk board in the same way as is done on the mimxrt1020_evk and mimxrt1050_evk. Documentation updated accordingly. Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@prevas.dk>
93 lines
1.5 KiB
Text
93 lines
1.5 KiB
Text
/*
|
|
* Copyright (c) 2020, NXP
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <nxp/nxp_rt1024.dtsi>
|
|
|
|
/ {
|
|
model = "NXP MIMXRT1024-EVK board";
|
|
compatible = "nxp,mimxrt1024";
|
|
|
|
aliases {
|
|
led0 = &green_led;
|
|
sw0 = &user_button;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,flash-controller = &flexspi;
|
|
zephyr,flash = &is25wp032;
|
|
zephyr,code-partition = &slot0_partition;
|
|
zephyr,sram = &sdram0;
|
|
zephyr,itcm = &itcm;
|
|
zephyr,dtcm = &dtcm;
|
|
zephyr,console = &lpuart1;
|
|
zephyr,shell-uart = &lpuart1;
|
|
};
|
|
|
|
sdram0: memory@80000000 {
|
|
/* ISSI IS42S16160J-6TLI */
|
|
device_type = "memory";
|
|
reg = <0x80000000 DT_SIZE_M(32)>;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
green_led: led-1 {
|
|
gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
|
|
label = "User LD1";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button-1 {
|
|
label = "User SW4";
|
|
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&is25wp032 {
|
|
status = "okay";
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "mcuboot";
|
|
reg = <0x00000000 DT_SIZE_K(64)>;
|
|
};
|
|
|
|
slot0_partition: partition@10000 {
|
|
label = "image-0";
|
|
reg = <0x00010000 DT_SIZE_K(1984)>;
|
|
};
|
|
|
|
slot1_partition: partition@200000 {
|
|
label = "image-1";
|
|
reg = <0x00200000 DT_SIZE_K(1984)>;
|
|
};
|
|
|
|
scratch_partition: partition@3f0000 {
|
|
label = "image-scratch";
|
|
reg = <0x003f0000 DT_SIZE_K(64)>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&enet {
|
|
status = "okay";
|
|
ptp {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&lpuart1 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|