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-status = &led_power;
17 compatible = "cfi-flash";
18 reg = <0xbc400000 0x800000>;
29 factory: factory@30000 {
30 reg = <0x30000 0x10000>;
36 reg = <0x40000 0x3c0000>;
42 compatible = "gpio-leds";
45 label = "ar670w:green:power";
46 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
50 label = "ar670w:blue:wps";
51 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-keys-polled";
59 poll-interval = <100>;
63 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RESTART>;
80 state_default: pinctrl0 {
82 ralink,group = "i2c", "spi", "uartlite";
83 ralink,function = "gpio";
90 mtd-mac-address = <&factory 0x2004>;
100 phy0: ethernet-phy@0 {
109 ralink,mtd-eeprom = <&factory 0x2000>;