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 {
43 compatible = "nvmem-cells";
45 reg = <0x40000 0x10000>;
50 eeprom_factory_0: eeprom@0 {
54 macaddr_factory_4: macaddr@4 {
60 compatible = "denx,uimage";
62 reg = <0x50000 0x3b0000>;
68 compatible = "gpio-keys-polled";
69 poll-interval = <100>;
73 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
79 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
80 linux,code = <KEY_RESTART>;
85 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_RESTART>;
91 compatible = "gpio-leds";
95 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
104 label = "blue:security";
105 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
112 nvmem-cells = <&macaddr_factory_4>;
113 nvmem-cell-names = "mac-address";
116 mediatek,fixed-link = <100 1 1 1>;
122 phy0: ethernet-phy@0 {
130 nvmem-cells = <&eeprom_factory_0>;
131 nvmem-cell-names = "eeprom";