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>;
91 compatible = "fixed-layout";
95 eeprom_factory_0: eeprom@0 {
99 eeprom_factory_8000: eeprom@8000 {
100 reg = <0x8000 0x4da8>;
107 reg = <0x100000 0x40000>;
112 reg = <0x140000 0x40000>;
118 reg = <0x180000 0x400000>;
123 reg = <0x580000 0x1a00000>;
127 label = "alt_firmware";
128 reg = <0x1f80000 0x1e00000>;
133 reg = <0x3d80000 0x4200000>;
140 groups = "uart2", "uart3", "jtag";
151 compatible = "mediatek,mt76";
152 reg = <0x0000 0 0 0 0>;
153 nvmem-cells = <&eeprom_factory_0>;
154 nvmem-cell-names = "eeprom";
160 compatible = "mediatek,mt76";
161 reg = <0x0000 0 0 0 0>;
162 nvmem-cells = <&eeprom_factory_8000>;
163 nvmem-cell-names = "eeprom";
170 phy-handle = <ðphy4>;
174 ethphy4: ethernet-phy@4 {