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 {
72 compatible = "nvmem-cells";
74 reg = <0x7d0000 0x10000>;
79 macaddr_rom_f100: macaddr@f100 {
86 reg = <0x7e0000 0x10000>;
90 radio: partition@7f0000 {
91 compatible = "nvmem-cells";
93 reg = <0x7f0000 0x10000>;
98 eeprom_radio_0: eeprom@0 {
102 eeprom_radio_8000: eeprom@8000 {
103 reg = <0x8000 0x200>;
111 pinctrl-names = "default";
113 nvmem-cells = <&macaddr_rom_f100>;
114 nvmem-cell-names = "mac-address";
116 mediatek,portmap = "wllll";
128 nvmem-cells = <&eeprom_radio_0>;
129 nvmem-cell-names = "eeprom";
138 reg = <0x0000 0 0 0 0>;
139 nvmem-cells = <&eeprom_radio_8000>;
140 nvmem-cell-names = "eeprom";
141 ieee80211-freq-limit = <5000000 6000000>;