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>;
46 compatible = "fixed-layout";
50 eeprom_factory_0: eeprom@0 {
54 macaddr_factory_4: macaddr@4 {
61 compatible = "denx,uimage";
63 reg = <0x50000 0x790000>;
68 reg = <0x7e0000 0x10000>;
72 label = "nvram_backup";
73 reg = <0x7f0000 0x10000>;
79 compatible = "gpio-leds";
83 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
84 trigger-sources = <&otg_port1>;
85 linux,default-trigger = "usbport";
89 label = "amber:status";
90 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
95 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
100 compatible = "gpio-keys-polled";
101 poll-interval = <20>;
105 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_RESTART>;
111 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_WPS_BUTTON>;
119 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
125 nvmem-cells = <&macaddr_factory_4>;
126 nvmem-cell-names = "mac-address";
131 mediatek,portmap = <0x2f>;
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";