5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "trendnet,tew-714tru", "ralink,rt5350-soc";
10 model = "TRENDnet TEW714TRU";
13 compatible = "gpio-leds";
16 label = "tew-714tru:red:usb";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 label = "tew-714tru:green:wifi";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 compatible = "gpio-export";
48 gpio-export,name = "repeater_switch";
49 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
53 gpio-export,name = "wisp_switch";
54 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x7b0000>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x1>;
113 mediatek,portdisable = <0x3e>;
117 ralink,mtd-eeprom = <&factory 0>;