5 #include <dt-bindings/input/input.h>
8 model = "WBMR300 - Buffalo WBMR-300HPD";
12 led-failsafe = &diag_r;
13 led-running = &power_g;
16 led-internet = &router_g;
21 reg = <0x0 0x4000000>;
25 gpio: pinmux@E100B10 {
26 pinctrl-names = "default";
27 pinctrl-0 = <&state_default>;
29 state_default: pinmux {
31 lantiq,groups = "mdio";
32 lantiq,function = "mdio";
37 lantiq,open-drain = <0>;
46 pins_spi_default: pins_spi_default {
48 lantiq,groups = "spi_di";
49 lantiq,function = "spi";
52 lantiq,groups = "spi_do", "spi_clk",
54 lantiq,function = "spi";
62 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
63 lantiq,portmask = <0x3>;
68 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
73 compatible = "lantiq,phy-xrx200";
74 firmware = "lantiq/vr9_phy22f_a2x.bin";
79 compatible = "gpio-poweroff";
80 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
84 compatible = "gpio-keys-polled";
87 poll-interval = <100>;
91 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_POWER>;
97 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_RESTART>;
103 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_WPS_BUTTON>;
109 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
110 linux,code = <BTN_0>;
111 linux,input-type = <EV_SW>;
116 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
117 linux,code = <BTN_1>;
118 linux,input-type = <EV_SW>;
123 compatible = "gpio-leds";
126 label = "wbmr300:red:diag";
127 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
128 default_state = "off";
132 label = "wbmr300:green:wifi";
133 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
138 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
142 label = "wbmr300:yellow:router";
143 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
147 label = "wbmr300:yellow:wifi";
148 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
152 label = "wbmr300:green:lan1";
153 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
157 label = "wbmr300:green:wan";
158 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
162 label = "wbmr300:green:lan3";
163 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
167 label = "wbmr300:green:lan2";
168 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
171 internet_g: internet_g {
172 label = "wbmr300:green:internet";
173 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
176 internet_y: internet_y {
177 label = "wbmr300:yellow:internet";
178 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
182 label = "wbmr300:green:router";
183 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
187 label = "wbmr300:green:power";
188 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&pins_spi_default>;
199 #address-cells = <1>;
201 compatible = "jedec,spi-nor";
203 spi-max-frequency = <20000000>;
212 reg = <0x10000 0x10000>;
213 label = "gphyfirmware";
218 reg = <0x20000 0x80000>;
223 reg = <0xa0000 0xf40000>;
228 reg = <0xfe0000 0x10000>;
234 reg = <0xff0000 0x2000>;
235 label = "ubootconfig";
239 reg = <0xff3000 0x2000>;
240 label = "board_config";
248 compatible = "lantiq,xrx200-pdi";
249 #address-cells = <1>;
255 compatible = "lantiq,xrx200-pdi-port";
258 phy-handle = <&phy13>;
261 compatible = "lantiq,xrx200-pdi-port";
264 phy-handle = <&phy14>;
267 compatible = "lantiq,xrx200-pdi-port";
270 phy-handle = <&phy11>;
273 compatible = "lantiq,xrx200-pdi-port";
276 phy-handle = <&phy12>;
281 #address-cells = <1>;
283 compatible = "lantiq,xrx200-mdio";
284 phy11: ethernet-phy@11 {
286 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
288 phy12: ethernet-phy@12 {
290 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
292 phy13: ethernet-phy@13 {
294 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
296 phy14: ethernet-phy@14 {
298 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";