2021-10-26 10:24:20 -05:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, NXP
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <nxp/nxp_rt11xx.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
/delete-node/ cpu@1;
|
|
|
|
};
|
|
|
|
/*
|
|
|
|
* ITCM & DTCM are available only to the M7 core. EDMA interrupts are connected
|
|
|
|
* to the M7 core alone, hence this EDMA controller has been designated M7 only.
|
|
|
|
* GPIO 6 is available to both M4 and M7 cores, however the GPIO interrupt is
|
|
|
|
* only accesssible to the M7.
|
|
|
|
*
|
|
|
|
* Refer to Chapter 3 of the Reference Manual
|
|
|
|
*/
|
|
|
|
soc {
|
2022-01-19 22:59:23 +08:00
|
|
|
/delete-node/ dma-controller@40c14000;
|
|
|
|
|
2021-10-26 10:24:20 -05:00
|
|
|
flexram: flexram@40028000 {
|
|
|
|
reg = <0x40028000 0x4000>;
|
|
|
|
interrupts = <50 0>;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
itcm: itcm@0 {
|
2022-01-20 17:51:06 +01:00
|
|
|
compatible = "zephyr,memory-region", "nxp,imx-itcm";
|
2021-10-26 10:24:20 -05:00
|
|
|
reg = <0x00000000 DT_SIZE_K(256)>;
|
2022-01-10 18:19:18 -06:00
|
|
|
zephyr,memory-region = "ITCM";
|
2021-10-26 10:24:20 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
dtcm: dtcm@20000000 {
|
2022-01-20 17:51:06 +01:00
|
|
|
compatible = "zephyr,memory-region", "nxp,imx-dtcm";
|
2021-10-26 10:24:20 -05:00
|
|
|
reg = <0x20000000 DT_SIZE_K(256)>;
|
2022-01-10 18:19:18 -06:00
|
|
|
zephyr,memory-region = "DTCM";
|
2021-10-26 10:24:20 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* M7 uses different addresses from the M4 core for GPIO2 and
|
|
|
|
* GPIO3, see pg. 1460 of RT1160 ref manual for example
|
|
|
|
*/
|
|
|
|
gpio2: gpio@42008000 {
|
|
|
|
compatible = "nxp,imx-gpio";
|
|
|
|
reg = <0x42008000 0x4000>;
|
|
|
|
interrupts = <102 0>, <103 0>;
|
|
|
|
label = "GPIO_2";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio3: gpio@4200c000 {
|
|
|
|
compatible = "nxp,imx-gpio";
|
|
|
|
reg = <0x4200c000 0x4000>;
|
|
|
|
interrupts = <104 0>, <105 0>;
|
|
|
|
label = "GPIO_3";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
2022-01-19 22:59:23 +08:00
|
|
|
sai1: sai@40404000 {
|
|
|
|
dmas = <&edma0 0 54>, <&edma0 0 55>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
nxp,tx-dma-channel = <0>;
|
|
|
|
nxp,rx-dma-channel = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sai2: sai@40408000 {
|
|
|
|
dmas = <&edma0 0 56>, <&edma0 0 57>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
nxp,tx-dma-channel = <3>;
|
|
|
|
nxp,rx-dma-channel = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sai3: sai@4040c000 {
|
|
|
|
dmas = <&edma0 0 58>, <&edma0 0 59>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
nxp,tx-dma-channel = <5>;
|
|
|
|
nxp,rx-dma-channel = <6>;
|
|
|
|
};
|
|
|
|
|
2022-02-02 21:46:24 -06:00
|
|
|
sai4: sai@40c40000 {
|
2022-01-19 22:59:23 +08:00
|
|
|
dmas = <&edma0 0 60>, <&edma0 0 61>;
|
|
|
|
dma-names = "rx", "tx";
|
|
|
|
nxp,tx-dma-channel = <7>;
|
|
|
|
nxp,rx-dma-channel = <8>;
|
2021-10-26 10:24:20 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio6 {
|
|
|
|
interrupts = <61 0>, <62 0>;
|
|
|
|
};
|
2021-12-07 18:24:16 -06:00
|
|
|
|
|
|
|
/* Set default power states for CM7 cpu */
|
|
|
|
&cpu0 {
|
|
|
|
cpu-power-states = <&idle &suspend>;
|
|
|
|
};
|