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>
27 lines
453 B
Text
27 lines
453 B
Text
/*
|
|
* Copyright (c) 2018, NXP
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "mimxrt1060_evk.dts"
|
|
|
|
/ {
|
|
chosen {
|
|
#if defined(CONFIG_CODE_ITCM)
|
|
zephyr,flash = &itcm0;
|
|
#elif defined(CONFIG_CODE_HYPERFLASH)
|
|
zephyr,flash = &hyperflash0;
|
|
#endif
|
|
};
|
|
};
|
|
|
|
/delete-node/ &is25wp064;
|
|
&flexspi0 {
|
|
reg = <0x402a8000 0x4000>, <0x60000000 0x4000000>;
|
|
hyperflash0: hyperflash@0 {
|
|
compatible = "cypress,s26ks512s";
|
|
reg = <0>;
|
|
status = "ok";
|
|
};
|
|
};
|