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";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
89 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
93 label = "blue:security";
94 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
101 nvmem-cells = <&macaddr_factory_4>;
102 nvmem-cell-names = "mac-address";
105 mediatek,fixed-link = <100 1 1 1>;
111 phy0: ethernet-phy@0 {
119 ralink,mtd-eeprom = <&factory 0x0>;
123 compatible = "nvmem-cells";
124 #address-cells = <1>;
127 macaddr_factory_4: macaddr@4 {