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 compatible = "gpio-leds";
16 label = "mzk-750dhp:green:wps";
17 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
21 label = "mzk-750dhp:green:power";
22 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
26 label = "mzk-750dhp:green:wlan5g";
27 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0x7b0000>;
95 state_default: pinctrl0 {
97 ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
98 ralink,function = "gpio";
104 pinctrl-names = "default";
105 pinctrl-0 = <&ephy_pins>;
106 mtd-mac-address = <&factory 0x4>;
107 mediatek,portmap = "llllw";
111 mediatek,port4 = "ephy";
115 ralink,mtd-eeprom = <&factory 0>;
123 reg = <0x0000 0 0 0 0>;
125 mediatek,mtd-eeprom = <&factory 0x8000>;