1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2019 MediaTek Inc.
4 * Author: Ryder Lee <ryder.lee@mediatek.com>
8 #include <dt-bindings/input/input.h>
12 model = "MediaTek MT7629 reference board";
13 compatible = "mediatek,mt7629-rfb", "mediatek,mt7629";
20 stdout-path = "serial0:115200n8";
24 compatible = "gpio-keys";
28 linux,code = <KEY_RESTART>;
29 gpios = <&pio 60 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&pio 58 GPIO_ACTIVE_LOW>;
40 device_type = "memory";
41 reg = <0 0x40000000 0 0x10000000>;
44 reg_3p3v: regulator-3p3v {
45 compatible = "regulator-fixed";
46 regulator-name = "fixed-3.3V";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
53 reg_5v: regulator-5v {
54 compatible = "regulator-fixed";
55 regulator-name = "fixed-5V";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
63 compatible = "mediatek,rtk-gsw";
64 mediatek,ethsys = <ðsys>;
65 mediatek,mdio = <&mdio>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&ephy_leds_pins>;
76 compatible = "mediatek,eth-mac";
87 compatible = "mediatek,eth-mac";
96 phy0: ethernet-phy@0 {
104 pinctrl-names = "default";
105 pinctrl-0 = <&i2c_pins>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&qspi_pins>;
115 compatible = "jedec,spi-nor";
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x00000 0x60000>;
130 label = "u-boot-env";
131 reg = <0x60000 0x10000>;
135 factory: partition@70000 {
137 reg = <0x70000 0x40000>;
143 reg = <0xb0000 0xb50000>;
157 ephy_leds_pins: ephy-leds-pins {
160 groups = "gphy_leds_0", "ephy_leds";
171 pins = "I2C_SDA", "I2C_SCL";
172 drive-strength = <4>;
177 pcie_pins: pcie-pins {
180 groups = "pcie_clkreq",
193 /* Serial NAND is shared pin with SPI-NOR */
194 serial_nand_pins: serial-nand-pins {
208 /* SPI-NOR is shared pin with serial NAND */
209 qspi_pins: qspi-pins {
216 uart0_pins: uart0-pins {
219 groups = "uart0_txd_rxd" ;
223 uart1_pins: uart1-pins {
226 groups = "uart1_0_tx_rx" ;
230 uart2_pins: uart2-pins {
233 groups = "uart2_0_txd_rxd" ;
237 watchdog_pins: watchdog-pins {
239 function = "watchdog";
244 wmac0_pins: wmac0-pins {
248 drive-strength = <4>;
252 wmac1_pins: wmac0-pins {
256 drive-strength = <4>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&spi_pins>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&uart0_pins>;
274 vusb33-supply = <®_3p3v>;
275 vbus-supply = <®_5v>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&watchdog_pins>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&wmac0_pins>;
292 pinctrl-1 = <&wmac1_pins>;