3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
12 led-failsafe = &led_run;
13 led-running = &led_run;
14 led-upgrade = &led_run;
18 compatible = "gpio-keys";
22 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
32 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
37 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
39 linux,default-trigger = "usbport";
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <10000000>;
57 compatible = "fixed-partitions";
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
74 compatible = "nvmem-cells";
76 reg = <0x40000 0x10000>;
81 eeprom_factory_0: eeprom@0 {
85 macaddr_factory_e000: macaddr@e000 {
91 compatible = "denx,uimage";
93 reg = <0x50000 0xfb0000>;
105 compatible = "mediatek,mt76";
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x8000>;
108 ieee80211-freq-limit = <5000000 6000000>;
119 compatible = "mediatek,mt76";
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&eeprom_factory_0>;
122 nvmem-cell-names = "eeprom";
123 ieee80211-freq-limit = <2400000 2500000>;
133 nvmem-cells = <&macaddr_factory_e000>;
134 nvmem-cell-names = "mac-address";
140 phy-handle = <ðphy4>;
142 nvmem-cells = <&macaddr_factory_e000>;
143 nvmem-cell-names = "mac-address";
144 mac-address-increment = <1>;
148 ethphy4: ethernet-phy@4 {
179 groups = "i2c", "uart3", "wdt";