5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zorlik,zl5900v2", "ralink,rt5350-soc";
10 model = "Zorlik ZL5900V2";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "zl5900v2:green:lan";
24 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
28 label = "zl5900v2:blue:power";
29 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0x7b0000>;
86 state_default: pinctrl0 {
88 ralink,group = "jtag", "uartf";
89 ralink,function = "gpio";
95 mtd-mac-address = <&factory 0x4>;
99 mediatek,portmap = <0>;
100 mediatek,portdisable = <0x2f>;
104 ralink,mtd-eeprom = <&factory 0>;