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";
57 poll-interval = <100>;
61 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
67 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_RESTART>;
78 state_default: pinctrl0 {
80 ralink,group = "i2c", "spi", "uartlite";
81 ralink,function = "gpio";
88 mtd-mac-address = <&factory 0x2004>;
98 phy0: ethernet-phy@0 {
107 ralink,mtd-eeprom = <&factory 0x2000>;