3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zorlik,zl5900v2", "ralink,rt5350-soc";
9 model = "Zorlik ZL5900V2";
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_LAN;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
73 reg = <0x40000 0x10000>;
77 compatible = "fixed-layout";
81 eeprom_factory_0: eeprom@0 {
85 macaddr_factory_4: macaddr@4 {
92 compatible = "denx,uimage";
94 reg = <0x50000 0x7b0000>;
102 groups = "jtag", "uartf";
108 nvmem-cells = <&macaddr_factory_4>;
109 nvmem-cell-names = "mac-address";
113 mediatek,portdisable = <0x2f>;
117 nvmem-cells = <&eeprom_factory_0>;
118 nvmem-cell-names = "eeprom";