Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | /* * 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; watchdog0 = &wdog0; }; 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; zephyr,canbus = &flexcan1; }; 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>; }; &flexcan1 { status = "okay"; bus-speed = <125000>; }; &wdog0 { status = "okay"; }; &lpi2c4 { status = "okay"; fxos8700: fxos8700@1f { compatible = "nxp,fxos8700"; reg = <0x1f>; label = "FXOS8700"; }; }; &edma0 { status = "okay"; }; &lpspi1 { status = "okay"; /* DMA channels 0 and 1, muxed to LPSPI1 RX and TX */ dmas = <&edma0 0 13>, <&edma0 1 14>; dma-names = "rx", "tx"; }; &adc1 { status = "okay"; }; /* Enable GPT for use as a hardware timer. This disables Cortex Systick. * to use systick, change this node from "gpt_hw_timer" to "systick" */ &gpt_hw_timer { status = "okay"; }; |