3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
8 model = "TRENDnet TEW-691GR";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "cfi-flash";
19 reg = <0x1c000000 0x800000>;
23 compatible = "fixed-partitions";
28 reg = <0x0 0x0030000>;
34 reg = <0x00030000 0x00010000>;
39 factory: partition@40000 {
40 compatible = "nvmem-cells";
42 reg = <0x00040000 0x00010000>;
47 eeprom_factory_0: eeprom@0 {
51 macaddr_factory_4: macaddr@4 {
57 compatible = "denx,uimage";
58 reg = <0x00050000 0x007b0000>;
65 compatible = "gpio-keys-polled";
66 poll-interval = <100>;
70 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
76 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RFKILL>;
88 compatible = "gpio-leds";
92 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
103 groups = "spi", "i2c", "jtag", "uartf";
109 nvmem-cells = <&macaddr_factory_4>;
110 nvmem-cell-names = "mac-address";
113 phy-handle = <&phy0>;
120 phy0: ethernet-phy@0 {
130 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
131 nvmem-cell-names = "eeprom", "mac-address";
132 mac-address-increment = <1>;