|
1 | 1 | /*
|
2 |
| - * Copyright 2024 NXP |
| 2 | + * Copyright 2024, 2025 NXP |
3 | 3 | *
|
4 | 4 | * SPDX-License-Identifier: Apache-2.0
|
5 | 5 | */
|
6 | 6 |
|
7 | 7 | /dts-v1/;
|
8 | 8 |
|
| 9 | +#include <zephyr/dt-bindings/i2c/i2c.h> |
| 10 | +#include <zephyr/dt-bindings/gpio/gpio.h> |
| 11 | +#include <zephyr/dt-bindings/input/input-event-codes.h> |
| 12 | + |
9 | 13 | #include <nxp/nxp_imxrt700_hifi4.dtsi>
|
10 | 14 |
|
| 15 | +#include "mimxrt700_evk-pinctrl.dtsi" |
| 16 | + |
11 | 17 | / {
|
12 | 18 | model = "NXP MIMXRT700-EVK HiFi4 DSP";
|
13 | 19 | compatible = "nxp,mimxrt798s";
|
14 | 20 |
|
| 21 | + aliases { |
| 22 | + led1 = &blue_led; |
| 23 | + sw0 = &user_button_1; |
| 24 | + i2s-codec-tx = &sai0; |
| 25 | + i2s-tx = &sai0; |
| 26 | + }; |
| 27 | + |
15 | 28 | chosen {
|
16 |
| - zephyr,sram = &dtcm; |
| 29 | + zephyr,sram = &adsp_data; |
| 30 | + zephyr,console = &flexcomm0_lpuart0; |
| 31 | + zephyr,shell-uart = &flexcomm0_lpuart0; |
| 32 | + }; |
| 33 | + |
| 34 | + leds { |
| 35 | + compatible = "gpio-leds"; |
| 36 | + blue_led: led_1 { |
| 37 | + gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; |
| 38 | + label = "User LED_BLUE"; |
| 39 | + }; |
| 40 | + }; |
| 41 | + |
| 42 | + gpio_keys { |
| 43 | + compatible = "gpio-keys"; |
| 44 | + user_button_1: button_0 { |
| 45 | + label = "User SW5"; |
| 46 | + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
| 47 | + zephyr,code = <INPUT_KEY_0>; |
| 48 | + }; |
| 49 | + }; |
| 50 | +}; |
| 51 | + |
| 52 | +&gpio0 { |
| 53 | + status = "okay"; |
| 54 | +}; |
| 55 | + |
| 56 | +&flexcomm0 { |
| 57 | + status = "okay"; |
| 58 | +}; |
| 59 | + |
| 60 | +&flexcomm0_lpuart0 { |
| 61 | + status = "okay"; |
| 62 | + current-speed = <115200>; |
| 63 | + pinctrl-0 = <&pinmux_flexcomm0_lpuart>; |
| 64 | + pinctrl-names = "default"; |
| 65 | +}; |
| 66 | + |
| 67 | +&flexcomm2 { |
| 68 | + status = "okay"; |
| 69 | +}; |
| 70 | + |
| 71 | +&flexcomm2_lpi2c2 { |
| 72 | + status = "okay"; |
| 73 | + pinctrl-0 = <&pinmux_flexcomm2_i2c>; |
| 74 | + pinctrl-names = "default"; |
| 75 | + clock-frequency = <I2C_BITRATE_STANDARD>; |
| 76 | + #address-cells = <1>; |
| 77 | + #size-cells = <0>; |
| 78 | + |
| 79 | + audio_codec: wm8962@1a { |
| 80 | + compatible = "wolfson,wm8962"; |
| 81 | + reg = <0x1a>; |
| 82 | + clock-source = "MCLK"; |
| 83 | + clocks = <&clkctl0 MCUX_SAI0_CLK>; |
| 84 | + clock-names = "mclk"; |
17 | 85 | };
|
18 | 86 | };
|
| 87 | + |
| 88 | +&edma1 { |
| 89 | + status = "okay"; |
| 90 | +}; |
| 91 | + |
| 92 | +&sai0 { |
| 93 | + status = "okay"; |
| 94 | + pinctrl-0 = <&pinmux_sai0>; |
| 95 | + pinctrl-names = "default"; |
| 96 | + mclk-output; |
| 97 | +}; |
| 98 | + |
| 99 | +&mbox4 { |
| 100 | + status = "okay"; |
| 101 | +}; |
0 commit comments