5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netcore,nw718", "ralink,rt3050-soc";
10 model = "Netcore NW718";
14 led-failsafe = &led_cpu;
15 led-running = &led_cpu;
16 led-upgrade = &led_cpu;
20 compatible = "gpio-leds";
23 label = "nw718:amber:cpu";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
28 label = "nw718:amber:usb";
29 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&otg_port1>;
31 linux,default-trigger = "usbport";
35 label = "nw718:amber:wps";
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys-polled";
46 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <25000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x20000>;
83 factory: partition@50000 {
85 reg = <0x50000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x60000 0x3a0000>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;