1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2019 MediaTek Inc.
4 * Author: Sam Shih <sam.shih@mediatek.com>
9 #include "mt7622-u-boot.dtsi"
15 compatible = "mediatek,mt7622", "mediatek,mt7622-rfb";
26 device_type = "memory";
27 reg = <0x40000000 0x10000000>;
30 reg_1p8v: regulator-1p8v {
31 compatible = "regulator-fixed";
32 regulator-name = "fixed-1.8V";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
39 reg_3p3v: regulator-3p3v {
40 compatible = "regulator-fixed";
41 regulator-name = "fixed-3.3V";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&pcie0_pins>, <&pcie1_pins>;
64 pcie0_pins: pcie0-pins {
67 groups = "pcie0_pad_perst",
73 pcie1_pins: pcie1-pins {
76 groups = "pcie1_pad_perst",
82 snfi_pins: snfi-pins {
89 snor_pins: snor-pins {
99 groups = "uart0_0_tx_rx" ;
103 watchdog_pins: watchdog-default {
105 function = "watchdog";
110 mmc0_pins_default: mmc0default {
116 /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
117 * "NRB","NCLE" pins are used as DAT0,DAT1,DAT2,DAT3,DAT4,
118 * DAT5,DAT6,DAT7,CMD,CLK for eMMC respectively
121 pins = "NDL0", "NDL1", "NDL2",
122 "NDL3", "NDL4", "NDL5",
123 "NDL6", "NDL7", "NRB";
135 mmc1_pins_default: mmc1default {
140 /* "I2S2_OUT, "I2S4_IN"", "I2S3_IN", "I2S2_IN",
141 * "I2S4_OUT", "I2S3_OUT" are used as DAT0, DAT1,
142 * DAT2, DAT3, CMD, CLK for SD respectively.
145 pins = "I2S2_OUT", "I2S4_IN", "I2S3_IN",
146 "I2S2_IN","I2S4_OUT";
148 drive-strength = <8>;
153 drive-strength = <12>;
165 pinctrl-names = "default", "snfi";
166 pinctrl-0 = <&snor_pins>;
167 pinctrl-1 = <&snfi_pins>;
171 compatible = "jedec,spi-nor";
178 pinctrl-names = "default";
179 pinctrl-0 = <&uart0_pins>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&mmc0_pins_default>;
188 max-frequency = <50000000>;
190 vmmc-supply = <®_3p3v>;
191 vqmmc-supply = <®_3p3v>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&mmc1_pins_default>;
200 max-frequency = <50000000>;
203 vmmc-supply = <®_3p3v>;
204 vqmmc-supply = <®_3p3v>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&watchdog_pins>;
215 mediatek,gmac-id = <0>;
217 mediatek,switch = "mt7531";
218 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;