5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
13 led-status = &led_run;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
25 palmbus: palmbus@1E000000 {
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "gpio-leds";
46 label = "ew1200:green:run";
47 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
51 label = "ew1200:green:usb";
52 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
70 m25p,chunked-io = <32>;
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0xfb0000>;
103 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x8000>;
105 ieee80211-freq-limit = <5000000 6000000>;
111 reg = <0x0000 0 0 0 0>;
112 mediatek,mtd-eeprom = <&factory 0x0000>;
113 ieee80211-freq-limit = <2400000 2500000>;
118 mtd-mac-address = <&factory 0xe000>;
122 state_default: pinctrl0 {
124 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
125 ralink,function = "gpio";