1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "planex,mzk-ex750np", "ralink,mt7620a-soc";
8 model = "Planex MZK-EX750NP";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-keys";
61 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
68 linux,code = <KEY_RFKILL>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <10000000>;
90 compatible = "fixed-partitions";
101 label = "u-boot-env";
102 reg = <0x30000 0x10000>;
106 factory: partition@40000 {
107 compatible = "nvmem-cells";
109 reg = <0x40000 0x10000>;
110 #address-cells = <1>;
114 eeprom_factory_0: eeprom@0 {
118 eeprom_factory_8000: eeprom@8000 {
119 reg = <0x8000 0x200>;
122 macaddr_factory_4: macaddr@4 {
128 compatible = "denx,uimage";
130 reg = <0x50000 0x730000>;
135 reg = <0x780000 0x80000>;
143 groups = "uartf", "nd_sd", "rgmii2", "wled";
149 pinctrl-names = "default";
150 pinctrl-0 = <&ephy_pins>;
152 nvmem-cells = <&macaddr_factory_4>;
153 nvmem-cell-names = "mac-address";
155 mediatek,portmap = "llllw";
159 nvmem-cells = <&eeprom_factory_0>;
160 nvmem-cell-names = "eeprom";
169 reg = <0x0000 0 0 0 0>;
170 nvmem-cells = <&eeprom_factory_8000>;
171 nvmem-cell-names = "eeprom";