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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "mzk-ex750np:red:power";
24 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
28 label = "mzk-ex750np:red:wifi";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
33 label = "mzk-ex750np:green:wps";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
38 label = "mzk-ex750np:blue:rep";
39 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
43 label = "mzk-ex750np:blue:wifi1";
44 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
48 label = "mzk-ex750np:blue:wifi2";
49 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
53 label = "mzk-ex750np:blue:wifi3";
54 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys";
63 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_RESTART>;
69 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
70 linux,code = <KEY_RFKILL>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x30000 0x10000>;
108 factory: partition@40000 {
110 reg = <0x40000 0x10000>;
115 compatible = "denx,uimage";
117 reg = <0x50000 0x730000>;
122 reg = <0x780000 0x80000>;
129 state_default: pinctrl0 {
131 ralink,group = "uartf", "nd_sd", "rgmii2", "wled";
132 ralink,function = "gpio";
138 pinctrl-names = "default";
139 pinctrl-0 = <&ephy_pins>;
140 mtd-mac-address = <&factory 0x4>;
141 mediatek,portmap = "llllw";
145 ralink,mtd-eeprom = <&factory 0>;
154 reg = <0x0000 0 0 0 0>;
155 mediatek,mtd-eeprom = <&factory 0x8000>;