5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "airlink101,ar725w", "ralink,rt2880-soc";
10 model = "Airlink101 AR725W";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0xbc400000 0x800000>;
25 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 compatible = "denx,uimage";
48 reg = <0x50000 0x3B0000>;
55 compatible = "gpio-leds";
58 label = "ar725w:green:power";
59 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
63 label = "ar725w:red:wps";
64 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
68 label = "ar725w:blue:wps";
69 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys-polled";
75 poll-interval = <100>;
79 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_WPS_BUTTON>;
85 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_RESTART>;
96 state_default: pinctrl0 {
98 ralink,group = "i2c", "spi", "uartlite";
99 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x4>;
109 phy-handle = <&phy0>;
116 phy0: ethernet-phy@0 {
125 ralink,mtd-eeprom = <&factory 0>;