1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "linksys,e5600", "mediatek,mt7621-soc";
10 model = "Linksys E5600";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 compatible = "gpio-leds";
44 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
60 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
69 compatible = "fixed-partitions";
81 reg = <0x80000 0x40000>;
85 factory: partition@c0000 {
87 reg = <0xc0000 0x40000>;
93 reg = <0x100000 0x40000>;
98 reg = <0x140000 0x40000>;
104 reg = <0x180000 0x400000>;
109 reg = <0x580000 0x1a00000>;
113 label = "alt_firmware";
114 reg = <0x1f80000 0x1e00000>;
119 reg = <0x3d80000 0x4200000>;
126 groups = "uart2", "uart3", "jtag";
137 compatible = "mediatek,mt76";
138 reg = <0x0000 0 0 0 0>;
139 mediatek,mtd-eeprom = <&factory 0x0000>;
145 compatible = "mediatek,mt76";
146 reg = <0x0000 0 0 0 0>;
147 mediatek,mtd-eeprom = <&factory 0x8000>;
154 phy-handle = <ðphy4>;
158 ethphy4: ethernet-phy@4 {