1/*
2 * Copyright (c) 2020 Henrik Brix Andersen <henrik@brixandersen.dk>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/delete-node/ &itcm;
8
9/ {
10	chosen {
11		zephyr,flash = &daplink_flash0_v2c_daplink_cfg;
12	};
13
14	soc {
15		daplink_flash0_v2c_daplink_cfg: flash@0 {
16			compatible = "soc-nv-flash";
17			reg = <0x00000000 DT_SIZE_M(1)>;
18		};
19
20		itcm_v2c_daplink_cfg: memory@10000000 {
21			compatible = "arm,itcm";
22			reg = <0x10000000 DT_SIZE_K(64)>;
23		};
24	};
25};
26
27&daplink_single_spi0 {
28	status = "okay";
29
30	sdhc0_v2c_daplink_cfg: sdhc@0 {
31		compatible = "zephyr,sdhc-spi-slot";
32		reg = <0>;
33		spi-max-frequency = <25000000>;
34		mmc {
35			compatible = "zephyr,sdmmc-disk";
36			disk-name = "SD";
37			status = "okay";
38		};
39	};
40};
41