3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "airlink101,ar670w", "ralink,rt2880-soc";
8 model = "Airlink101 AR670W";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "cfi-flash";
19 reg = <0xbc400000 0x800000>;
23 compatible = "fixed-partitions";
33 factory: partition@30000 {
34 reg = <0x30000 0x10000>;
41 reg = <0x40000 0x3c0000>;
48 compatible = "gpio-leds";
51 label = "ar670w:green:power";
52 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
56 label = "ar670w:blue:wps";
57 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys-polled";
63 poll-interval = <100>;
67 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
73 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
85 groups = "i2c", "spi", "uartlite";
92 mtd-mac-address = <&factory 0x2004>;
102 phy0: ethernet-phy@0 {
111 ralink,mtd-eeprom = <&factory 0x2000>;