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>;
22 compatible = "fixed-partitions";
32 factory: partition@30000 {
33 reg = <0x30000 0x10000>;
39 reg = <0x40000 0x3c0000>;
46 compatible = "gpio-leds";
49 label = "ar670w:green:power";
50 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
54 label = "ar670w:blue:wps";
55 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys-polled";
61 poll-interval = <100>;
65 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_WPS_BUTTON>;
71 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "spi", "uartlite";
85 ralink,function = "gpio";
92 mtd-mac-address = <&factory 0x2004>;
102 phy0: ethernet-phy@0 {
111 ralink,mtd-eeprom = <&factory 0x2000>;