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>
10 label-mac-device = ðernet;
14 bootargs = "console=ttyS0,57600n8";
18 compatible = "gpio-keys";
22 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
38 compatible = "jedec,spi-nor";
40 spi-max-frequency = <50000000>;
43 compatible = "fixed-partitions";
54 compatible = "tplink,firmware";
56 reg = <0x20000 0x7a0000>;
59 config: partition@7c0000 {
61 reg = <0x7c0000 0x30000>;
65 radio: partition@7f0000 {
67 reg = <0x7f0000 0x10000>;
75 mtd-mac-address = <&config 0x2008>;
81 mediatek,mtd-eeprom = <&radio 0x0>;
82 mtd-mac-address = <&config 0x2008>;
83 mtd-mac-address-increment = <1>;
92 reg = <0x0000 0 0 0 0>;
93 mediatek,mtd-eeprom = <&radio 0x8000>;
94 ieee80211-freq-limit = <5000000 6000000>;
95 mtd-mac-address = <&config 0x2008>;
96 mtd-mac-address-increment = <2>;