3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "airlink101,ar725w", "ralink,rt2880-soc";
9 model = "Airlink101 AR725W";
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>;
39 factory: partition@40000 {
40 reg = <0x40000 0x10000>;
45 compatible = "fixed-layout";
49 eeprom_factory_0: eeprom@0 {
53 macaddr_factory_4: macaddr@4 {
60 compatible = "denx,uimage";
61 reg = <0x50000 0x3B0000>;
68 compatible = "gpio-leds";
71 function = LED_FUNCTION_POWER;
72 color = <LED_COLOR_ID_GREEN>;
73 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
77 function = LED_FUNCTION_WPS;
78 color = <LED_COLOR_ID_RED>;
79 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
83 function = LED_FUNCTION_WPS;
84 color = <LED_COLOR_ID_BLUE>;
85 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
90 compatible = "gpio-keys-polled";
91 poll-interval = <100>;
95 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_WPS_BUTTON>;
101 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_RESTART>;
109 groups = "i2c", "spi", "uartlite";
116 nvmem-cells = <&macaddr_factory_4>;
117 nvmem-cell-names = "mac-address";
120 phy-handle = <&phy0>;
127 phy0: ethernet-phy@0 {
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";