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>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <10000000>;
90 compatible = "fixed-partitions";
101 label = "u-boot-env";
102 reg = <0x30000 0x10000>;
106 factory: partition@40000 {
108 reg = <0x40000 0x10000>;
114 reg = <0x50000 0x730000>;
119 reg = <0x780000 0x80000>;
126 state_default: pinctrl0 {
128 ralink,group = "uartf", "nd_sd", "rgmii2", "wled";
129 ralink,function = "gpio";
135 pinctrl-names = "default";
136 pinctrl-0 = <&ephy_pins>;
137 mtd-mac-address = <&factory 0x4>;
138 mediatek,portmap = "llllw";
142 ralink,mtd-eeprom = <&factory 0>;
151 reg = <0x0000 0 0 0 0>;
152 mediatek,mtd-eeprom = <&factory 0x8000>;