5 #include <dt-bindings/input/input.h>
10 compatible = "WZR-AGL300NH", "ralink,rt2880-soc";
11 model = "Buffalo WZR-AGL300NH";
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
33 reg = <0x30000 0x10000>;
37 factory: partition@40000 {
39 reg = <0x40000 0x10000>;
45 reg = <0x50000 0x3b0000>;
50 compatible = "realtek,rtl8366s";
51 gpio-sda = <&gpio0 1 0>;
52 gpio-sck = <&gpio0 2 0>;
56 compatible = "gpio-keys-polled";
59 poll-interval = <100>;
64 linux,code = <KEY_WPS_BUTTON>;
68 label = "router_switch";
76 linux,code = <KEY_RESTART>;
81 compatible = "gpio-leds";
84 label = "wzr-agl300nh:green:router";
89 label = "wzr-agl300nh:red:diag";
90 gpios = <&gpio0 12 1>;
94 label = "wzr-agl300nh:orange:security_g";
95 gpios = <&gpio0 11 1>;
99 label = "wzr-agl300nh:orange:security_n";
100 gpios = <&gpio0 13 1>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "uartlite", "mdio";
113 ralink,function = "gpio";
120 mtd-mac-address = <&factory 0x4>;
123 mediatek,fixed-link = <1000 1 1 1>;
129 phy0: ethernet-phy@0 {
137 ralink,mtd-eeprom = <&factory 0>;