5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
13 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 bootargs = "console=ttyS0,57600";
21 palmbus: palmbus@1E000000 {
28 compatible = "gpio-keys-polled";
35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 compatible = "gpio-leds";
44 label = "ew1200:green:run";
45 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
49 label = "ew1200:green:usb";
50 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
68 m25p,chunked-io = <32>;
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0xfb0000>;
100 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x8000>;
103 ieee80211-freq-limit = <5000000 6000000>;
109 reg = <0x0000 0 0 0 0>;
111 mediatek,mtd-eeprom = <&factory 0x0000>;
112 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";