blob: 6ff36daa6e7e5029b03d3feea4e91bf0e5cd6d5f [file] [log] [blame]
developer7305b4c2020-04-21 09:28:49 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2020 MediaTek Inc.
4 *
5 * Author: Weijie Gao <weijie.gao@mediatek.com>
6 */
7
8/dts-v1/;
9
10#include "mt7628a.dtsi"
11
12/ {
13 compatible = "mediatek,mt7628-rfb", "ralink,mt7628a-soc";
14 model = "MediaTek MT7628 RFB";
15
16 aliases {
17 serial0 = &uart0;
18 spi0 = &spi0;
19 };
20
21 chosen {
22 stdout-path = &uart0;
23 };
24};
25
26&pinctrl {
27 state_default: pin_state {
28 pleds {
29 groups = "p0led", "p1led", "p2led", "p3led", "p4led";
30 function = "led";
31 };
32 };
33};
34
35&uart0 {
36 status = "okay";
37};
38
39&spi0 {
40 status = "okay";
41 num-cs = <2>;
42
43 spi-flash@0 {
44 #address-cells = <1>;
45 #size-cells = <1>;
46 compatible = "jedec,spi-nor";
47 spi-max-frequency = <25000000>;
48 reg = <0>;
49 };
50};
51
52&eth {
53 mediatek,wan-port = <0>;
54
55 pinctrl-names = "default";
56 pinctrl-0 = <&ephy_router_mode>;
57};
58
59&mmc {
60 bus-width = <4>;
61 cap-sd-highspeed;
62
63 pinctrl-names = "default";
64 pinctrl-0 = <&sd_router_mode>;
65
66 status = "okay";
67};