1/*
2 * Copyright (c) 2020-2021 Microchip Technology Inc
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <microchip/mpfs.dtsi>
9#include <zephyr/dt-bindings/input/input-event-codes.h>
10#include <mem.h>
11
12/ {
13	model = "microchip,mpfs-icicle-kit";
14	compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs";
15	aliases {
16		led0 = &led0;
17		sw0 = &sw0;
18		i2c0 = &i2c0;
19		i2c1 = &i2c1;
20	};
21
22	leds {
23		compatible = "gpio-leds";
24
25		led0: led0 {
26			gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
27			label = "LED_0";
28		};
29	};
30
31	keys {
32		compatible = "gpio-keys";
33		sw0: sw0 {
34			gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
35			label = "SW_0";
36			zephyr,code = <INPUT_KEY_0>;
37		};
38	};
39};
40
41&uart0 {
42	status = "okay";
43	current-speed = <115200>;
44	clock-frequency = <150000000>;
45};
46
47&qspi0 {
48	status = "okay";
49	qspi_flash: spi-nor-flash@0 {
50		compatible = "jedec,spi-nor";
51		reg = <0>;
52		spi-max-frequency = <5000000>;
53		size = <DT_SIZE_M(256)>;
54		jedec-id = [20 ba 19];
55	};
56};
57
58&spi1 {
59	status = "okay";
60};
61
62&syscontroller_qspi {
63	status = "okay";
64	sys_ctrl_flash: spi-nor-flash@0 {
65		compatible = "jedec,spi-nor";
66		reg = <0>;
67		spi-max-frequency = <5000000>;
68	};
69};
70
71&gpio2 {
72	status = "okay";
73};
74
75&i2c0 {
76	status = "okay";
77};
78
79&i2c1 {
80	status = "okay";
81};
82