5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
11 compatible = "buffalo,wli-tx4-ag300n", "ralink,rt2880-soc";
12 model = "Buffalo WLI-TX4-AG300N";
15 led-status = &led_power;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
49 reg = <0x50000 0x3b0000>;
55 compatible = "gpio-keys-polled";
56 poll-interval = <100>;
60 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
67 linux,code = <KEY_RESTART>;
72 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
78 compatible = "gpio-leds";
81 label = "wli-tx4-ag300n:red:diag";
82 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
86 label = "wli-tx4-ag300n:blue:power";
87 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
91 label = "wli-tx4-ag300n:blue:security";
92 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
103 mtd-mac-address = <&factory 0x4>;
106 mediatek,fixed-link = <100 1 1 1>;
112 phy0: ethernet-phy@0 {
120 ralink,mtd-eeprom = <&factory 0>;