zephyr/dts/arm/nxp/nxp_lpc55S6x.dtsi
Daniel DeGrasse a52f399623 dts: arm: nxp_lpc55s6x: disable flash controller for nonsecure targets
disable flash controller for nonsecure core, as only the secure core is
tested with flash support.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-08-25 08:26:53 -05:00

37 lines
643 B
Plaintext

/*
* Copyright (c) 2019, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <arm/armv8-m.dtsi>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
soc {
sram: sram@14000000 {
ranges = <0x4000000 0x14000000 0x20000000>;
};
peripheral: peripheral@50000000 {
ranges = <0x0 0x50000000 0x10000000>;
iap: flash-controller@34000 {
ranges = <0x0 0x10000000 0x3020000>;
};
};
};
};
#include "nxp_lpc55S6x_common.dtsi"
/*
* Explicitly enable IAP after we include the common LPC55S6X dtsi file,
* which will set it to disabled.
*/
&iap {
status = "okay";
};