5 #include <dt-bindings/input/input.h>
8 compatible = "ALL0239-3G", "ralink,rt3052-soc";
9 model = "Allnet ALL0239-3G";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x7b0000>;
45 compatible = "gpio-leds";
48 label = "all0239-3g:green:usb";
53 label = "all0239-3g:green:3g";
54 gpios = <&gpio0 11 1>;
58 label = "all0239-3g:green:status";
59 gpios = <&gpio0 12 1>;
63 label = "all0239-3g:green:wps";
64 gpios = <&gpio0 14 1>;
69 compatible = "gpio-keys-polled";
76 gpios = <&gpio0 10 1>;
77 linux,code = <KEY_RESTART>;
83 linux,code = <KEY_CONNECT>;
89 linux,code = <KEY_WPS_BUTTON>;
95 state_default: pinctrl0 {
97 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
98 ralink,function = "gpio";
104 mtd-mac-address = <&factory 0x28>;
109 mediatek,portmap = <0x3e>;
113 ralink,mtd-eeprom = <&factory 0>;