3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,mzk-ex750np", "ralink,mt7620a-soc";
10 model = "Planex MZK-EX750NP";
13 compatible = "gpio-leds";
16 label = "mzk-ex750np:red:power";
17 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
21 label = "mzk-ex750np:red:wifi";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
26 label = "mzk-ex750np:green:wps";
27 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
31 label = "mzk-ex750np:blue:rep";
32 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
36 label = "mzk-ex750np:blue:wifi1";
37 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
41 label = "mzk-ex750np:blue:wifi2";
42 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
46 label = "mzk-ex750np:blue:wifi3";
47 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys-polled";
59 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
66 linux,code = <KEY_RFKILL>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <10000000>;
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
109 reg = <0x50000 0x730000>;
114 reg = <0x780000 0x80000>;
120 state_default: pinctrl0 {
122 ralink,group = "uartf", "nd_sd", "rgmii2", "wled";
123 ralink,function = "gpio";
129 pinctrl-names = "default";
130 pinctrl-0 = <&ephy_pins>;
131 mtd-mac-address = <&factory 0x4>;
132 mediatek,portmap = "llllw";
136 ralink,mtd-eeprom = <&factory 0>;
144 reg = <0x0000 0 0 0 0>;
146 mediatek,mtd-eeprom = <&factory 0x8000>;