zephyr/boards/arm/mimxrt1060_evk/mimxrt1060_evk_hyperflash.dts
Kumar Gala d3e27f518f 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>
2019-01-11 13:12:18 -06:00

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";
};
};