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>;
22 compatible = "fixed-partitions";
33 reg = <0x30000 0x10000>;
37 factory: partition@40000 {
38 reg = <0x40000 0x10000>;
44 reg = <0x50000 0x3B0000>;
51 compatible = "gpio-leds";
54 label = "ar725w:green:power";
55 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
59 label = "ar725w:red:wps";
60 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
64 label = "ar725w:blue:wps";
65 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys-polled";
71 poll-interval = <100>;
75 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>;
81 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
92 state_default: pinctrl0 {
94 ralink,group = "i2c", "spi", "uartlite";
95 ralink,function = "gpio";
102 mtd-mac-address = <&factory 0x4>;
105 phy-handle = <&phy0>;
112 phy0: ethernet-phy@0 {
121 ralink,mtd-eeprom = <&factory 0>;