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>;
48 compatible = "fixed-layout";
52 eeprom_factory_0: eeprom@0 {
56 macaddr_factory_4: macaddr@4 {
63 compatible = "denx,uimage";
65 reg = <0x50000 0x3b0000>;
71 compatible = "gpio-keys-polled";
72 poll-interval = <100>;
76 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
83 linux,code = <KEY_RESTART>;
88 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_RESTART>;
94 compatible = "gpio-leds";
98 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
102 label = "blue:power";
103 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
107 label = "blue:security";
108 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
115 nvmem-cells = <&macaddr_factory_4>;
116 nvmem-cell-names = "mac-address";
119 mediatek,fixed-link = <100 1 1 1>;
125 phy0: ethernet-phy@0 {
133 nvmem-cells = <&eeprom_factory_0>;
134 nvmem-cell-names = "eeprom";