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 bootargs = "console=ttyS0,115200";
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
32 reg = <0x30000 0x10000>;
36 factory: partition@40000 {
38 reg = <0x40000 0x10000>;
44 reg = <0x50000 0x3b0000>;
49 compatible = "gpio-leds";
52 label = "psr-680w:red:wan";
53 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-keys-polled";
65 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_RESTART>;
72 state_default: pinctrl0 {
74 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
75 ralink,function = "gpio";
81 mtd-mac-address = <&factory 0x4>;
85 mediatek,portmap = <0x3e>;
89 ralink,mtd-eeprom = <&factory 0>;