3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "aximcom,mr-102n", "ralink,rt3052-soc";
9 model = "AXIMCom MR-102N";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_4: macaddr@4 {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x790000>;
69 reg = <0x7e0000 0x10000>;
73 label = "nvram_backup";
74 reg = <0x7f0000 0x10000>;
80 compatible = "gpio-leds";
83 function = LED_FUNCTION_USB;
84 color = <LED_COLOR_ID_GREEN>;
85 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
86 trigger-sources = <&otg_port1>;
87 linux,default-trigger = "usbport";
91 function = LED_FUNCTION_STATUS;
92 color = <LED_COLOR_ID_AMBER>;
93 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
97 function = LED_FUNCTION_WLAN;
98 color = <LED_COLOR_ID_GREEN>;
99 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
104 compatible = "gpio-keys-polled";
105 poll-interval = <20>;
109 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_RESTART>;
115 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
116 linux,code = <KEY_WPS_BUTTON>;
123 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
129 nvmem-cells = <&macaddr_factory_4>;
130 nvmem-cell-names = "mac-address";
135 mediatek,portmap = <0x2f>;
139 nvmem-cells = <&eeprom_factory_0>;
140 nvmem-cell-names = "eeprom";