3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc";
10 model = "Planex MZK-EX300NP";
13 led-status = &led_wps;
17 compatible = "gpio-leds";
20 label = "mzk-ex300np:green:wifi";
21 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
25 label = "mzk-ex300np:green:wps";
26 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
30 label = "mzk-ex300np:blue:rep";
31 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
35 label = "mzk-ex300np:blue:wifi1";
36 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
40 label = "mzk-ex300np:blue:wifi2";
41 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
45 label = "mzk-ex300np:blue:wifi3";
46 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
58 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_RFKILL>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
108 reg = <0x50000 0x730000>;
113 reg = <0x780000 0x80000>;
119 state_default: pinctrl0 {
121 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
122 ralink,function = "gpio";
128 pinctrl-names = "default";
129 pinctrl-0 = <&ephy_pins>;
130 mtd-mac-address = <&factory 0x4>;
131 mediatek,portmap = "llllw";
135 ralink,mtd-eeprom = <&factory 0>;