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>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/mtd/partitions/uimage.h>
11 compatible = "humax,e10", "mediatek,mt7621-soc";
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
19 label-mac-device = &gmac1;
23 compatible = "gpio-export";
26 gpio-export,name = "power:usb";
27 gpio-export,output = <1>;
28 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_GREEN>;
38 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
42 label = "green:pairing";
43 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
47 function = LED_FUNCTION_WLAN;
48 color = <LED_COLOR_ID_GREEN>;
49 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
53 function = LED_FUNCTION_WPS;
54 color = <LED_COLOR_ID_GREEN>;
55 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
60 compatible = "gpio-keys";
64 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x30000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 eeprom_factory_8000: eeprom@8000 {
110 reg = <0x8000 0x4da8>;
113 macaddr_factory_10007: macaddr@10007 {
117 macaddr_factory_1000d: macaddr@1000d {
124 compatible = "openwrt,uimage", "denx,uimage";
125 openwrt,offset = <FW_EDIMAX_OFFSET>;
126 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
128 reg = <0x70000 0xf90000>;
140 compatible = "mediatek,mt76";
141 reg = <0x0000 0 0 0 0>;
142 nvmem-cells = <&eeprom_factory_0>;
143 nvmem-cell-names = "eeprom";
144 ieee80211-freq-limit = <2400000 2500000>;
150 compatible = "mediatek,mt76";
151 reg = <0x0000 0 0 0 0>;
152 nvmem-cells = <&eeprom_factory_8000>;
153 nvmem-cell-names = "eeprom";
154 ieee80211-freq-limit = <5000000 6000000>;
159 nvmem-cells = <&macaddr_factory_10007>;
160 nvmem-cell-names = "mac-address";
166 phy-handle = <ðphy0>;
168 nvmem-cells = <&macaddr_factory_1000d>;
169 nvmem-cell-names = "mac-address";
173 ethphy0: ethernet-phy@0 {
189 groups = "jtag", "uart2", "uart3", "wdt";