1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = &gmac0;
14 compatible = "gpio-keys";
18 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
20 linux,code = <KEY_WPS_BUTTON>;
25 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 linux,code = <KEY_POWER>;
32 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
34 linux,code = <KEY_LIGHTS_TOGGLE>;
39 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <40000000>;
55 compatible = "fixed-partitions";
66 compatible = "tplink,firmware";
68 reg = <0x20000 0xde0000>;
71 config: partition@e00000 {
73 reg = <0xe00000 0x50000>;
77 /* range 0xe50000 to 0xff0000 is empty in vendor
78 * firmware, so we do not use it either
81 radio: partition@ff0000 {
83 reg = <0xff0000 0x10000>;
96 compatible = "mediatek,mt76";
97 reg = <0x0000 0 0 0 0>;
98 mediatek,mtd-eeprom = <&radio 0x0>;
99 mtd-mac-address = <&config 0x10008>;
100 mtd-mac-address-increment = <1>;
101 ieee80211-freq-limit = <2400000 2500000>;
107 compatible = "mediatek,mt76";
108 reg = <0x0000 0 0 0 0>;
109 mediatek,mtd-eeprom = <&radio 0x8000>;
110 mtd-mac-address = <&config 0x10008>;
111 mtd-mac-address-increment = <2>;
112 ieee80211-freq-limit = <5000000 6000000>;
117 mtd-mac-address = <&config 0x10008>;