3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
9 compatible = "buffalo,wli-tx4-ag300n", "ralink,rt2880-soc";
10 model = "Buffalo WLI-TX4-AG300N";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
49 compatible = "denx,uimage";
51 reg = <0x50000 0x3b0000>;
57 compatible = "gpio-keys-polled";
58 poll-interval = <100>;
62 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
68 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
69 linux,code = <KEY_RESTART>;
74 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
80 compatible = "gpio-leds";
83 label = "wli-tx4-ag300n:red:diag";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
88 label = "wli-tx4-ag300n:blue:power";
89 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
93 label = "wli-tx4-ag300n:blue:security";
94 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
105 mtd-mac-address = <&factory 0x4>;
108 mediatek,fixed-link = <100 1 1 1>;
114 phy0: ethernet-phy@0 {
122 ralink,mtd-eeprom = <&factory 0x0>;