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>;
34 reg = <0x30000 0x10000>;
38 factory: partition@40000 {
40 reg = <0x40000 0x10000>;
46 reg = <0x50000 0x3b0000>;
51 compatible = "gpio-keys-polled";
54 poll-interval = <100>;
58 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_RESTART>;
70 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
76 compatible = "gpio-leds";
79 label = "wli-tx4-ag300n:red:diag";
80 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
84 label = "wli-tx4-ag300n:blue:power";
85 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
89 label = "wli-tx4-ag300n:blue:security";
90 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
101 mtd-mac-address = <&factory 0x4>;
104 mediatek,fixed-link = <100 1 1 1>;
110 phy0: ethernet-phy@0 {
118 ralink,mtd-eeprom = <&factory 0>;