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";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 compatible = "gpio-leds";
23 label = "mzk-ex300np:green:wifi";
24 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
28 label = "mzk-ex300np:green:wps";
29 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
33 label = "mzk-ex300np:blue:rep";
34 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
38 label = "mzk-ex300np:blue:wifi1";
39 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
43 label = "mzk-ex300np:blue:wifi2";
44 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
48 label = "mzk-ex300np:blue:wifi3";
49 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
58 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_RFKILL>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x50000 0x730000>;
117 reg = <0x780000 0x80000>;
125 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
126 ralink,function = "gpio";
131 pinctrl-names = "default";
132 pinctrl-0 = <&ephy_pins>;
133 mtd-mac-address = <&factory 0x4>;
134 mediatek,portmap = "llllw";
138 ralink,mtd-eeprom = <&factory 0>;