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"
14 model = "mt7622-bpi-r64";
15 compatible = "mediatek,mt7622", "mediatek,mt7622-rfb";
26 device_type = "memory";
27 reg = <0x40000000 0x40000000>;
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" ;
106 groups = "pwm_ch1_0" ;
110 watchdog_pins: watchdog-default {
112 function = "watchdog";
117 mmc0_pins_default: mmc0default {
123 /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
124 * "NRB","NCLE" pins are used as DAT0,DAT1,DAT2,DAT3,DAT4,
125 * DAT5,DAT6,DAT7,CMD,CLK for eMMC respectively
128 pins = "NDL0", "NDL1", "NDL2",
129 "NDL3", "NDL4", "NDL5",
130 "NDL6", "NDL7", "NRB";
142 mmc1_pins_default: mmc1default {
147 /* "I2S2_OUT, "I2S4_IN"", "I2S3_IN", "I2S2_IN",
148 * "I2S4_OUT", "I2S3_OUT" are used as DAT0, DAT1,
149 * DAT2, DAT3, CMD, CLK for SD respectively.
152 pins = "I2S2_OUT", "I2S4_IN", "I2S3_IN",
153 "I2S2_IN","I2S4_OUT";
155 drive-strength = <8>;
160 drive-strength = <12>;
172 pinctrl-names = "default", "snfi";
173 pinctrl-0 = <&snor_pins>;
174 pinctrl-1 = <&snfi_pins>;
178 compatible = "jedec,spi-nor";
185 pinctrl-names = "default";
186 pinctrl-0 = <&uart0_pins>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&pwm_pins>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&mmc0_pins_default>;
201 max-frequency = <50000000>;
203 vmmc-supply = <®_3p3v>;
204 vqmmc-supply = <®_3p3v>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&mmc1_pins_default>;
213 max-frequency = <50000000>;
216 vmmc-supply = <®_3p3v>;
217 vqmmc-supply = <®_3p3v>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&watchdog_pins>;
228 mediatek,gmac-id = <0>;
230 mediatek,switch = "mt7531";
231 reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;