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 reg = <0x50000 0x3B0000>;
54 compatible = "gpio-leds";
57 label = "ar725w:green:power";
58 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
62 label = "ar725w:red:wps";
63 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
67 label = "ar725w:blue:wps";
68 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys-polled";
74 poll-interval = <100>;
78 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
95 state_default: pinctrl0 {
97 ralink,group = "i2c", "spi", "uartlite";
98 ralink,function = "gpio";
105 mtd-mac-address = <&factory 0x4>;
108 phy-handle = <&phy0>;
115 phy0: ethernet-phy@0 {
124 ralink,mtd-eeprom = <&factory 0>;