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 {
102 compatible = "nvmem-cells";
104 reg = <0x40000 0x10000>;
105 #address-cells = <1>;
109 eeprom_factory_0: eeprom@0 {
113 macaddr_factory_4: macaddr@4 {
119 compatible = "denx,uimage";
121 reg = <0x50000 0x730000>;
126 reg = <0x780000 0x80000>;
134 groups = "i2c", "spi refclk", "rgmii1", "wled";
140 pinctrl-names = "default";
141 pinctrl-0 = <&ephy_pins>;
143 nvmem-cells = <&macaddr_factory_4>;
144 nvmem-cell-names = "mac-address";
146 mediatek,portmap = "llllw";
150 nvmem-cells = <&eeprom_factory_0>;
151 nvmem-cell-names = "eeprom";