5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "airlink101,ar670w", "ralink,rt2880-soc";
10 model = "Airlink101 AR670W";
13 compatible = "cfi-flash";
14 reg = <0xbc400000 0x800000>;
25 factory: factory@30000 {
26 reg = <0x30000 0x10000>;
32 reg = <0x40000 0x3c0000>;
38 compatible = "gpio-leds";
41 label = "ar670w:green:power";
42 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
46 label = "ar670w:blue:wps";
47 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys-polled";
55 poll-interval = <100>;
59 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_RESTART>;
76 state_default: pinctrl0 {
78 ralink,group = "i2c", "spi", "uartlite";
79 ralink,function = "gpio";
86 mtd-mac-address = <&factory 0x2004>;
96 phy0: ethernet-phy@0 {
105 ralink,mtd-eeprom = <&factory 0x2000>;