5 #include <dt-bindings/input/input.h>
8 compatible = "HG255D", "ralink,rt3052-soc";
9 model = "HuaWei HG255D";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x1000000>;
27 reg = <0x40000 0x20000>;
31 factory: partition@60000 {
33 reg = <0x60000 0x20000>;
39 reg = <0x80000 0xf60000>;
43 label = "factory-orig";
44 reg = <0xfa0000 0x20000>;
50 compatible = "gpio-leds";
53 label = "hg255d:green:power";
58 label = "hg255d:green:internet";
59 gpios = <&gpio0 13 1>;
63 label = "hg255d:green:wlan";
64 gpios = <&gpio0 14 1>;
68 label = "hg255d:green:usb";
73 label = "hg255d:green:wps";
74 gpios = <&gpio0 12 1>;
78 label = "hg255d:green:voice";
84 compatible = "gpio-keys-polled";
92 linux,code = <KEY_RESTART>;
97 gpios = <&gpio0 10 1>;
98 linux,code = <KEY_WPS_BUTTON>;
103 gpios = <&gpio0 0 1>;
104 linux,code = <KEY_RFKILL>;
110 state_default: pinctrl0 {
112 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
113 ralink,function = "gpio";
119 mtd-mac-address = <&factory 0x28>;
123 mediatek,portmap = <0x2f>;
127 ralink,mtd-eeprom = <&factory 0>;