1 #include "mt7620a.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
8 bootargs = "console=ttyS0,115200";
12 compatible = "gpio-keys";
16 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RFKILL>;
44 compatible = "jedec,spi-nor";
46 spi-max-frequency = <30000000>;
49 compatible = "fixed-partitions";
60 compatible = "tplink,firmware";
62 reg = <0x20000 0x7a0000>;
67 reg = <0x7c0000 0x10000>;
71 rom: partition@7d0000 {
73 reg = <0x7d0000 0x10000>;
77 compatible = "fixed-layout";
81 macaddr_rom_f100: macaddr@f100 {
89 reg = <0x7e0000 0x10000>;
93 radio: partition@7f0000 {
95 reg = <0x7f0000 0x10000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 eeprom_radio_0: eeprom@0 {
107 eeprom_radio_8000: eeprom@8000 {
108 reg = <0x8000 0x200>;
117 pinctrl-names = "default";
119 nvmem-cells = <&macaddr_rom_f100>;
120 nvmem-cell-names = "mac-address";
122 mediatek,portmap = "wllll";
134 nvmem-cells = <&eeprom_radio_0>;
135 nvmem-cell-names = "eeprom";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_radio_8000>;
146 nvmem-cell-names = "eeprom";
147 ieee80211-freq-limit = <5000000 6000000>;