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-dp150n", "ralink,rt5350-soc";
9 model = "Planex MZK-DP150N";
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_GREEN>;
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
44 compatible = "jedec,spi-nor";
46 spi-max-frequency = <10000000>;
49 compatible = "fixed-partitions";
61 reg = <0x30000 0x10000>;
67 reg = <0x40000 0x10000>;
71 compatible = "fixed-layout";
75 eeprom_factory_0: eeprom@0 {
79 macaddr_factory_4: macaddr@4 {
86 compatible = "denx,uimage";
88 reg = <0x50000 0x3b0000>;
96 compatible = "linux,spidev";
97 spi-max-frequency = <10000000>;
104 groups = "jtag", "uartf", "led";
110 nvmem-cells = <&macaddr_factory_4>;
111 nvmem-cell-names = "mac-address";
115 mediatek,portmap = <0x17>;
119 ralink,led-polarity = <1>;
120 nvmem-cells = <&eeprom_factory_0>;
121 nvmem-cell-names = "eeprom";