3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "aximcom,mr-102n", "ralink,rt3052-soc";
8 model = "AXIMCom MR-102N";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 factory: partition@40000 {
42 reg = <0x40000 0x10000>;
47 compatible = "denx,uimage";
49 reg = <0x50000 0x790000>;
54 reg = <0x7e0000 0x10000>;
58 label = "nvram_backup";
59 reg = <0x7f0000 0x10000>;
65 compatible = "gpio-leds";
68 label = "mr-102n:green:usb";
69 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
70 trigger-sources = <&otg_port1>;
71 linux,default-trigger = "usbport";
75 label = "mr-102n:amber:status";
76 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
80 label = "mr-102n:green:wlan";
81 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
86 compatible = "gpio-keys-polled";
91 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_RESTART>;
97 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_WPS_BUTTON>;
105 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
111 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = <0x2f>;
120 ralink,mtd-eeprom = <&factory 0x0>;