3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
13 led-failsafe = &led_run;
14 led-running = &led_run;
15 led-upgrade = &led_run;
19 compatible = "gpio-keys";
23 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
33 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
37 function = LED_FUNCTION_USB;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
40 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
41 linux,default-trigger = "usbport";
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
81 compatible = "fixed-layout";
85 eeprom_factory_0: eeprom@0 {
89 eeprom_factory_8000: eeprom@8000 {
93 macaddr_factory_e000: macaddr@e000 {
94 compatible = "mac-base";
96 #nvmem-cell-cells = <1>;
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfb0000>;
116 compatible = "mediatek,mt76";
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_8000>;
119 nvmem-cell-names = "eeprom";
120 ieee80211-freq-limit = <5000000 6000000>;
131 compatible = "mediatek,mt76";
132 reg = <0x0000 0 0 0 0>;
133 nvmem-cells = <&eeprom_factory_0>;
134 nvmem-cell-names = "eeprom";
135 ieee80211-freq-limit = <2400000 2500000>;
145 nvmem-cells = <&macaddr_factory_e000 0>;
146 nvmem-cell-names = "mac-address";
152 phy-handle = <ðphy4>;
154 nvmem-cells = <&macaddr_factory_e000 1>;
155 nvmem-cell-names = "mac-address";
159 ethphy4: ethernet-phy@4 {
190 groups = "i2c", "uart3", "wdt";