5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,mzk-w300nh2", "ralink,rt3052-soc";
10 model = "Planex MZK-W300NH2";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x3e0000 0x20000>;
46 reg = <0x50000 0x390000>;
51 compatible = "gpio-leds";
54 label = "mzk-w300nh2:green:power";
55 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
59 label = "mzk-w300nh2:amber:wlan";
60 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
64 label = "mzk-w300nh2:amber:wps";
65 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys-polled";
77 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_WPS_BUTTON>;
83 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RESTART>;
89 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
96 state_default: pinctrl0 {
98 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
99 ralink,function = "gpio";
105 mtd-mac-address = <&factory 0x4>;
109 mediatek,portmap = <0x2f>;
113 ralink,mtd-eeprom = <&factory 0>;