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 compatible = "cfi-flash";
14 reg = <0x1c000000 0x800000>;
20 reg = <0x0 0x0030000>;
26 reg = <0x00030000 0x00010000>;
31 factory: partition@40000 {
32 reg = <0x00040000 0x00010000>;
38 reg = <0x00050000 0x007b0000>;
44 compatible = "gpio-keys-polled";
47 poll-interval = <100>;
51 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "gpio-leds";
66 label = "tew-692gr:orange:wps";
67 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
71 label = "tew-692gr:green:wps";
72 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
82 state_default: pinctrl0 {
84 ralink,group = "spi", "i2c", "jtag", "uartf";
85 ralink,function = "gpio";
92 mtd-mac-address = <&factory 0x4>;
102 phy0: ethernet-phy@0 {
106 qca,ar8327-initvals = <
107 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
108 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
109 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
110 0x50 0xc437c437 /* LED Control Register 0 */
111 0x54 0xc337c337 /* LED Control Register 1 */
112 0x58 0x00000000 /* LED Control Register 2 */
113 0x5c 0x03ffff00 /* LED Control Register 3 */
114 0x7c 0x0000007e /* PORT0_STATUS */
115 0x94 0x0000007e /* PORT6 STATUS */
123 pinctrl-names = "default";
124 pinctrl-0 = <&pci_pins>;
128 ralink,group = "pci";
129 ralink,function = "pci-fnc";
138 compatible = "pci0,0";
139 reg = < 0x10000 0 0 0 0 >;
148 ralink,mtd-eeprom = <&factory 0x0>;
150 mtd-mac-address = <&factory 0x4>;
151 mtd-mac-address-increment = <3>;