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/mtd/partitions/uimage.h>
10 compatible = "humax,e10", "mediatek,mt7621-soc";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = &gmac1;
22 compatible = "gpio-export";
25 gpio-export,name = "power:usb";
26 gpio-export,output = <1>;
27 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-leds";
35 label = "green:power";
36 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
40 label = "green:pairing";
41 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
46 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
51 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
56 compatible = "gpio-keys";
60 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <50000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
92 compatible = "nvmem-cells";
94 reg = <0x40000 0x30000>;
99 eeprom_factory_0: eeprom@0 {
103 eeprom_factory_8000: eeprom@8000 {
104 reg = <0x8000 0x4da8>;
107 macaddr_factory_10007: macaddr@10007 {
111 macaddr_factory_1000d: macaddr@1000d {
117 compatible = "openwrt,uimage", "denx,uimage";
118 openwrt,offset = <FW_EDIMAX_OFFSET>;
119 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
121 reg = <0x70000 0xf90000>;
133 compatible = "mediatek,mt76";
134 reg = <0x0000 0 0 0 0>;
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";
137 ieee80211-freq-limit = <2400000 2500000>;
143 compatible = "mediatek,mt76";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_factory_8000>;
146 nvmem-cell-names = "eeprom";
147 ieee80211-freq-limit = <5000000 6000000>;
152 nvmem-cells = <&macaddr_factory_10007>;
153 nvmem-cell-names = "mac-address";
159 phy-handle = <ðphy0>;
161 nvmem-cells = <&macaddr_factory_1000d>;
162 nvmem-cell-names = "mac-address";
166 ethphy0: ethernet-phy@0 {
182 groups = "jtag", "uart2", "uart3", "wdt";