5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "aximcom,mr-102n", "ralink,rt3052-soc";
10 model = "AXIMCom MR-102N";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x790000>;
45 reg = <0x7e0000 0x10000>;
49 label = "nvram_backup";
50 reg = <0x7f0000 0x10000>;
55 compatible = "gpio-leds";
58 label = "mr-102n:green:usb";
59 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
63 label = "mr-102n:amber:status";
64 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
68 label = "mr-102n:green:wlan";
69 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys-polled";
81 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
87 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
97 ralink,function = "gpio";
103 mtd-mac-address = <&factory 0x4>;
108 #mediatek,portmap = <0x3e>;
109 mediatek,portmap = <0x2f>;
113 ralink,mtd-eeprom = <&factory 0>;