3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "planex,mzk-dp150n", "ralink,rt5350-soc";
8 model = "Planex MZK-DP150N";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "green:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
42 compatible = "jedec,spi-nor";
44 spi-max-frequency = <10000000>;
47 compatible = "fixed-partitions";
59 reg = <0x30000 0x10000>;
63 factory: partition@40000 {
65 reg = <0x40000 0x10000>;
69 compatible = "fixed-layout";
73 eeprom_factory_0: eeprom@0 {
77 macaddr_factory_4: macaddr@4 {
84 compatible = "denx,uimage";
86 reg = <0x50000 0x3b0000>;
94 compatible = "linux,spidev";
95 spi-max-frequency = <10000000>;
102 groups = "jtag", "uartf", "led";
108 nvmem-cells = <&macaddr_factory_4>;
109 nvmem-cell-names = "mac-address";
113 mediatek,portmap = <0x17>;
117 ralink,led-polarity = <1>;
118 nvmem-cells = <&eeprom_factory_0>;
119 nvmem-cell-names = "eeprom";