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 compatible = "mediatek,mt753x";
41 mediatek,ethsys = <ðsys>;
47 device_type = "memory";
48 reg = <0 0x40000000 0 0x10000000>;
51 reg_3p3v: regulator-3p3v {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-3.3V";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
60 reg_5v: regulator-5v {
61 compatible = "regulator-fixed";
62 regulator-name = "fixed-5V";
63 regulator-min-microvolt = <5000000>;
64 regulator-max-microvolt = <5000000>;
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 mediatek,mdio = <&mdio>;
105 mediatek,portmap = "llllw";
106 mediatek,mdio_master_pinmux = <0>;
107 reset-gpios = <&pio 28 0>;
108 interrupt-parent = <&pio>;
109 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
113 compatible = "mediatek,mt753x-port";
124 pinctrl-names = "default";
125 pinctrl-0 = <&i2c_pins>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&qspi_pins>;
135 compatible = "jedec,spi-nor";
139 compatible = "fixed-partitions";
140 #address-cells = <1>;
145 reg = <0x00000 0x60000>;
150 label = "u-boot-env";
151 reg = <0x60000 0x10000>;
155 factory: partition@70000 {
157 reg = <0x70000 0x40000>;
163 reg = <0xb0000 0xb50000>;
177 ephy_leds_pins: ephy-leds-pins {
180 groups = "gphy_leds_0", "ephy_leds";
191 pins = "I2C_SDA", "I2C_SCL";
192 drive-strength = <4>;
197 pcie_pins: pcie-pins {
200 groups = "pcie_clkreq",
213 /* Serial NAND is shared pin with SPI-NOR */
214 serial_nand_pins: serial-nand-pins {
228 /* SPI-NOR is shared pin with serial NAND */
229 qspi_pins: qspi-pins {
236 uart0_pins: uart0-pins {
239 groups = "uart0_txd_rxd" ;
243 uart1_pins: uart1-pins {
246 groups = "uart1_0_tx_rx" ;
250 uart2_pins: uart2-pins {
253 groups = "uart2_0_txd_rxd" ;
257 watchdog_pins: watchdog-pins {
259 function = "watchdog";
264 wmac0_pins: wmac0-pins {
268 drive-strength = <4>;
272 wmac1_pins: wmac0-pins {
276 drive-strength = <4>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&spi_pins>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&uart0_pins>;
294 vusb33-supply = <®_3p3v>;
295 vbus-supply = <®_5v>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&watchdog_pins>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&wmac0_pins>;
312 pinctrl-1 = <&wmac1_pins>;