5 #include <dt-bindings/input/input.h>
8 compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9";
9 model = "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 compatible = "lantiq,phy-xrx200";
31 firmware = "lantiq/xrx200_phy22f_a22.bin";
36 compatible = "gpio-poweroff";
37 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys-polled";
44 poll-interval = <100>;
48 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_POWER>;
54 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
68 linux,input-type = <EV_SW>;
73 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
75 linux,input-type = <EV_SW>;
80 compatible = "gpio-leds";
83 label = "wbmr300:red:diag";
84 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
85 default_state = "off";
89 label = "wbmr300:green:wifi";
90 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
95 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
99 label = "wbmr300:yellow:router";
100 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
104 label = "wbmr300:yellow:wifi";
105 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
109 label = "wbmr300:green:lan1";
110 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
114 label = "wbmr300:green:wan";
115 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
119 label = "wbmr300:green:lan3";
120 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
124 label = "wbmr300:green:lan2";
125 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
128 internet_g: internet_g {
129 label = "wbmr300:green:internet";
130 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
133 internet_y: internet_y {
134 label = "wbmr300:yellow:internet";
135 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
139 label = "wbmr300:green:router";
140 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
144 label = "wbmr300:green:power";
145 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
152 compatible = "lantiq,xrx200-pdi";
153 #address-cells = <1>;
159 compatible = "lantiq,xrx200-pdi-port";
162 phy-handle = <&phy13>;
165 compatible = "lantiq,xrx200-pdi-port";
168 phy-handle = <&phy14>;
171 compatible = "lantiq,xrx200-pdi-port";
174 phy-handle = <&phy11>;
177 compatible = "lantiq,xrx200-pdi-port";
180 phy-handle = <&phy12>;
185 #address-cells = <1>;
187 compatible = "lantiq,xrx200-mdio";
190 phy11: ethernet-phy@11 {
192 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
194 phy12: ethernet-phy@12 {
196 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
198 phy13: ethernet-phy@13 {
200 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
202 phy14: ethernet-phy@14 {
204 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
210 pinctrl-names = "default";
211 pinctrl-0 = <&state_default>;
213 state_default: pinmux {
215 lantiq,groups = "mdio";
216 lantiq,function = "mdio";
219 lantiq,pins = "io42";
221 lantiq,open-drain = <0>;
225 lantiq,pins = "io38";
230 pins_spi_default: pins_spi_default {
232 lantiq,groups = "spi_di";
233 lantiq,function = "spi";
236 lantiq,groups = "spi_do", "spi_clk",
238 lantiq,function = "spi";
247 pinctrl-names = "default";
248 pinctrl-0 = <&pins_spi_default>;
251 #address-cells = <1>;
253 compatible = "jedec,spi-nor";
255 spi-max-frequency = <20000000>;
264 reg = <0x10000 0x10000>;
265 label = "gphyfirmware";
270 reg = <0x20000 0x80000>;
275 reg = <0xa0000 0xf40000>;
280 reg = <0xfe0000 0x10000>;
286 reg = <0xff0000 0x2000>;
287 label = "ubootconfig";
291 reg = <0xff3000 0x2000>;
292 label = "board_config";
300 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
301 lantiq,portmask = <0x3>;
306 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;