3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "trendnet,tew-692gr", "ralink,rt3883-soc";
8 model = "TRENDnet TEW-692GR";
11 led-boot = &led_wps_green;
12 led-failsafe = &led_wps_green;
13 led-running = &led_wps_green;
14 led-upgrade = &led_wps_green;
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 compatible = "gpio-leds";
91 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
96 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
107 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 {
129 qca,ar8327-initvals = <
130 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
131 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
132 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
133 0x50 0xc437c437 /* LED Control Register 0 */
134 0x54 0xc337c337 /* LED Control Register 1 */
135 0x58 0x00000000 /* LED Control Register 2 */
136 0x5c 0x03ffff00 /* LED Control Register 3 */
137 0x7c 0x0000007e /* PORT0_STATUS */
138 0x94 0x0000007e /* PORT6 STATUS */
152 compatible = "pci0,0";
153 reg = < 0x10000 0 0 0 0 >;
160 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 3>;
161 nvmem-cell-names = "eeprom", "mac-address";