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";
52 poll-interval = <100>;
56 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
63 linux,code = <KEY_RESTART>;
68 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
74 compatible = "gpio-leds";
77 label = "wli-tx4-ag300n:red:diag";
78 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
82 label = "wli-tx4-ag300n:blue:power";
83 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
87 label = "wli-tx4-ag300n:blue:security";
88 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
99 mtd-mac-address = <&factory 0x4>;
102 mediatek,fixed-link = <100 1 1 1>;
108 phy0: ethernet-phy@0 {
116 ralink,mtd-eeprom = <&factory 0>;