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>;
163 i2c1_pins_default: i2c1-default {
173 pinctrl-names = "default", "snfi";
174 pinctrl-0 = <&snor_pins>;
175 pinctrl-1 = <&snfi_pins>;
179 compatible = "jedec,spi-nor";
186 pinctrl-names = "default";
187 pinctrl-0 = <&snor_pins>;
191 compatible = "jedec,spi-nor";
193 spi-tx-bus-width = <1>;
194 spi-rx-bus-width = <4>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&mmc0_pins_default>;
208 max-frequency = <50000000>;
210 vmmc-supply = <®_3p3v>;
211 vqmmc-supply = <®_3p3v>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&mmc1_pins_default>;
220 max-frequency = <50000000>;
223 vmmc-supply = <®_3p3v>;
224 vqmmc-supply = <®_3p3v>;
228 pinctrl-names = "default";
229 pinctrl-0 = <&watchdog_pins>;
235 mediatek,gmac-id = <0>;
236 phy-mode = "2500base-x";
237 mediatek,switch = "mt7531";
238 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&i2c1_pins_default>;