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 = <0x40000000 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>;
64 pinctrl-names = "default";
65 pinctrl-0 = <ð_pins>;
66 pinctrl-1 = <&ephy_leds_pins>;
70 compatible = "mediatek,eth-mac";
72 phy-mode = "2500base-x";
81 compatible = "mediatek,eth-mac";
91 phy0: ethernet-phy@0 {
98 pinctrl-names = "default";
99 pinctrl-0 = <&i2c_pins>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&qspi_pins>;
109 compatible = "jedec,spi-nor";
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
119 reg = <0x00000 0x60000>;
124 label = "u-boot-env";
125 reg = <0x60000 0x10000>;
129 factory: partition@70000 {
131 reg = <0x70000 0x40000>;
137 reg = <0xb0000 0xb50000>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pcie_pins>;
160 ephy_leds_pins: ephy-leds-pins {
163 groups = "gphy_leds_0", "ephy_leds";
174 pins = "I2C_SDA", "I2C_SCL";
175 drive-strength = <4>;
180 pcie_pins: pcie-pins {
183 groups = "pcie_clkreq",
196 /* SPI-NOR is shared pin with serial NAND */
197 qspi_pins: qspi-pins {
204 /* Serial NAND is shared pin with SPI-NOR */
205 serial_nand_pins: serial-nand-pins {
219 uart0_pins: uart0-pins {
222 groups = "uart0_txd_rxd" ;
226 uart1_pins: uart1-pins {
229 groups = "uart1_0_tx_rx" ;
233 uart2_pins: uart2-pins {
236 groups = "uart2_0_txd_rxd" ;
240 watchdog_pins: watchdog-pins {
242 function = "watchdog";
249 pinctrl-names = "default";
250 pinctrl-0 = <&spi_pins>;
255 vusb33-supply = <®_3p3v>;
256 vbus-supply = <®_5v>;
265 pinctrl-names = "default";
266 pinctrl-0 = <&uart0_pins>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&watchdog_pins>;