1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc";
8 model = "Planex MZK-EX300NP";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys";
56 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
63 linux,code = <KEY_RFKILL>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
85 compatible = "fixed-partitions";
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
108 compatible = "denx,uimage";
110 reg = <0x50000 0x730000>;
115 reg = <0x780000 0x80000>;
123 groups = "i2c", "spi refclk", "rgmii1", "wled";
129 pinctrl-names = "default";
130 pinctrl-0 = <&ephy_pins>;
132 nvmem-cells = <&macaddr_factory_4>;
133 nvmem-cell-names = "mac-address";
135 mediatek,portmap = "llllw";
139 ralink,mtd-eeprom = <&factory 0x0>;
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 macaddr_factory_4: macaddr@4 {