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-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
28 compatible = "fixed-partitions";
40 reg = <0x30000 0x10000>;
44 factory: partition@40000 {
46 reg = <0x40000 0x10000>;
51 compatible = "denx,uimage";
53 reg = <0x50000 0x3b0000>;
59 compatible = "gpio-keys-polled";
60 poll-interval = <100>;
64 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
71 linux,code = <KEY_RESTART>;
76 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
82 compatible = "gpio-leds";
85 label = "wli-tx4-ag300n:red:diag";
86 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
90 label = "wli-tx4-ag300n:blue:power";
91 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
95 label = "wli-tx4-ag300n:blue:security";
96 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
107 mtd-mac-address = <&factory 0x4>;
110 mediatek,fixed-link = <100 1 1 1>;
116 phy0: ethernet-phy@0 {
124 ralink,mtd-eeprom = <&factory 0>;