3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "airlink101,ar725w", "ralink,rt2880-soc";
8 model = "Airlink101 AR725W";
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";
34 reg = <0x30000 0x10000>;
38 factory: partition@40000 {
39 compatible = "nvmem-cells";
41 reg = <0x40000 0x10000>;
46 eeprom_factory_0: eeprom@0 {
50 macaddr_factory_4: macaddr@4 {
56 compatible = "denx,uimage";
57 reg = <0x50000 0x3B0000>;
64 compatible = "gpio-leds";
67 label = "green:power";
68 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
73 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
83 compatible = "gpio-keys-polled";
84 poll-interval = <100>;
88 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_WPS_BUTTON>;
94 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_RESTART>;
102 groups = "i2c", "spi", "uartlite";
109 nvmem-cells = <&macaddr_factory_4>;
110 nvmem-cell-names = "mac-address";
113 phy-handle = <&phy0>;
120 phy0: ethernet-phy@0 {
128 nvmem-cells = <&eeprom_factory_0>;
129 nvmem-cell-names = "eeprom";