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>;
52 reg = <0x50000 0x3b0000>;
58 compatible = "gpio-keys-polled";
59 poll-interval = <100>;
63 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
70 linux,code = <KEY_RESTART>;
75 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 compatible = "gpio-leds";
84 label = "wli-tx4-ag300n:red:diag";
85 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
89 label = "wli-tx4-ag300n:blue:power";
90 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
94 label = "wli-tx4-ag300n:blue:security";
95 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
106 mtd-mac-address = <&factory 0x4>;
109 mediatek,fixed-link = <100 1 1 1>;
115 phy0: ethernet-phy@0 {
123 ralink,mtd-eeprom = <&factory 0>;