3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
10 compatible = "buffalo,wli-tx4-ag300n", "ralink,rt2880-soc";
11 model = "Buffalo WLI-TX4-AG300N";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "cfi-flash";
22 reg = <0x1f000000 0x800000>;
27 compatible = "fixed-partitions";
39 reg = <0x30000 0x10000>;
43 factory: partition@40000 {
45 reg = <0x40000 0x10000>;
49 compatible = "fixed-layout";
53 eeprom_factory_0: eeprom@0 {
57 macaddr_factory_4: macaddr@4 {
64 compatible = "denx,uimage";
66 reg = <0x50000 0x3b0000>;
72 compatible = "gpio-keys-polled";
73 poll-interval = <100>;
77 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_WPS_BUTTON>;
83 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
84 linux,code = <KEY_RESTART>;
89 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
95 compatible = "gpio-leds";
99 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
103 function = LED_FUNCTION_POWER;
104 color = <LED_COLOR_ID_BLUE>;
105 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
109 label = "blue:security";
110 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
117 nvmem-cells = <&macaddr_factory_4>;
118 nvmem-cell-names = "mac-address";
121 mediatek,fixed-link = <100 1 1 1>;
127 phy0: ethernet-phy@0 {
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";