3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,mzk-750dhp", "ralink,mt7620a-soc";
10 model = "Planex MZK-750DHP";
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-750dhp:green:wps";
24 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
28 label = "mzk-750dhp:green:power";
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
33 label = "mzk-750dhp:green:wlan5g";
34 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
96 compatible = "denx,uimage";
98 reg = <0x50000 0x7b0000>;
105 state_default: pinctrl0 {
107 ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
108 ralink,function = "gpio";
114 pinctrl-names = "default";
115 pinctrl-0 = <&ephy_pins>;
116 mtd-mac-address = <&factory 0x4>;
117 mediatek,portmap = "llllw";
121 mediatek,port4 = "ephy";
125 ralink,mtd-eeprom = <&factory 0>;
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;