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-polled";
59 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
66 linux,code = <KEY_RFKILL>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <10000000>;
88 compatible = "fixed-partitions";
100 reg = <0x30000 0x10000>;
104 factory: partition@40000 {
106 reg = <0x40000 0x10000>;
111 compatible = "denx,uimage";
113 reg = <0x50000 0x730000>;
118 reg = <0x780000 0x80000>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
128 ralink,function = "gpio";
134 pinctrl-names = "default";
135 pinctrl-0 = <&ephy_pins>;
136 mtd-mac-address = <&factory 0x4>;
137 mediatek,portmap = "llllw";
141 ralink,mtd-eeprom = <&factory 0>;