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>;
53 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
54 linux,default-trigger = "usbport";
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
70 m25p,chunked-io = <32>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
97 reg = <0x50000 0xfb0000>;
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x8000>;
111 ieee80211-freq-limit = <5000000 6000000>;
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x0000>;
119 ieee80211-freq-limit = <2400000 2500000>;
124 mtd-mac-address = <&factory 0xe000>;
128 state_default: pinctrl0 {
130 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
131 ralink,function = "gpio";