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 compatible = "nvmem-cells";
36 reg = <0x30000 0x10000>;
41 eeprom_factory_2000: eeprom@2000 {
45 macaddr_factory_2004: macaddr@2004 {
52 reg = <0x40000 0x3c0000>;
59 compatible = "gpio-leds";
62 label = "green:power";
63 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys-polled";
74 poll-interval = <100>;
78 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
92 groups = "i2c", "spi", "uartlite";
99 nvmem-cells = <&macaddr_factory_2004>;
100 nvmem-cell-names = "mac-address";
103 phy-handle = <&phy0>;
110 phy0: ethernet-phy@0 {
118 nvmem-cells = <&eeprom_factory_2000>;
119 nvmem-cell-names = "eeprom";