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-status = &led_power;
17 compatible = "cfi-flash";
18 reg = <0xbc400000 0x800000>;
30 reg = <0x30000 0x10000>;
34 factory: factory@40000 {
35 reg = <0x40000 0x10000>;
41 reg = <0x50000 0x3B0000>;
47 compatible = "gpio-leds";
50 label = "ar725w:green:power";
51 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
55 label = "ar725w:red:wps";
56 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
60 label = "ar725w:blue:wps";
61 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-keys-polled";
67 poll-interval = <100>;
71 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_WPS_BUTTON>;
77 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
88 state_default: pinctrl0 {
90 ralink,group = "i2c", "spi", "uartlite";
91 ralink,function = "gpio";
98 mtd-mac-address = <&factory 0x4>;
101 phy-handle = <&phy0>;
108 phy0: ethernet-phy@0 {
117 ralink,mtd-eeprom = <&factory 0>;