blob: f154aae1904f2197ec3588aa06d3a0722e6105de [file] [log] [blame]
Stefan Roeseb02f76a2018-08-16 15:27:30 +02001// 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 {
Stefan Roeseb02f76a2018-08-16 15:27:30 +020025 stdout-path = &uart2;
26 };
27};
28
Weijie Gaocff0b042019-09-25 17:45:36 +080029&pinctrl {
30 state_default: pin_state {
31 p0led {
32 groups = "p0led_a";
33 function = "led";
34 };
35 };
36};
37
Stefan Roeseb02f76a2018-08-16 15:27:30 +020038&uart2 {
39 status = "okay";
Stefan Roeseb02f76a2018-08-16 15:27:30 +020040};
41
42&spi0 {
43 status = "okay";
44 num-cs = <2>;
45
46 spi-flash@0 {
47 #address-cells = <1>;
48 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000049 compatible = "jedec,spi-nor";
Stefan Roeseb02f76a2018-08-16 15:27:30 +020050 spi-max-frequency = <25000000>;
51 reg = <0>;
52 };
53};
Weijie Gaocff0b042019-09-25 17:45:36 +080054
55&eth {
Weijie Gao4e2ccca2019-09-25 17:45:41 +080056 pinctrl-names = "default";
57 pinctrl-0 = <&ephy_iot_mode>;
Weijie Gaocff0b042019-09-25 17:45:36 +080058 mediatek,poll-link-phy = <0>;
59};