1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2018 Stefan Roese <sr@denx.de>
4 */
5
6/dts-v1/;
7
8#include "mt7628a.dtsi"
9
10/ {
11	compatible = "seeed,linkit-smart-7688", "ralink,mt7628a-soc";
12	model = "LinkIt-Smart-7688";
13
14	aliases {
15		serial0 = &uart2;
16		spi0 = &spi0;
17	};
18
19	memory@0 {
20		device_type = "memory";
21		reg = <0x0 0x08000000>;
22	};
23
24	chosen {
25		stdout-path = &uart2;
26	};
27};
28
29&pinctrl {
30	state_default: pin_state {
31		p0led {
32			groups = "p0led_a";
33			function = "led";
34		};
35	};
36};
37
38&uart2 {
39	status = "okay";
40};
41
42&spi0 {
43	status = "okay";
44	num-cs = <2>;
45
46	spi-flash@0 {
47		#address-cells = <1>;
48		#size-cells = <1>;
49		compatible = "jedec,spi-nor";
50		spi-max-frequency = <25000000>;
51		reg = <0>;
52	};
53};
54
55&eth {
56	pinctrl-names = "default";
57	pinctrl-0 = <&ephy_iot_mode>;
58	mediatek,poll-link-phy = <0>;
59};
60