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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "linksys,e5600", "mediatek,mt7621-soc";
11 model = "Linksys E5600";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
41 compatible = "gpio-leds";
44 function = LED_FUNCTION_WPS;
45 color = <LED_COLOR_ID_AMBER>;
46 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
50 function = LED_FUNCTION_POWER;
51 color = <LED_COLOR_ID_BLUE>;
52 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
57 function = LED_FUNCTION_WAN;
58 color = <LED_COLOR_ID_AMBER>;
59 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
63 function = LED_FUNCTION_WAN;
64 color = <LED_COLOR_ID_BLUE>;
65 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
74 compatible = "fixed-partitions";
86 reg = <0x80000 0x40000>;
92 reg = <0xc0000 0x40000>;
96 compatible = "fixed-layout";
100 eeprom_factory_0: eeprom@0 {
104 eeprom_factory_8000: eeprom@8000 {
105 reg = <0x8000 0x4da8>;
112 reg = <0x100000 0x40000>;
117 reg = <0x140000 0x40000>;
123 reg = <0x180000 0x400000>;
128 reg = <0x580000 0x1a00000>;
132 label = "alt_firmware";
133 reg = <0x1f80000 0x1e00000>;
138 reg = <0x3d80000 0x4200000>;
145 groups = "uart2", "uart3", "jtag";
156 compatible = "mediatek,mt76";
157 reg = <0x0000 0 0 0 0>;
158 nvmem-cells = <&eeprom_factory_0>;
159 nvmem-cell-names = "eeprom";
165 compatible = "mediatek,mt76";
166 reg = <0x0000 0 0 0 0>;
167 nvmem-cells = <&eeprom_factory_8000>;
168 nvmem-cell-names = "eeprom";
175 phy-handle = <ðphy4>;
179 ethphy4: ethernet-phy@4 {