boards: arm: nxp: imxrt: Fix SPI nodes on flexspi controller
Fix the QSPI and hyperflash nodes to be proper SPI children and expose the address range for direct access as part of the controller's reg region. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
e57a596a0c
commit
d3e27f518f
6 changed files with 24 additions and 19 deletions
|
@ -27,7 +27,7 @@
|
|||
#if defined(CONFIG_CODE_ITCM)
|
||||
zephyr,flash = &itcm0;
|
||||
#elif defined(CONFIG_CODE_QSPI)
|
||||
zephyr,flash = &qspi0;
|
||||
zephyr,flash = &is25wp064;
|
||||
#endif
|
||||
zephyr,sram = &dtcm0;
|
||||
zephyr,console = &uart1;
|
||||
|
@ -58,9 +58,10 @@
|
|||
};
|
||||
|
||||
&flexspi0 {
|
||||
qspi0: qspi@60000000 {
|
||||
/* ISSI IS25LP064A-JBLE */
|
||||
reg = <0x60000000 0x800000>;
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -63,9 +63,10 @@
|
|||
arduino_serial: &uart3 {};
|
||||
|
||||
&flexspi0 {
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x4000000>;
|
||||
hyperflash0: hyperflash@0 {
|
||||
/* Cypress S26KS512SDPBHI02 */
|
||||
reg = <0x60000000 0x4000000>;
|
||||
compatible = "cypress,s26ks512s";
|
||||
reg = <0>;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#if defined(CONFIG_CODE_ITCM)
|
||||
zephyr,flash = &itcm0;
|
||||
#elif defined(CONFIG_CODE_QSPI)
|
||||
zephyr,flash = &qspi0;
|
||||
zephyr,flash = &is25wp064;
|
||||
#endif
|
||||
};
|
||||
};
|
||||
|
@ -19,9 +19,10 @@
|
|||
/delete-node/ &hyperflash0;
|
||||
|
||||
&flexspi0 {
|
||||
qspi0: qspi@0 {
|
||||
/* ISSI IS25WP064AJBLE */
|
||||
reg = <0x60000000 0x800000>;
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#if defined(CONFIG_CODE_ITCM)
|
||||
zephyr,flash = &itcm0;
|
||||
#elif defined(CONFIG_CODE_QSPI)
|
||||
zephyr,flash = &qspi0;
|
||||
zephyr,flash = &is25wp064;
|
||||
#endif
|
||||
zephyr,sram = &dtcm0;
|
||||
zephyr,console = &uart1;
|
||||
|
@ -58,9 +58,10 @@
|
|||
};
|
||||
|
||||
&flexspi0 {
|
||||
qspi0: qspi@60000000 {
|
||||
/* ISSI IS25WP064AJBLE */
|
||||
reg = <0x60000000 0x800000>;
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -16,11 +16,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
/delete-node/ &qspi0;
|
||||
/delete-node/ &is25wp064;
|
||||
&flexspi0 {
|
||||
hyperflash0: hyperflash@60000000 {
|
||||
/* Cypress S26KS512SDPBHI02 */
|
||||
reg = <0x60000000 0x4000000>;
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x4000000>;
|
||||
hyperflash0: hyperflash@0 {
|
||||
compatible = "cypress,s26ks512s";
|
||||
reg = <0>;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
interrupts = <108 0>;
|
||||
label = "FLEXSPI0";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
semc0: semc0@402f0000 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue