3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "netcore,nw718", "ralink,rt3050-soc";
8 model = "Netcore NW718";
12 led-failsafe = &led_cpu;
13 led-running = &led_cpu;
14 led-upgrade = &led_cpu;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&otg_port1>;
29 linux,default-trigger = "usbport";
34 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <25000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x20000>;
81 factory: partition@50000 {
83 reg = <0x50000 0x10000>;
87 compatible = "fixed-layout";
91 eeprom_factory_0: eeprom@0 {
95 macaddr_factory_4: macaddr@4 {
102 compatible = "denx,uimage";
104 reg = <0x60000 0x3a0000>;
112 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
118 nvmem-cells = <&macaddr_factory_4>;
119 nvmem-cell-names = "mac-address";
123 mediatek,portmap = <0x2f>;
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";