1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2021 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
5 */
6
7/dts-v1/;
8#include "mt7986a.dtsi"
9
10/ {
11	model = "MediaTek MT7986a RFB";
12	compatible = "mediatek,mt7986a-rfb";
13
14	aliases {
15		serial0 = &uart0;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21
22	memory@40000000 {
23		device_type = "memory";
24		reg = <0 0x40000000 0 0x40000000>;
25	};
26};
27
28&uart0 {
29	status = "okay";
30};
31
32&uart1 {
33	pinctrl-names = "default";
34	pinctrl-0 = <&uart1_pins>;
35	status = "okay";
36};
37
38&uart2 {
39	pinctrl-names = "default";
40	pinctrl-0 = <&uart2_pins>;
41	status = "okay";
42};
43
44&pio {
45	uart1_pins: uart1-pins {
46		mux {
47			function = "uart";
48			groups = "uart1";
49		};
50	};
51
52	uart2_pins: uart2-pins {
53		mux {
54			function = "uart";
55			groups = "uart2";
56		};
57	};
58};
59