5 #include <dt-bindings/input/input.h>
10 compatible = "WZR-AGL300NH", "ralink,rt2880-soc";
11 model = "Buffalo WZR-AGL300NH";
14 compatible = "ralink,rt288x-pci";
15 reg = <0x00440000 0x20000>;
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
49 reg = <0x50000 0x3b0000>;
54 compatible = "realtek,rtl8366s";
55 gpio-sda = <&gpio0 1 0>;
56 gpio-sck = <&gpio0 2 0>;
60 compatible = "gpio-keys-polled";
63 poll-interval = <100>;
68 linux,code = <KEY_WPS_BUTTON>;
72 label = "router_switch";
80 linux,code = <KEY_RESTART>;
85 compatible = "gpio-leds";
88 label = "wzr-agl300nh:green:router";
93 label = "wzr-agl300nh:red:diag";
94 gpios = <&gpio0 12 1>;
98 label = "wzr-agl300nh:orange:security_g";
99 gpios = <&gpio0 11 1>;
103 label = "wzr-agl300nh:orange:security_n";
104 gpios = <&gpio0 13 1>;
114 state_default: pinctrl0 {
116 ralink,group = "i2c", "uartlite", "mdio";
117 ralink,function = "gpio";
124 mtd-mac-address = <&factory 0x4>;
127 mediatek,fixed-link = <1000 1 1 1>;
133 phy0: ethernet-phy@0 {
141 ralink,mtd-eeprom = <&factory 0>;