5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "trendnet,tew-692gr", "ralink,rt3883-soc";
10 model = "TRENDnet TEW-692GR";
13 led-boot = &led_wps_green;
14 led-failsafe = &led_wps_green;
15 led-running = &led_wps_green;
16 led-upgrade = &led_wps_green;
20 compatible = "cfi-flash";
21 reg = <0x1c000000 0x800000>;
25 compatible = "fixed-partitions";
30 reg = <0x0 0x0030000>;
36 reg = <0x00030000 0x00010000>;
41 factory: partition@40000 {
42 reg = <0x00040000 0x00010000>;
48 compatible = "denx,uimage";
49 reg = <0x00050000 0x007b0000>;
56 compatible = "gpio-keys-polled";
57 poll-interval = <100>;
61 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
73 compatible = "gpio-leds";
76 label = "tew-692gr:orange:wps";
77 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
81 label = "tew-692gr:green:wps";
82 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
92 state_default: pinctrl0 {
94 ralink,group = "spi", "i2c", "jtag", "uartf";
95 ralink,function = "gpio";
102 mtd-mac-address = <&factory 0x4>;
105 phy-handle = <&phy0>;
112 phy0: ethernet-phy@0 {
116 qca,ar8327-initvals = <
117 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
118 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
119 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
120 0x50 0xc437c437 /* LED Control Register 0 */
121 0x54 0xc337c337 /* LED Control Register 1 */
122 0x58 0x00000000 /* LED Control Register 2 */
123 0x5c 0x03ffff00 /* LED Control Register 3 */
124 0x7c 0x0000007e /* PORT0_STATUS */
125 0x94 0x0000007e /* PORT6 STATUS */
139 compatible = "pci0,0";
140 reg = < 0x10000 0 0 0 0 >;
147 ralink,mtd-eeprom = <&factory 0x0>;
149 mtd-mac-address = <&factory 0x4>;
150 mtd-mac-address-increment = <3>;