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>;
51 snfi_pins: snfi-pins {
58 snor_pins: snor-pins {
68 groups = "uart0_0_tx_rx" ;
72 watchdog_pins: watchdog-default {
74 function = "watchdog";
79 mmc0_pins_default: mmc0default {
85 /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
86 * "NRB","NCLE" pins are used as DAT0,DAT1,DAT2,DAT3,DAT4,
87 * DAT5,DAT6,DAT7,CMD,CLK for eMMC respectively
90 pins = "NDL0", "NDL1", "NDL2",
91 "NDL3", "NDL4", "NDL5",
92 "NDL6", "NDL7", "NRB";
104 mmc1_pins_default: mmc1default {
109 /* "I2S2_OUT, "I2S4_IN"", "I2S3_IN", "I2S2_IN",
110 * "I2S4_OUT", "I2S3_OUT" are used as DAT0, DAT1,
111 * DAT2, DAT3, CMD, CLK for SD respectively.
114 pins = "I2S2_OUT", "I2S4_IN", "I2S3_IN",
115 "I2S2_IN","I2S4_OUT";
117 drive-strength = <8>;
122 drive-strength = <12>;
134 pinctrl-names = "default", "snfi";
135 pinctrl-0 = <&snor_pins>;
136 pinctrl-1 = <&snfi_pins>;
140 compatible = "jedec,spi-nor";
147 pinctrl-names = "default";
148 pinctrl-0 = <&uart0_pins>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&mmc0_pins_default>;
157 max-frequency = <50000000>;
159 vmmc-supply = <®_3p3v>;
160 vqmmc-supply = <®_3p3v>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&mmc1_pins_default>;
169 max-frequency = <50000000>;
172 vmmc-supply = <®_3p3v>;
173 vqmmc-supply = <®_3p3v>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&watchdog_pins>;
184 mediatek,gmac-id = <0>;
186 mediatek,switch = "mt7531";
187 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;