1/*
2 * Copyright (c) 2020 Lemonbeat GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <mem.h>
8#include <arm/armv8-m.dtsi>
9#include <zephyr/dt-bindings/gpio/gpio.h>
10#include <zephyr/dt-bindings/i2c/i2c.h>
11
12/ {
13	soc {
14		sram: sram@400000 {
15			ranges = <0x4000000 0x4000000 0x20000000>;
16		};
17
18		peripheral: peripheral@40000000 {
19			ranges = <0x0 0x40000000 0x10000000>;
20
21			iap: flash-controller@34000 {
22				ranges = <0x0 0x10000000 0x3020000>;
23			};
24		};
25	};
26};
27
28#include "nxp_lpc55S2x_common.dtsi"
29
30/*
31 * Explicitly enable IAP after we include the common LPC55S6X dtsi file,
32 * which will set it to disabled.
33 */
34&iap {
35	status = "okay";
36};
37