3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "aztech,hw550-3g", "ralink,rt3052-soc";
9 model = "Aztech HW550-3G";
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>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_28: macaddr@28 {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x7b0000>;
70 compatible = "gpio-leds";
73 function = LED_FUNCTION_USB;
74 color = <LED_COLOR_ID_GREEN>;
75 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
76 trigger-sources = <&otg_port1>;
77 linux,default-trigger = "usbport";
82 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
86 function = LED_FUNCTION_STATUS;
87 color = <LED_COLOR_ID_GREEN>;
88 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
92 function = LED_FUNCTION_WPS;
93 color = <LED_COLOR_ID_GREEN>;
94 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
99 compatible = "gpio-keys-polled";
100 poll-interval = <20>;
104 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
105 linux,code = <KEY_RESTART>;
110 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
111 linux,code = <KEY_CONNECT>;
116 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
117 linux,code = <KEY_WPS_BUTTON>;
124 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
130 nvmem-cells = <&macaddr_factory_28>;
131 nvmem-cell-names = "mac-address";
135 mediatek,portmap = <0x3e>;
139 nvmem-cells = <&eeprom_factory_0>;
140 nvmem-cell-names = "eeprom";