5 #include <dt-bindings/input/input.h>
8 compatible = "MZK-W300NH2", "ralink,rt3052-soc";
9 model = "Planex MZK-W300NH2";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
27 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
39 reg = <0x3e0000 0x20000>;
45 reg = <0x50000 0x390000>;
50 compatible = "gpio-leds";
53 label = "mzk-w300nh2:green:power";
58 label = "mzk-w300nh2:amber:wlan";
59 gpios = <&gpio0 14 1>;
63 label = "mzk-w300nh2:amber:wps";
64 gpios = <&gpio0 11 1>;
69 compatible = "gpio-keys-polled";
76 gpios = <&gpio0 12 1>;
77 linux,code = <KEY_WPS_BUTTON>;
83 linux,code = <KEY_RESTART>;
88 gpios = <&gpio0 13 1>;
95 state_default: pinctrl0 {
97 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
98 ralink,function = "gpio";
104 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = <0x2f>;
112 ralink,mtd-eeprom = <&factory 0>;