1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/gpio/gpio.h>
11 compatible = "linksys,e8450", "mediatek,mt7622";
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 stdout-path = "serial0:115200n8";
23 bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512";
28 proc-supply = <&mt6380_vcpu_reg>;
29 sram-supply = <&mt6380_vm_reg>;
33 proc-supply = <&mt6380_vcpu_reg>;
34 sram-supply = <&mt6380_vm_reg>;
39 compatible = "gpio-keys";
43 linux,code = <KEY_RESTART>;
44 gpios = <&pio 0 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&pio 102 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-leds";
57 led_power: power_blue {
59 gpios = <&pio 95 GPIO_ACTIVE_LOW>;
64 label = "power:orange";
65 gpios = <&pio 96 GPIO_ACTIVE_LOW>;
66 default-state = "off";
71 gpios = <&pio 97 GPIO_ACTIVE_LOW>;
72 default-state = "off";
76 label = "inet:orange";
77 gpios = <&pio 98 GPIO_ACTIVE_LOW>;
78 default-state = "off";
83 reg = <0 0x40000000 0 0x40000000>;
86 reg_1p8v: regulator-1p8v {
87 compatible = "regulator-fixed";
88 regulator-name = "fixed-1.8V";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
94 reg_3p3v: regulator-3p3v {
95 compatible = "regulator-fixed";
96 regulator-name = "fixed-3.3V";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
103 reg_5v: regulator-5v {
104 compatible = "regulator-fixed";
105 regulator-name = "fixed-5V";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&irrx_pins>;
124 pinctrl-names = "default";
125 pinctrl-0 = <ð_pins>;
129 compatible = "mediatek,eth-mac";
131 phy-mode = "2500base-x";
141 #address-cells = <1>;
145 compatible = "mediatek,mt7531";
147 reset-gpios = <&pio 54 0>;
150 #address-cells = <1>;
182 phy-mode = "2500base-x";
197 pinctrl-names = "default";
198 pinctrl-0 = <&pcie0_pins>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&pcie1_pins>;
212 groups = "mdc_mdio", "rgmii_via_gmac2";
216 irrx_pins: irrx-pins {
223 irtx_pins: irtx-pins {
230 pcie0_pins: pcie0-pins {
233 groups = "pcie0_pad_perst",
239 pcie1_pins: pcie1-pins {
242 groups = "pcie1_pad_perst",
248 pmic_bus_pins: pmic-bus-pins {
255 pwm7_pins: pwm1-2-pins {
258 groups = "pwm_ch7_2";
262 wled_pins: wled-pins {
269 /* Serial NAND is shared pin with SPI-NOR */
270 serial_nand_pins: serial-nand-pins {
277 spic0_pins: spic0-pins {
284 spic1_pins: spic1-pins {
291 uart0_pins: uart0-pins {
294 groups = "uart0_0_tx_rx" ;
298 uart2_pins: uart2-pins {
301 groups = "uart2_1_tx_rx" ;
305 watchdog_pins: watchdog-pins {
307 function = "watchdog";
314 pinctrl-names = "default";
315 pinctrl-0 = <&pwm7_pins>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pmic_bus_pins>;
336 reg = <0x0000 0 0 0 0>;
337 ieee80211-freq-limit = <5000000 6000000>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&serial_nand_pins>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&spic0_pins>;
355 pinctrl-names = "default";
356 pinctrl-0 = <&spic1_pins>;
361 vusb33-supply = <®_3p3v>;
362 vbus-supply = <®_5v>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&uart0_pins>;
377 pinctrl-names = "default";
378 pinctrl-0 = <&uart2_pins>;
387 pinctrl-names = "default";
388 pinctrl-0 = <&watchdog_pins>;