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>;
22 compatible = "fixed-partitions";
27 reg = <0x0 0x0030000>;
33 reg = <0x00030000 0x00010000>;
38 factory: partition@40000 {
39 reg = <0x00040000 0x00010000>;
45 reg = <0x00050000 0x007b0000>;
52 compatible = "gpio-keys-polled";
53 poll-interval = <100>;
57 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RFKILL>;
75 compatible = "gpio-leds";
78 label = "tew-691gr:green:wps";
79 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
89 state_default: pinctrl0 {
91 ralink,group = "spi", "i2c", "jtag", "uartf";
92 ralink,function = "gpio";
98 mtd-mac-address = <&factory 0x4>;
101 phy-handle = <&phy0>;
108 phy0: ethernet-phy@0 {
117 ralink,mtd-eeprom = <&factory 0x0>;
119 mtd-mac-address = <&factory 0x4>;
120 mtd-mac-address-increment = <1>;