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 bootargs = "console=ttyS0,57600";
23 palmbus: palmbus@1E000000 {
30 compatible = "gpio-keys";
34 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 compatible = "gpio-leds";
43 label = "ew1200:green:run";
44 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
48 label = "ew1200:green:usb";
49 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
50 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
51 linux,default-trigger = "usbport";
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x50000 0xfb0000>;
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x8000>;
108 ieee80211-freq-limit = <5000000 6000000>;
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x0000>;
116 ieee80211-freq-limit = <2400000 2500000>;
121 mtd-mac-address = <&factory 0xe000>;
125 state_default: pinctrl0 {
127 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
128 ralink,function = "gpio";