5 #include <dt-bindings/input/input.h>
8 model = "WBMR300 - Buffalo WBMR-300HPD";
11 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
16 led-failsafe = &diag_r;
17 led-running = &power_g;
20 led-internet = &router_g;
25 reg = <0x0 0x4000000>;
29 gpio: pinmux@E100B10 {
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
33 state_default: pinmux {
35 lantiq,groups = "mdio";
36 lantiq,function = "mdio";
41 lantiq,open-drain = <0>;
50 pins_spi_default: pins_spi_default {
52 lantiq,groups = "spi_di";
53 lantiq,function = "spi";
56 lantiq,groups = "spi_do", "spi_clk",
58 lantiq,function = "spi";
66 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
67 lantiq,portmask = <0x3>;
72 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
77 compatible = "lantiq,phy-xrx200";
78 firmware = "lantiq/vr9_phy22f_a2x.bin";
83 compatible = "gpio-poweroff";
84 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
88 compatible = "gpio-keys-polled";
91 poll-interval = <100>;
95 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_POWER>;
101 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_RESTART>;
107 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_WPS_BUTTON>;
113 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
114 linux,code = <BTN_0>;
115 linux,input-type = <EV_SW>;
120 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
121 linux,code = <BTN_1>;
122 linux,input-type = <EV_SW>;
127 compatible = "gpio-leds";
130 label = "wbmr300:red:diag";
131 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
132 default_state = "off";
136 label = "wbmr300:green:wifi";
137 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
142 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
146 label = "wbmr300:yellow:router";
147 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
151 label = "wbmr300:yellow:wifi";
152 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
156 label = "wbmr300:green:lan1";
157 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
161 label = "wbmr300:green:wan";
162 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
166 label = "wbmr300:green:lan3";
167 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
171 label = "wbmr300:green:lan2";
172 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
175 internet_g: internet_g {
176 label = "wbmr300:green:internet";
177 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
180 internet_y: internet_y {
181 label = "wbmr300:yellow:internet";
182 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
186 label = "wbmr300:green:router";
187 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
191 label = "wbmr300:green:power";
192 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pins_spi_default>;
203 #address-cells = <1>;
205 compatible = "jedec,spi-nor";
207 spi-max-frequency = <20000000>;
216 reg = <0x10000 0x10000>;
217 label = "gphyfirmware";
222 reg = <0x20000 0x80000>;
227 reg = <0xa0000 0xf40000>;
232 reg = <0xfe0000 0x10000>;
238 reg = <0xff0000 0x2000>;
239 label = "ubootconfig";
243 reg = <0xff3000 0x2000>;
244 label = "board_config";
252 compatible = "lantiq,xrx200-pdi";
253 #address-cells = <1>;
259 compatible = "lantiq,xrx200-pdi-port";
262 phy-handle = <&phy13>;
265 compatible = "lantiq,xrx200-pdi-port";
268 phy-handle = <&phy14>;
271 compatible = "lantiq,xrx200-pdi-port";
274 phy-handle = <&phy11>;
277 compatible = "lantiq,xrx200-pdi-port";
280 phy-handle = <&phy12>;
285 #address-cells = <1>;
287 compatible = "lantiq,xrx200-mdio";
288 phy11: ethernet-phy@11 {
290 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
292 phy12: ethernet-phy@12 {
294 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
296 phy13: ethernet-phy@13 {
298 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
300 phy14: ethernet-phy@14 {
302 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";