5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
14 led-failsafe = &led_run;
15 led-running = &led_run;
16 led-upgrade = &led_run;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600";
28 palmbus: palmbus@1E000000 {
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 compatible = "gpio-leds";
49 label = "ew1200:green:run";
50 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
54 label = "ew1200:green:usb";
55 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
56 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
57 linux,default-trigger = "usbport";
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
73 m25p,chunked-io = <32>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0xfb0000>;
113 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x8000>;
115 ieee80211-freq-limit = <5000000 6000000>;
121 reg = <0x0000 0 0 0 0>;
122 mediatek,mtd-eeprom = <&factory 0x0000>;
123 ieee80211-freq-limit = <2400000 2500000>;
128 mtd-mac-address = <&factory 0xe000>;
132 state_default: pinctrl0 {
134 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
135 ralink,function = "gpio";