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-status = &led_wps_green;
17 compatible = "cfi-flash";
18 reg = <0x1c000000 0x800000>;
22 compatible = "fixed-partitions";
27 reg = <0x0 0x0030000>;
33 reg = <0x00030000 0x00010000>;
38 factory: partition@40000 {
39 reg = <0x00040000 0x00010000>;
45 reg = <0x00050000 0x007b0000>;
52 compatible = "gpio-keys-polled";
53 poll-interval = <100>;
57 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 compatible = "gpio-leds";
72 label = "tew-692gr:orange:wps";
73 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
77 label = "tew-692gr:green:wps";
78 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
88 state_default: pinctrl0 {
90 ralink,group = "spi", "i2c", "jtag", "uartf";
91 ralink,function = "gpio";
98 mtd-mac-address = <&factory 0x4>;
101 phy-handle = <&phy0>;
108 phy0: ethernet-phy@0 {
112 qca,ar8327-initvals = <
113 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
114 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
115 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
116 0x50 0xc437c437 /* LED Control Register 0 */
117 0x54 0xc337c337 /* LED Control Register 1 */
118 0x58 0x00000000 /* LED Control Register 2 */
119 0x5c 0x03ffff00 /* LED Control Register 3 */
120 0x7c 0x0000007e /* PORT0_STATUS */
121 0x94 0x0000007e /* PORT6 STATUS */
135 compatible = "pci0,0";
136 reg = < 0x10000 0 0 0 0 >;
143 ralink,mtd-eeprom = <&factory 0x0>;
145 mtd-mac-address = <&factory 0x4>;
146 mtd-mac-address-increment = <3>;