developer | e20fe27 | 2022-05-20 11:22:26 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2022 MediaTek Inc. All rights reserved. |
| 4 | * |
| 5 | * Author: Weijie Gao <weijie.gao@mediatek.com> |
| 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "mt7621.dtsi" |
| 11 | |
| 12 | / { |
| 13 | compatible = "mediatek,mt7621-nand-rfb", "mediatek,mt7621-soc"; |
| 14 | model = "MediaTek MT7621 RFB (NAND)"; |
| 15 | |
| 16 | aliases { |
| 17 | serial0 = &uart0; |
| 18 | }; |
| 19 | |
| 20 | chosen { |
| 21 | stdout-path = &uart0; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | &pinctrl { |
| 26 | state_default: pin_state { |
| 27 | nand { |
| 28 | groups = "spi", "sdxc"; |
| 29 | function = "nand"; |
| 30 | }; |
| 31 | |
| 32 | gpios { |
| 33 | groups = "i2c", "uart3", "pcie reset"; |
| 34 | function = "gpio"; |
| 35 | }; |
| 36 | |
| 37 | wdt { |
| 38 | groups = "wdt"; |
| 39 | function = "wdt rst"; |
| 40 | }; |
| 41 | |
| 42 | jtag { |
| 43 | groups = "jtag"; |
| 44 | function = "jtag"; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | &uart0 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &gpio { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | ð { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &ssusb { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &u3phy { |
| 66 | status = "okay"; |
| 67 | }; |