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";
13 led-status = &led_cpu;
17 compatible = "gpio-leds";
20 label = "nw718:amber:cpu";
21 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 label = "nw718:amber:usb";
26 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&otg_port1>;
28 linux,default-trigger = "usbport";
32 label = "nw718:amber:wps";
33 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <25000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x20000>;
80 factory: partition@50000 {
82 reg = <0x50000 0x10000>;
88 reg = <0x60000 0x3a0000>;
95 state_default: pinctrl0 {
97 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
98 ralink,function = "gpio";
104 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = <0x2f>;
112 ralink,mtd-eeprom = <&factory 0>;