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 {
93 reg = <0x40000 0x30000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 eeprom_factory_8000: eeprom@8000 {
106 reg = <0x8000 0x4da8>;
109 macaddr_factory_10007: macaddr@10007 {
113 macaddr_factory_1000d: macaddr@1000d {
120 compatible = "openwrt,uimage", "denx,uimage";
121 openwrt,offset = <FW_EDIMAX_OFFSET>;
122 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
124 reg = <0x70000 0xf90000>;
136 compatible = "mediatek,mt76";
137 reg = <0x0000 0 0 0 0>;
138 nvmem-cells = <&eeprom_factory_0>;
139 nvmem-cell-names = "eeprom";
140 ieee80211-freq-limit = <2400000 2500000>;
146 compatible = "mediatek,mt76";
147 reg = <0x0000 0 0 0 0>;
148 nvmem-cells = <&eeprom_factory_8000>;
149 nvmem-cell-names = "eeprom";
150 ieee80211-freq-limit = <5000000 6000000>;
155 nvmem-cells = <&macaddr_factory_10007>;
156 nvmem-cell-names = "mac-address";
162 phy-handle = <ðphy0>;
164 nvmem-cells = <&macaddr_factory_1000d>;
165 nvmem-cell-names = "mac-address";
169 ethphy0: ethernet-phy@0 {
185 groups = "jtag", "uart2", "uart3", "wdt";