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>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
68 m25p,chunked-io = <32>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
95 reg = <0x50000 0xfb0000>;
107 reg = <0x0000 0 0 0 0>;
108 mediatek,mtd-eeprom = <&factory 0x8000>;
109 ieee80211-freq-limit = <5000000 6000000>;
115 reg = <0x0000 0 0 0 0>;
116 mediatek,mtd-eeprom = <&factory 0x0000>;
117 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";