3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "netcore,nw718", "ralink,rt3050-soc";
9 model = "Netcore NW718";
13 led-failsafe = &led_cpu;
14 led-running = &led_cpu;
15 led-upgrade = &led_cpu;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_CPU;
23 color = <LED_COLOR_ID_AMBER>;
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_USB;
29 color = <LED_COLOR_ID_AMBER>;
30 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&otg_port1>;
32 linux,default-trigger = "usbport";
36 function = LED_FUNCTION_WPS;
37 color = <LED_COLOR_ID_AMBER>;
38 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x20000>;
87 reg = <0x50000 0x10000>;
91 compatible = "fixed-layout";
95 eeprom_factory_0: eeprom@0 {
99 macaddr_factory_4: macaddr@4 {
106 compatible = "denx,uimage";
108 reg = <0x60000 0x3a0000>;
116 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
122 nvmem-cells = <&macaddr_factory_4>;
123 nvmem-cell-names = "mac-address";
127 mediatek,portmap = <0x2f>;
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";