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-ex750np", "ralink,mt7620a-soc";
9 model = "Planex MZK-EX750NP";
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_POWER;
23 color = <LED_COLOR_ID_RED>;
24 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
33 function = LED_FUNCTION_WPS;
34 color = <LED_COLOR_ID_GREEN>;
35 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys";
64 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
70 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
71 linux,code = <KEY_RFKILL>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <10000000>;
93 compatible = "fixed-partitions";
104 label = "u-boot-env";
105 reg = <0x30000 0x10000>;
111 reg = <0x40000 0x10000>;
115 compatible = "fixed-layout";
116 #address-cells = <1>;
119 eeprom_factory_0: eeprom@0 {
123 eeprom_factory_8000: eeprom@8000 {
124 reg = <0x8000 0x200>;
127 macaddr_factory_4: macaddr@4 {
134 compatible = "denx,uimage";
136 reg = <0x50000 0x730000>;
141 reg = <0x780000 0x80000>;
149 groups = "uartf", "nd_sd", "rgmii2", "wled";
155 pinctrl-names = "default";
156 pinctrl-0 = <&ephy_pins>;
158 nvmem-cells = <&macaddr_factory_4>;
159 nvmem-cell-names = "mac-address";
161 mediatek,portmap = "llllw";
165 nvmem-cells = <&eeprom_factory_0>;
166 nvmem-cell-names = "eeprom";
175 reg = <0x0000 0 0 0 0>;
176 nvmem-cells = <&eeprom_factory_8000>;
177 nvmem-cell-names = "eeprom";