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 compatible = "gpio-leds";
16 label = "mzk-ex300np:green:wifi";
17 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
21 label = "mzk-ex300np:green:wps";
22 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
26 label = "mzk-ex300np:blue:rep";
27 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
31 label = "mzk-ex300np:blue:wifi1";
32 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
36 label = "mzk-ex300np:blue:wifi2";
37 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
41 label = "mzk-ex300np:blue:wifi3";
42 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys-polled";
54 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
61 linux,code = <KEY_RFKILL>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
104 reg = <0x50000 0x730000>;
109 reg = <0x780000 0x80000>;
115 state_default: pinctrl0 {
117 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
118 ralink,function = "gpio";
124 pinctrl-names = "default";
125 pinctrl-0 = <&ephy_pins>;
126 mtd-mac-address = <&factory 0x4>;
127 mediatek,portmap = "llllw";
131 ralink,mtd-eeprom = <&factory 0>;