5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "aztech,hw550-3g", "ralink,rt3052-soc";
10 model = "Aztech HW550-3G";
13 led-status = &led_status;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x7b0000>;
53 compatible = "gpio-leds";
56 label = "hw550-3g:green:usb";
57 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
58 trigger-sources = <&otg_port1>;
59 linux,default-trigger = "usbport";
63 label = "hw550-3g:green:3g";
64 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
68 label = "hw550-3g:green:status";
69 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
73 label = "hw550-3g:green:wps";
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
90 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_CONNECT>;
96 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_WPS_BUTTON>;
103 state_default: pinctrl0 {
105 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
106 ralink,function = "gpio";
112 mtd-mac-address = <&factory 0x28>;
116 mediatek,portmap = <0x3e>;
120 ralink,mtd-eeprom = <&factory 0>;