1/* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_mcxn94x.dtsi> 10#include "frdm_mcxn947.dtsi" 11 12/ { 13 model = "NXP FRDM_N94 board"; 14 compatible = "nxp,mcxn947", "nxp,mcx"; 15 16 cpus { 17 /delete-node/ cpu@1; 18 }; 19 20 chosen { 21 zephyr,sram = &sram0; 22 zephyr,flash = &flash; 23 zephyr,flash-controller = &fmu; 24 zephyr,code-partition = &slot0_partition; 25 zephyr,console = &flexcomm4_lpuart4; 26 zephyr,shell-uart = &flexcomm4_lpuart4; 27 zephyr,canbus = &flexcan0; 28 }; 29 30 aliases{ 31 watchdog0 = &wwdt0; 32 pwm-0 = &flexpwm1_pwm0; 33 }; 34}; 35 36/* 37 * Default for this board is to allocate SRAM0-5 to cpu0 but the 38 * application can have an application specific device tree to 39 * allocate the SRAM0-7 differently. 40 * 41 * For example, SRAM0-6 could be allocated to cpu0 with only SRAM7 42 * for cpu1. This would require the value of sram0 to have a DT_SIZE_K 43 * of 384. You would have to make updates to cpu1 sram settings as well. 44 */ 45&sram0 { 46 compatible = "mmio-sram"; 47 reg = <0x20000000 DT_SIZE_K(320)>; 48}; 49 50&gpio4 { 51 status = "okay"; 52}; 53 54&gpio1 { 55 status = "okay"; 56}; 57 58&gpio0 { 59 status = "okay"; 60}; 61 62&gpio2 { 63 status = "okay"; 64}; 65 66&green_led { 67 status = "okay"; 68}; 69 70&red_led { 71 status = "okay"; 72}; 73 74&user_button_2 { 75 status = "okay"; 76}; 77 78&edma0 { 79 status = "okay"; 80}; 81 82&flexcomm1 { 83 status = "okay"; 84}; 85 86&flexcomm1_lpspi1 { 87 status = "okay"; 88}; 89 90&flexcomm2 { 91 status = "okay"; 92}; 93 94&flexcomm2_lpi2c2 { 95 status = "okay"; 96}; 97 98/* 99 *LPFLEXCOMM supports UART and I2C on the same instance, enable this for 100 * LFLEXCOMM2 101 */ 102&flexcomm2_lpuart2 { 103 status = "okay"; 104}; 105 106&flexcomm4 { 107 status = "okay"; 108}; 109 110&flexcomm4_lpuart4 { 111 status = "okay"; 112}; 113 114&flexspi { 115 status = "okay"; 116}; 117 118&w25q64jvssiq { 119 status = "okay"; 120}; 121 122&dac0 { 123 status = "okay"; 124}; 125 126&enet { 127 status = "okay"; 128}; 129 130&enet_mac { 131 status = "okay"; 132}; 133 134&enet_mdio { 135 status = "okay"; 136}; 137 138&wwdt0 { 139 status = "okay"; 140}; 141 142&flexpwm1_pwm0 { 143 status = "okay"; 144}; 145 146&flexcan0 { 147 status = "okay"; 148}; 149 150&ctimer0 { 151 status = "okay"; 152}; 153 154&usdhc0 { 155 status = "okay"; 156 sdmmc { 157 compatible = "zephyr,sdmmc-disk"; 158 status = "okay"; 159 }; 160}; 161 162&vref { 163 status = "okay"; 164}; 165 166&lpadc0 { 167 status = "okay"; 168}; 169 170zephyr_udc0: &usb1 { 171 status = "okay"; 172}; 173 174&lpcmp0 { 175 status = "okay"; 176}; 177 178&lptmr0 { 179 status = "okay"; 180}; 181 182&flexio0 { 183 status = "okay"; 184}; 185