| // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| /* |
| * Copyright (C) 2021 MediaTek Inc. |
| * Author: Sam.Shih <sam.shih@mediatek.com> |
| */ |
| |
| /dts-v1/; |
| #include "mt7986a.dtsi" |
| |
| / { |
| model = "MediaTek MT7986a RFB"; |
| compatible = "mediatek,mt7986a-rfb"; |
| |
| aliases { |
| serial0 = &uart0; |
| }; |
| |
| chosen { |
| stdout-path = "serial0:115200n8"; |
| }; |
| |
| memory { |
| reg = <0 0x40000000 0 0x40000000>; |
| }; |
| }; |
| |
| &uart0 { |
| status = "okay"; |
| }; |
| |
| &uart1 { |
| pinctrl-names = "default"; |
| pinctrl-0 = <&uart1_pins>; |
| status = "okay"; |
| }; |
| |
| &uart2 { |
| pinctrl-names = "default"; |
| pinctrl-0 = <&uart2_pins>; |
| status = "okay"; |
| }; |
| |
| &pio { |
| uart1_pins: uart1-pins { |
| mux { |
| function = "uart"; |
| groups = "uart1"; |
| }; |
| }; |
| |
| uart2_pins: uart2-pins { |
| mux { |
| function = "uart"; |
| groups = "uart2"; |
| }; |
| }; |
| }; |