3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "airlink101,ar670w", "ralink,rt2880-soc";
9 model = "Airlink101 AR670W";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "cfi-flash";
20 reg = <0xbc400000 0x800000>;
24 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
40 compatible = "fixed-layout";
44 eeprom_factory_2000: eeprom@2000 {
48 macaddr_factory_2004: macaddr@2004 {
56 reg = <0x40000 0x3c0000>;
63 compatible = "gpio-leds";
66 function = LED_FUNCTION_POWER;
67 color = <LED_COLOR_ID_GREEN>;
68 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
72 function = LED_FUNCTION_WPS;
73 color = <LED_COLOR_ID_BLUE>;
74 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
80 poll-interval = <100>;
84 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_WPS_BUTTON>;
90 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
98 groups = "i2c", "spi", "uartlite";
105 nvmem-cells = <&macaddr_factory_2004>;
106 nvmem-cell-names = "mac-address";
109 phy-handle = <&phy0>;
116 phy0: ethernet-phy@0 {
124 nvmem-cells = <&eeprom_factory_2000>;
125 nvmem-cell-names = "eeprom";