3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "trendnet,tew-638apb-v2", "ralink,rt3050-soc";
8 model = "TRENDnet TEW-638APB v2";
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 = <0x1f000000 0x400000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 factory: partition@40000 {
42 reg = <0x40000 0x10000>;
47 compatible = "denx,uimage";
49 reg = <0x50000 0x3b0000>;
55 compatible = "gpio-keys-polled";
60 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_WPS_BUTTON>;
72 compatible = "gpio-leds";
76 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
94 nvmem-cells = <&macaddr_factory_4>;
95 nvmem-cell-names = "mac-address";
99 mediatek,portmap = <0x2f>;
103 ralink,mtd-eeprom = <&factory 0x0>;
107 compatible = "nvmem-cells";
108 #address-cells = <1>;
111 macaddr_factory_4: macaddr@4 {