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";
39 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 compatible = "gpio-leds";
48 label = "ew1200:green:run";
49 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
53 label = "ew1200:green:usb";
54 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
72 m25p,chunked-io = <32>;
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
94 reg = <0x50000 0xfb0000>;
104 reg = <0x0000 0 0 0 0>;
106 mediatek,mtd-eeprom = <&factory 0x8000>;
107 ieee80211-freq-limit = <5000000 6000000>;
113 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x0000>;
116 ieee80211-freq-limit = <2400000 2500000>;
122 mtd-mac-address = <&factory 0xe000>;
126 state_default: pinctrl0 {
128 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
129 ralink,function = "gpio";