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>;
98 compatible = "openwrt,uimage", "denx,uimage";
99 openwrt,offset = <FW_EDIMAX_OFFSET>;
100 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
102 reg = <0x70000 0xf90000>;
114 compatible = "mediatek,mt76";
115 reg = <0x0000 0 0 0 0>;
116 mediatek,mtd-eeprom = <&factory 0x0000>;
117 ieee80211-freq-limit = <2400000 2500000>;
123 compatible = "mediatek,mt76";
124 reg = <0x0000 0 0 0 0>;
125 mediatek,mtd-eeprom = <&factory 0x8000>;
126 ieee80211-freq-limit = <5000000 6000000>;
131 nvmem-cells = <&macaddr_factory_10007>;
132 nvmem-cell-names = "mac-address";
138 phy-handle = <ðphy0>;
140 nvmem-cells = <&macaddr_factory_1000d>;
141 nvmem-cell-names = "mac-address";
145 ethphy0: ethernet-phy@0 {
161 groups = "jtag", "uart2", "uart3", "wdt";
167 compatible = "nvmem-cells";
168 #address-cells = <1>;
171 macaddr_factory_10007: macaddr@10007 {
175 macaddr_factory_1000d: macaddr@1000d {