1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "linksys,e5400", "mediatek,mt7628an-soc";
10 model = "Linksys E5400";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
17 label-mac-device = ðernet;
21 bootargs = "console=ttyS0,115200";
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys";
34 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 compatible = "gpio-leds";
50 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <40000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
86 compatible = "fixed-layout";
90 eeprom_factory_0: eeprom@0 {
94 eeprom_factory_8000: eeprom@8000 {
98 macaddr_factory_28: macaddr@28 {
99 compatible = "mac-base";
101 #nvmem-cell-cells = <1>;
107 compatible = "denx,uimage";
109 reg = <0x50000 0xfa0000>;
114 reg = <0xff0000 0x10000>;
126 mediatek,portmap = <0x2f>;
127 mediatek,portdisable = <0x20>;
131 nvmem-cells = <&macaddr_factory_28 0>;
132 nvmem-cell-names = "mac-address";
145 compatible = "mediatek,mt76";
146 reg = <0x0000 0 0 0 0>;
147 ieee80211-freq-limit = <5000000 6000000>;
149 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28 3>;
150 nvmem-cell-names = "eeprom", "mac-address";
156 group = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
168 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28 2>;
169 nvmem-cell-names = "eeprom", "mac-address";