| /* |
| * Copyright (c) 2021, NXP |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /dts-v1/; |
| |
| #include <nxp/nxp_rt1160_cm7.dtsi> |
| #include "mimxrt1160_evk.dtsi" |
| |
| / { |
| model = "NXP MIMXRT1160-EVK board"; |
| compatible = "nxp,mimxrt1166"; |
| |
| chosen { |
| zephyr,sram = &sdram0; |
| zephyr,dtcm = &dtcm; |
| zephyr,itcm = &itcm; |
| zephyr,console = &lpuart1; |
| zephyr,shell-uart = &lpuart1; |
| zephyr,canbus = &flexcan3; |
| zephyr,flash-controller = &is25wp128; |
| zephyr,flash = &is25wp128; |
| zephyr,code-partition = &slot0_partition; |
| }; |
| |
| sdram0: memory@80000000 { |
| /* Winbond W9825G6KH-5I */ |
| device_type = "memory"; |
| reg = <0x80000000 DT_SIZE_M(64)>; |
| }; |
| }; |
| |
| &lpuart1 { |
| status = "okay"; |
| current-speed = <115200>; |
| }; |
| |
| &flexcan3 { |
| status = "okay"; |
| bus-speed = <125000>; |
| |
| can-transceiver { |
| max-bitrate = <5000000>; |
| }; |
| }; |
| |
| &lpi2c1 { |
| status = "okay"; |
| }; |
| |
| &lpspi1 { |
| status = "okay"; |
| }; |
| |
| &flexspi { |
| status = "okay"; |
| ahb-prefetch; |
| ahb-read-addr-opt; |
| rx-clock-source = <1>; |
| reg = <0x400cc000 0x4000>, <0x30000000 DT_SIZE_M(16)>; |
| is25wp128: is25wp128@0 { |
| compatible = "nxp,imx-flexspi-nor"; |
| size = <134217728>; |
| label = "IS25WP128"; |
| reg = <0>; |
| spi-max-frequency = <133000000>; |
| status = "okay"; |
| jedec-id = [9d 70 17]; |
| erase-block-size = <4096>; |
| write-block-size = <1>; |
| |
| 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_M(3)>; |
| }; |
| slot1_partition: partition@310000 { |
| label = "image-1"; |
| reg = <0x00310000 DT_SIZE_M(3)>; |
| }; |
| scratch_partition: partition@610000 { |
| label = "image-scratch"; |
| reg = <0x00610000 DT_SIZE_K(128)>; |
| }; |
| storage_partition: partition@630000 { |
| label = "storage"; |
| reg = <0x00630000 DT_SIZE_K(1856)>; |
| }; |
| }; |
| }; |
| }; |
| |
| /* 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"; |
| }; |
| |
| &lpadc0 { |
| status = "okay"; |
| }; |
| |
| &wdog1 { |
| status = "okay"; |
| }; |
| |
| &edma0 { |
| status = "okay"; |
| }; |
| |
| &enet { |
| status = "okay"; |
| int-gpios = <&gpio9 11 GPIO_ACTIVE_HIGH>; |
| reset-gpios = <&gpio12 12 GPIO_ACTIVE_HIGH>; |
| ptp { |
| status = "okay"; |
| }; |
| }; |
| |
| zephyr_udc0: &usb1 { |
| status = "okay"; |
| }; |