5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
10 model = "TRENDnet TEW-691GR";
13 led-status = &led_wps;
17 compatible = "cfi-flash";
18 reg = <0x1c000000 0x800000>;
24 reg = <0x0 0x0030000>;
30 reg = <0x00030000 0x00010000>;
35 factory: partition@40000 {
36 reg = <0x00040000 0x00010000>;
42 reg = <0x00050000 0x007b0000>;
48 compatible = "gpio-keys-polled";
49 poll-interval = <100>;
53 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_RFKILL>;
71 compatible = "gpio-leds";
74 label = "tew-691gr:green:wps";
75 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
85 state_default: pinctrl0 {
87 ralink,group = "spi", "i2c", "jtag", "uartf";
88 ralink,function = "gpio";
94 mtd-mac-address = <&factory 0x4>;
104 phy0: ethernet-phy@0 {
113 ralink,mtd-eeprom = <&factory 0x0>;
115 mtd-mac-address = <&factory 0x4>;
116 mtd-mac-address-increment = <1>;