5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "airlink101,ar670w", "ralink,rt2880-soc";
10 model = "Airlink101 AR670W";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0xbc400000 0x800000>;
25 compatible = "fixed-partitions";
35 factory: partition@30000 {
36 reg = <0x30000 0x10000>;
43 reg = <0x40000 0x3c0000>;
50 compatible = "gpio-leds";
53 label = "ar670w:green:power";
54 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
58 label = "ar670w:blue:wps";
59 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys-polled";
65 poll-interval = <100>;
69 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_WPS_BUTTON>;
75 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
87 ralink,group = "i2c", "spi", "uartlite";
88 ralink,function = "gpio";
94 mtd-mac-address = <&factory 0x2004>;
104 phy0: ethernet-phy@0 {
113 ralink,mtd-eeprom = <&factory 0x2000>;