5 #include <dt-bindings/input/input.h>
8 compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9";
9 model = "WBMR300 - Buffalo WBMR-300HPD";
12 bootargs = "console=ttyLTQ0,115200";
17 led-failsafe = &diag_r;
18 led-running = &power_g;
21 led-internet = &router_g;
26 reg = <0x0 0x4000000>;
30 gpio: pinmux@E100B10 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&state_default>;
34 state_default: pinmux {
36 lantiq,groups = "mdio";
37 lantiq,function = "mdio";
42 lantiq,open-drain = <0>;
51 pins_spi_default: pins_spi_default {
53 lantiq,groups = "spi_di";
54 lantiq,function = "spi";
57 lantiq,groups = "spi_do", "spi_clk",
59 lantiq,function = "spi";
67 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
68 lantiq,portmask = <0x3>;
73 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
78 compatible = "lantiq,phy-xrx200";
79 firmware = "lantiq/vr9_phy22f_a2x.bin";
84 compatible = "gpio-poweroff";
85 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
89 compatible = "gpio-keys-polled";
92 poll-interval = <100>;
96 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_POWER>;
102 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_RESTART>;
108 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
109 linux,code = <KEY_WPS_BUTTON>;
114 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
115 linux,code = <BTN_0>;
116 linux,input-type = <EV_SW>;
121 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
122 linux,code = <BTN_1>;
123 linux,input-type = <EV_SW>;
128 compatible = "gpio-leds";
131 label = "wbmr300:red:diag";
132 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
133 default_state = "off";
137 label = "wbmr300:green:wifi";
138 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
143 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
147 label = "wbmr300:yellow:router";
148 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
152 label = "wbmr300:yellow:wifi";
153 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
157 label = "wbmr300:green:lan1";
158 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
162 label = "wbmr300:green:wan";
163 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
167 label = "wbmr300:green:lan3";
168 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
172 label = "wbmr300:green:lan2";
173 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
176 internet_g: internet_g {
177 label = "wbmr300:green:internet";
178 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
181 internet_y: internet_y {
182 label = "wbmr300:yellow:internet";
183 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
187 label = "wbmr300:green:router";
188 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
192 label = "wbmr300:green:power";
193 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&pins_spi_default>;
204 #address-cells = <1>;
206 compatible = "jedec,spi-nor";
208 spi-max-frequency = <20000000>;
217 reg = <0x10000 0x10000>;
218 label = "gphyfirmware";
223 reg = <0x20000 0x80000>;
228 reg = <0xa0000 0xf40000>;
233 reg = <0xfe0000 0x10000>;
239 reg = <0xff0000 0x2000>;
240 label = "ubootconfig";
244 reg = <0xff3000 0x2000>;
245 label = "board_config";
253 compatible = "lantiq,xrx200-pdi";
254 #address-cells = <1>;
260 compatible = "lantiq,xrx200-pdi-port";
263 phy-handle = <&phy13>;
266 compatible = "lantiq,xrx200-pdi-port";
269 phy-handle = <&phy14>;
272 compatible = "lantiq,xrx200-pdi-port";
275 phy-handle = <&phy11>;
278 compatible = "lantiq,xrx200-pdi-port";
281 phy-handle = <&phy12>;
286 #address-cells = <1>;
288 compatible = "lantiq,xrx200-mdio";
289 phy11: ethernet-phy@11 {
291 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
293 phy12: ethernet-phy@12 {
295 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
297 phy13: ethernet-phy@13 {
299 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
301 phy14: ethernet-phy@14 {
303 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";