5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "petatel,psr-680w", "ralink,rt3052-soc";
10 model = "Petatel PSR-680W Wireless 3G Router";
13 led-status = &led_wan;
17 bootargs = "console=ttyS0,115200";
21 compatible = "cfi-flash";
22 reg = <0x1f000000 0x800000>;
27 compatible = "fixed-partitions";
39 reg = <0x30000 0x10000>;
43 factory: partition@40000 {
45 reg = <0x40000 0x10000>;
51 reg = <0x50000 0x3b0000>;
57 compatible = "gpio-leds";
60 label = "psr-680w:red:wan";
61 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-keys-polled";
71 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
78 state_default: pinctrl0 {
80 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
81 ralink,function = "gpio";
87 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = <0x3e>;
95 ralink,mtd-eeprom = <&factory 0>;