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>;
85 compatible = "nvmem-cells";
89 macaddr_factory_28: macaddr@28 {
95 compatible = "denx,uimage";
97 reg = <0x50000 0xfa0000>;
102 reg = <0xff0000 0x10000>;
114 mediatek,portmap = <0x2f>;
115 mediatek,portdisable = <0x20>;
119 nvmem-cells = <&macaddr_factory_28>;
120 nvmem-cell-names = "mac-address";
133 compatible = "mediatek,mt76";
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;
136 ieee80211-freq-limit = <5000000 6000000>;
138 nvmem-cells = <&macaddr_factory_28>;
139 nvmem-cell-names = "mac-address";
140 mac-address-increment = <3>;
146 group = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
158 mediatek,mtd-eeprom = <&factory 0x0>;
159 nvmem-cells = <&macaddr_factory_28>;
160 nvmem-cell-names = "mac-address";
161 mac-address-increment = <2>;