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-status = &led_power;
17 compatible = "gpio-leds";
20 label = "mzk-750dhp:green:wps";
21 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
25 label = "mzk-750dhp:green:power";
26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 label = "mzk-750dhp:green:wlan5g";
31 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
94 reg = <0x50000 0x7b0000>;
101 state_default: pinctrl0 {
103 ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
104 ralink,function = "gpio";
110 pinctrl-names = "default";
111 pinctrl-0 = <&ephy_pins>;
112 mtd-mac-address = <&factory 0x4>;
113 mediatek,portmap = "llllw";
117 mediatek,port4 = "ephy";
121 ralink,mtd-eeprom = <&factory 0>;
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x8000>;