1 // SPDX-License-Identifier: GPL-2.0-only
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-lynx-rfb", "mediatek,mt7629";
20 stdout-path = "serial0:115200n8";
21 bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
25 compatible = "gpio-keys";
29 linux,code = <KEY_RESTART>;
30 gpios = <&pio 60 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&pio 58 GPIO_ACTIVE_LOW>;
41 compatible = "mediatek,mt753x";
42 mediatek,ethsys = <ðsys>;
48 device_type = "memory";
49 reg = <0 0x40000000 0 0x10000000>;
52 reg_3p3v: regulator-3p3v {
53 compatible = "regulator-fixed";
54 regulator-name = "fixed-3.3V";
55 regulator-min-microvolt = <3300000>;
56 regulator-max-microvolt = <3300000>;
61 reg_5v: regulator-5v {
62 compatible = "regulator-fixed";
63 regulator-name = "fixed-5V";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&ephy_leds_pins>;
77 compatible = "mediatek,eth-mac";
79 mtd-mac-address = <&factory 0x2a>;
89 compatible = "mediatek,eth-mac";
91 mtd-mac-address = <&factory 0x24>;
99 phy0: ethernet-phy@0 {
107 mediatek,mdio = <&mdio>;
108 mediatek,portmap = "llllw";
109 mediatek,mdio_master_pinmux = <0>;
110 reset-gpios = <&pio 28 0>;
111 interrupt-parent = <&pio>;
112 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
116 compatible = "mediatek,mt753x-port";
127 pinctrl-names = "default";
128 pinctrl-0 = <&i2c_pins>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&qspi_pins>;
138 compatible = "jedec,spi-nor";
142 compatible = "fixed-partitions";
143 #address-cells = <1>;
148 reg = <0x00000 0x60000>;
153 label = "u-boot-env";
154 reg = <0x60000 0x10000>;
158 factory: partition@70000 {
160 reg = <0x70000 0x40000>;
166 reg = <0xb0000 0xb50000>;
180 ephy_leds_pins: ephy-leds-pins {
183 groups = "gphy_leds_0", "ephy_leds";
194 pins = "I2C_SDA", "I2C_SCL";
195 drive-strength = <4>;
200 pcie_pins: pcie-pins {
203 groups = "pcie_clkreq",
216 /* Serial NAND is shared pin with SPI-NOR */
217 serial_nand_pins: serial-nand-pins {
231 /* SPI-NOR is shared pin with serial NAND */
232 qspi_pins: qspi-pins {
239 uart0_pins: uart0-pins {
242 groups = "uart0_txd_rxd" ;
246 uart1_pins: uart1-pins {
249 groups = "uart1_0_tx_rx" ;
253 uart2_pins: uart2-pins {
256 groups = "uart2_0_txd_rxd" ;
260 watchdog_pins: watchdog-pins {
262 function = "watchdog";
267 wmac0_pins: wmac0-pins {
271 drive-strength = <4>;
275 wmac1_pins: wmac0-pins {
279 drive-strength = <4>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&spi_pins>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&uart0_pins>;
297 vusb33-supply = <®_3p3v>;
298 vbus-supply = <®_5v>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&watchdog_pins>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&wmac0_pins>;
315 pinctrl-1 = <&wmac1_pins>;