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-status = &led_power;
17 compatible = "gpio-leds";
20 label = "zl5900v2:green:lan";
21 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
25 label = "zl5900v2:blue:power";
26 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
62 reg = <0x30000 0x10000>;
66 factory: partition@40000 {
68 reg = <0x40000 0x10000>;
74 reg = <0x50000 0x7b0000>;
80 state_default: pinctrl0 {
82 ralink,group = "jtag", "uartf";
83 ralink,function = "gpio";
89 mtd-mac-address = <&factory 0x4>;
93 mediatek,portmap = <0>;
94 mediatek,portdisable = <0x2f>;
98 ralink,mtd-eeprom = <&factory 0>;