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>;
39 compatible = "fixed-layout";
43 eeprom_factory_2000: eeprom@2000 {
47 macaddr_factory_2004: macaddr@2004 {
55 reg = <0x40000 0x3c0000>;
62 compatible = "gpio-leds";
65 label = "green:power";
66 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-keys-polled";
77 poll-interval = <100>;
81 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_RESTART>;
95 groups = "i2c", "spi", "uartlite";
102 nvmem-cells = <&macaddr_factory_2004>;
103 nvmem-cell-names = "mac-address";
106 phy-handle = <&phy0>;
113 phy0: ethernet-phy@0 {
121 nvmem-cells = <&eeprom_factory_2000>;
122 nvmem-cell-names = "eeprom";