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;
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-keys";
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "gpio-leds";
38 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <40000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
85 reg = <0x40000 0x10000>;
89 compatible = "fixed-layout";
93 eeprom_factory_0: eeprom@0 {
97 eeprom_factory_8000: eeprom@8000 {
98 reg = <0x8000 0x4da8>;
101 macaddr_factory_4: macaddr@4 {
108 compatible = "denx,uimage";
110 reg = <0x50000 0xfb0000>;
122 compatible = "mediatek,mt76";
123 reg = <0x0000 0 0 0 0>;
124 nvmem-cells = <&eeprom_factory_0>;
125 nvmem-cell-names = "eeprom";
126 ieee80211-freq-limit = <2400000 2500000>;
132 compatible = "mediatek,mt76";
133 reg = <0x0000 0 0 0 0>;
134 nvmem-cells = <&eeprom_factory_8000>;
135 nvmem-cell-names = "eeprom";
136 ieee80211-freq-limit = <5000000 6000000>;
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
148 phy-handle = <ðphy0>;
150 nvmem-cells = <&macaddr_factory_4>;
151 nvmem-cell-names = "mac-address";
155 /delete-property/ interrupts;
184 groups = "uart3", "uart2", "jtag", "wdt";