1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "planex,mzk-750dhp", "ralink,mt7620a-soc";
9 model = "Planex MZK-750DHP";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WPS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
34 label = "green:wlan5g";
35 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys";
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>;
95 compatible = "fixed-layout";
99 eeprom_factory_0: eeprom@0 {
103 eeprom_factory_8000: eeprom@8000 {
104 reg = <0x8000 0x200>;
107 macaddr_factory_4: macaddr@4 {
114 compatible = "denx,uimage";
116 reg = <0x50000 0x7b0000>;
124 groups = "i2c", "spi refclk", "rgmii1", "nd_sd";
130 pinctrl-names = "default";
131 pinctrl-0 = <&ephy_pins>;
133 nvmem-cells = <&macaddr_factory_4>;
134 nvmem-cell-names = "mac-address";
136 mediatek,portmap = "llllw";
140 nvmem-cells = <&eeprom_factory_0>;
141 nvmem-cell-names = "eeprom";
150 reg = <0x0000 0 0 0 0>;
151 nvmem-cells = <&eeprom_factory_8000>;
152 nvmem-cell-names = "eeprom";