1/*
2 * Copyright (c) 2020 Henrik Brix Andersen <henrik@brixandersen.dk>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&daplink_gpio0 {
8	status = "okay";
9};
10
11&daplink_qspi_mux {
12	status = "okay";
13};
14
15&flash0 {
16	/*
17	* Disable the on-board flash until the jedec,spi-nor driver supports
18	* multiple instances.
19	*/
20	status = "disabled";
21};
22
23&daplink_quad_spi0 {
24	status = "okay";
25
26	daplink_flash0_v2c_daplink: flash@0 {
27		compatible = "spansion,s25fl128s", "jedec,spi-nor";
28		reg = <0>;
29		spi-max-frequency = <80000000>;
30		size = <DT_SIZE_M(128)>;
31		jedec-id = [01 20 18];
32	};
33};
34
35&daplink_single_spi0 {
36	status = "okay";
37
38	sdhc0_v2c_daplink: sdhc@0 {
39		compatible = "zephyr,sdhc-spi-slot";
40		reg = <0>;
41		spi-max-frequency = <25000000>;
42		mmc {
43			compatible = "zephyr,sdmmc-disk";
44			status = "okay";
45		};
46	};
47};
48