3 /include/ "rt2880.dtsi"
8 compatible = "WZR-AGL300NH", "ralink,rt2880-soc";
9 model = "Buffalo WZR-AGL300NH";
18 state_default: pinctrl0 {
20 ralink,group = "i2c", "uartlite", "mdio";
21 ralink,function = "gpio";
27 compatible = "cfi-flash";
28 reg = <0x1f000000 0x800000>;
42 reg = <0x30000 0x10000>;
46 factory: partition@40000 {
48 reg = <0x40000 0x10000>;
54 reg = <0x50000 0x3b0000>;
60 mtd-mac-address = <&factory 0x4>;
63 ralink,fixed-link = <1000 1 1 1>;
69 phy0: ethernet-phy@0 {
77 compatible = "realtek,rtl8366s";
78 gpio-sda = <&gpio0 1 0>;
79 gpio-sck = <&gpio0 2 0>;
83 ralink,mtd-eeprom = <&factory 0>;
87 compatible = "gpio-keys-polled";
90 poll-interval = <100>;
99 label = "router_switch";
100 gpios = <&gpio0 7 0>;
101 linux,code = <0x100>;
106 gpios = <&gpio0 9 1>;
107 linux,code = <0x198>;
112 compatible = "gpio-leds";
115 label = "wzr-agl300nh:green:router";
116 gpios = <&gpio0 8 1>;
120 label = "wzr-agl300nh:red:diag";
121 gpios = <&gpio0 12 1>;
125 label = "wzr-agl300nh:orange:security_g";
126 gpios = <&gpio0 11 1>;
130 label = "wzr-agl300nh:orange:security_n";
131 gpios = <&gpio0 13 1>;
136 pcibus0: pci@00440000 {
137 compatible = "ralink,rt288x-pci";
138 reg = <0x00440000 0x20000>;
139 #address-cells = <1>;