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 {
54 compatible = "mac-base";
56 #nvmem-cell-cells = <1>;
62 compatible = "denx,uimage";
63 reg = <0x00050000 0x007b0000>;
70 compatible = "gpio-keys-polled";
71 poll-interval = <100>;
75 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_RFKILL>;
93 compatible = "gpio-leds";
97 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
108 groups = "spi", "i2c", "jtag", "uartf";
114 nvmem-cells = <&macaddr_factory_4 0>;
115 nvmem-cell-names = "mac-address";
118 phy-handle = <&phy0>;
125 phy0: ethernet-phy@0 {
134 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 1>;
135 nvmem-cell-names = "eeprom", "mac-address";