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 reg = <0x00040000 0x00010000>;
45 compatible = "fixed-layout";
49 eeprom_factory_0: eeprom@0 {
53 macaddr_factory_4: macaddr@4 {
60 compatible = "denx,uimage";
61 reg = <0x00050000 0x007b0000>;
68 compatible = "gpio-keys-polled";
69 poll-interval = <100>;
73 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
79 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_WPS_BUTTON>;
85 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_RFKILL>;
91 compatible = "gpio-leds";
95 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
106 groups = "spi", "i2c", "jtag", "uartf";
112 nvmem-cells = <&macaddr_factory_4>;
113 nvmem-cell-names = "mac-address";
116 phy-handle = <&phy0>;
123 phy0: ethernet-phy@0 {
132 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
133 nvmem-cell-names = "eeprom", "mac-address";
134 mac-address-increment = <1>;