soc: boards: arm: Refactor i.MX RT600 zephyr,flash usage
Refactors the i.MX RT600 SoC series to be more consistent with the i.MX RT10xx SoC series by choosing a child node (external flash device) of the FlexSPI bus for zephyr,flash. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
0eab654b13
commit
0082a1a6e5
2 changed files with 7 additions and 6 deletions
|
@ -22,17 +22,12 @@
|
|||
};
|
||||
|
||||
chosen {
|
||||
zephyr,flash = &mx25um51345g;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,console = &flexcomm0;
|
||||
zephyr,shell-uart = &flexcomm0;
|
||||
};
|
||||
|
||||
flash0: flash@18000000 {
|
||||
/* Octal flash MX25UM51345G */
|
||||
reg = <0x18000000 DT_SIZE_K(65536)>;
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
user_button_1: button_0 {
|
||||
|
|
|
@ -17,6 +17,12 @@ config NUM_IRQS
|
|||
config PM
|
||||
select CODE_DATA_RELOCATION_SRAM
|
||||
|
||||
config FLASH_SIZE
|
||||
default $(dt_node_reg_size_int,/soc/peripheral@50000000/spi@134000,1,K)
|
||||
|
||||
config FLASH_BASE_ADDRESS
|
||||
default $(dt_node_reg_addr_hex,/soc/peripheral@50000000/spi@134000,1)
|
||||
|
||||
source "soc/arm/nxp_imx/rt6xx/Kconfig.defconfig.mimxrt6*"
|
||||
|
||||
endif # SOC_SERIES_MIMXRT6XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue