5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
14 led-failsafe = &led_run;
15 led-running = &led_run;
16 led-upgrade = &led_run;
20 compatible = "gpio-keys";
24 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 compatible = "gpio-leds";
33 label = "ew1200:green:run";
34 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
38 label = "ew1200:green:usb";
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>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0xfb0000>;
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x0000>;
106 ieee80211-freq-limit = <2400000 2500000>;
111 mtd-mac-address = <&factory 0xe000>;
139 mtd-mac-address = <&factory 0xe000>;
140 mtd-mac-address-increment = <1>;
147 groups = "i2c", "uart3", "wdt";