1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.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 = <&gpio0 13 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio0 12 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 0x7c0000>;
61 reg = <0x7e0000 0x10000>;
65 radio: partition@7f0000 {
67 reg = <0x7f0000 0x10000>;
75 mtd-mac-address = <&uboot 0x1fc00>;
79 ralink,mtd-eeprom = <&radio 0x0>;
80 mtd-mac-address = <&uboot 0x1fc00>;
89 reg = <0x0000 0 0 0 0>;
90 mediatek,mtd-eeprom = <&radio 0x8000>;
91 mtd-mac-address = <&uboot 0x1fc00>;
92 mtd-mac-address-increment = <2>;
93 ieee80211-freq-limit = <5000000 6000000>;