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 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "mzk-ex750np:red:power";
21 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
25 label = "mzk-ex750np:red:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "mzk-ex750np:green:wps";
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 label = "mzk-ex750np:blue:rep";
36 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
40 label = "mzk-ex750np:blue:wifi1";
41 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
45 label = "mzk-ex750np:blue:wifi2";
46 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
50 label = "mzk-ex750np:blue:wifi3";
51 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-keys-polled";
61 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
68 linux,code = <KEY_RFKILL>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
111 reg = <0x50000 0x730000>;
116 reg = <0x780000 0x80000>;
122 state_default: pinctrl0 {
124 ralink,group = "uartf", "nd_sd", "rgmii2", "wled";
125 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>;
147 reg = <0x0000 0 0 0 0>;
148 mediatek,mtd-eeprom = <&factory 0x8000>;