3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
9 model = "TRENDnet TEW-691GR";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 compatible = "cfi-flash";
20 reg = <0x1c000000 0x800000>;
24 compatible = "fixed-partitions";
29 reg = <0x0 0x0030000>;
35 reg = <0x00030000 0x00010000>;
41 reg = <0x00040000 0x00010000>;
46 compatible = "fixed-layout";
50 eeprom_factory_0: eeprom@0 {
54 macaddr_factory_4: macaddr@4 {
55 compatible = "mac-base";
57 #nvmem-cell-cells = <1>;
63 compatible = "denx,uimage";
64 reg = <0x00050000 0x007b0000>;
71 compatible = "gpio-keys-polled";
72 poll-interval = <100>;
76 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
82 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
88 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_RFKILL>;
94 compatible = "gpio-leds";
97 function = LED_FUNCTION_WPS;
98 color = <LED_COLOR_ID_GREEN>;
99 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
110 groups = "spi", "i2c", "jtag", "uartf";
116 nvmem-cells = <&macaddr_factory_4 0>;
117 nvmem-cell-names = "mac-address";
120 phy-handle = <&phy0>;
127 phy0: ethernet-phy@0 {
136 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 1>;
137 nvmem-cell-names = "eeprom", "mac-address";