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-ex300np", "ralink,mt7620a-soc";
9 model = "Planex MZK-EX300NP";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 compatible = "gpio-leds";
23 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_WPS;
28 color = <LED_COLOR_ID_GREEN>;
29 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
58 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_RFKILL>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
105 reg = <0x40000 0x10000>;
109 compatible = "fixed-layout";
110 #address-cells = <1>;
113 eeprom_factory_0: eeprom@0 {
117 macaddr_factory_4: macaddr@4 {
124 compatible = "denx,uimage";
126 reg = <0x50000 0x730000>;
131 reg = <0x780000 0x80000>;
139 groups = "i2c", "spi refclk", "rgmii1", "wled";
145 pinctrl-names = "default";
146 pinctrl-0 = <&ephy_pins>;
148 nvmem-cells = <&macaddr_factory_4>;
149 nvmem-cell-names = "mac-address";
151 mediatek,portmap = "llllw";
155 nvmem-cells = <&eeprom_factory_0>;
156 nvmem-cell-names = "eeprom";