3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "asus,rt-n10-plus", "ralink,rt3050-soc";
8 model = "Asus RT-N10+";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 devconf: partition@40000 {
41 compatible = "nvmem-cells";
43 reg = <0x40000 0x10000>;
48 eeprom_devconf_0: eeprom@0 {
52 macaddr_devconf_4: macaddr@4 {
58 compatible = "denx,uimage";
60 reg = <0x50000 0x3b0000>;
66 compatible = "gpio-leds";
70 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
75 compatible = "gpio-keys-polled";
80 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
86 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_WPS_BUTTON>;
93 nvmem-cells = <&macaddr_devconf_4>;
94 nvmem-cell-names = "mac-address";
98 mediatek,portmap = <0x3e>;
102 nvmem-cells = <&eeprom_devconf_0>;
103 nvmem-cell-names = "eeprom";