dts: mimxrt1050_evk: Add external memory nodes
Adds flexspi and semc memory controllers to the i.MX RT SoC. Adds hyperflash, qspi, and sdram external memories to the mimxrt1050_evk board. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
55979aa3a5
commit
16399a6479
4 changed files with 112 additions and 0 deletions
|
@ -26,6 +26,26 @@
|
||||||
zephyr,sram = &dtcm0;
|
zephyr,sram = &dtcm0;
|
||||||
zephyr,console = &uart1;
|
zephyr,console = &uart1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sdram0: memory@80000000 {
|
||||||
|
/* Micron MT48LC16M16A2B4-6AIT:G */
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0x80000000 0x2000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&flexspi0 {
|
||||||
|
hyperflash0: hyperflash@0 {
|
||||||
|
/* Cypress S26KS512SDPBHI02 */
|
||||||
|
reg = <0x60000000 0x4000000>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
qspi0: qspi@0 {
|
||||||
|
/* ISSI IS25WP064AJBLE */
|
||||||
|
reg = <0x60000000 0x800000>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart1 {
|
&uart1 {
|
||||||
|
|
|
@ -41,6 +41,24 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flexspi0: flexspi0@402a8000 {
|
||||||
|
compatible = "nxp,imx-flexspi";
|
||||||
|
reg = <0x402a8000 0x4000>;
|
||||||
|
interrupts = <108 0>;
|
||||||
|
label = "FLEXSPI0";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
semc0: semc0@402f0000 {
|
||||||
|
compatible = "nxp,imx-semc";
|
||||||
|
reg = <0x402f0000 0x4000>;
|
||||||
|
interrupts = <109 0>;
|
||||||
|
label = "SEMC0";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
ccm: ccm@400fc000 {
|
ccm: ccm@400fc000 {
|
||||||
compatible = "nxp,imx-ccm";
|
compatible = "nxp,imx-ccm";
|
||||||
reg = <0x400fc000 0x4000>;
|
reg = <0x400fc000 0x4000>;
|
||||||
|
|
39
dts/bindings/memory-controllers/nxp,imx-semc.yaml
Normal file
39
dts/bindings/memory-controllers/nxp,imx-semc.yaml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018, NXP
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
---
|
||||||
|
title: NXP SEMC
|
||||||
|
id: nxp,imx-semc
|
||||||
|
version: 0.1
|
||||||
|
|
||||||
|
description: >
|
||||||
|
This binding gives a base representation of the NXP smart external memory
|
||||||
|
controller (SEMC)
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
type: string
|
||||||
|
category: required
|
||||||
|
description: compatible strings
|
||||||
|
constraint: "nxp,imx-semc"
|
||||||
|
|
||||||
|
reg:
|
||||||
|
type: array
|
||||||
|
description: mmio register space
|
||||||
|
generation: define
|
||||||
|
category: required
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
type: array
|
||||||
|
category: required
|
||||||
|
description: required interrupts
|
||||||
|
generation: define
|
||||||
|
|
||||||
|
label:
|
||||||
|
type: string
|
||||||
|
category: required
|
||||||
|
description: Human readable string describing the device (used by Zephyr for API name)
|
||||||
|
generation: define
|
||||||
|
...
|
35
dts/bindings/spi/nxp,imx-flexspi.yaml
Normal file
35
dts/bindings/spi/nxp,imx-flexspi.yaml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018, NXP
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
---
|
||||||
|
title: NXP FlexSPI
|
||||||
|
id: nxp,imx-flexspi
|
||||||
|
version: 0.1
|
||||||
|
|
||||||
|
description: >
|
||||||
|
This binding gives a base representation of the NXP FlexSPI controller
|
||||||
|
|
||||||
|
inherits:
|
||||||
|
!include spi.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
type: string
|
||||||
|
category: required
|
||||||
|
description: compatible strings
|
||||||
|
constraint: "nxp,imx-flexspi"
|
||||||
|
|
||||||
|
reg:
|
||||||
|
type: array
|
||||||
|
description: mmio register space
|
||||||
|
generation: define
|
||||||
|
category: required
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
type: array
|
||||||
|
category: required
|
||||||
|
description: required interrupts
|
||||||
|
generation: define
|
||||||
|
...
|
Loading…
Add table
Add a link
Reference in a new issue