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 {
23		reg = <0 0x40000000 0 0x40000000>;
24	};
25};
26
27&uart0 {
28	status = "okay";
29};
30
31&uart1 {
32	pinctrl-names = "default";
33	pinctrl-0 = <&uart1_pins>;
34	status = "okay";
35};
36
37&uart2 {
38	pinctrl-names = "default";
39	pinctrl-0 = <&uart2_pins>;
40	status = "okay";
41};
42
43&pio {
44	uart1_pins: uart1-pins {
45		mux {
46			function = "uart";
47			groups = "uart1";
48		};
49	};
50
51	uart2_pins: uart2-pins {
52		mux {
53			function = "uart";
54			groups = "uart2";
55		};
56	};
57};
58