3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "petatel,psr-680w", "ralink,rt3052-soc";
9 model = "Petatel PSR-680W Wireless 3G Router";
13 led-failsafe = &led_wan;
14 led-running = &led_wan;
15 led-upgrade = &led_wan;
19 bootargs = "console=ttyS0,115200";
23 compatible = "cfi-flash";
24 reg = <0x1f000000 0x800000>;
29 compatible = "fixed-partitions";
41 reg = <0x30000 0x10000>;
47 reg = <0x40000 0x10000>;
51 compatible = "fixed-layout";
55 eeprom_factory_0: eeprom@0 {
59 macaddr_factory_4: macaddr@4 {
66 compatible = "denx,uimage";
68 reg = <0x50000 0x3b0000>;
74 compatible = "gpio-leds";
77 function = LED_FUNCTION_WAN;
78 color = <LED_COLOR_ID_RED>;
79 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
84 compatible = "gpio-keys-polled";
89 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
97 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
103 nvmem-cells = <&macaddr_factory_4>;
104 nvmem-cell-names = "mac-address";
108 mediatek,portmap = <0x3e>;
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";