3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "trendnet,tew-714tru", "ralink,rt5350-soc";
9 model = "TRENDnet TEW714TRU";
12 compatible = "gpio-leds";
15 function = LED_FUNCTION_USB;
16 color = <LED_COLOR_ID_RED>;
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
18 trigger-sources = <&ohci_port1>, <&ehci_port1>;
19 linux,default-trigger = "usbport";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 compatible = "gpio-export";
50 gpio-export,name = "repeater_switch";
51 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
55 gpio-export,name = "wisp_switch";
56 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
88 reg = <0x40000 0x10000>;
92 compatible = "fixed-layout";
96 eeprom_factory_0: eeprom@0 {
100 macaddr_factory_4: macaddr@4 {
107 compatible = "denx,uimage";
109 reg = <0x50000 0x7b0000>;
117 groups = "i2c", "jtag", "uartf";
123 nvmem-cells = <&macaddr_factory_4>;
124 nvmem-cell-names = "mac-address";
128 mediatek,portmap = <0x1>;
129 mediatek,portdisable = <0x3e>;
133 nvmem-cells = <&eeprom_factory_0>;
134 nvmem-cell-names = "eeprom";