5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9";
10 model = "Buffalo WBMR-300HPD";
13 bootargs = "console=ttyLTQ0,115200";
18 led-failsafe = &diag_r;
19 led-running = &power_g;
22 led-internet = &router_g;
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-poweroff";
32 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
43 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_POWER>;
49 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
63 linux,input-type = <EV_SW>;
68 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
70 linux,input-type = <EV_SW>;
75 compatible = "gpio-leds";
78 label = "wbmr300:red:diag";
79 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
80 default_state = "off";
84 label = "wbmr300:green:wifi";
85 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
90 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
94 label = "wbmr300:yellow:router";
95 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
99 label = "wbmr300:yellow:wifi";
100 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
104 label = "wbmr300:green:lan1";
105 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
109 label = "wbmr300:green:wan";
110 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
114 label = "wbmr300:green:lan3";
115 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
119 label = "wbmr300:green:lan2";
120 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
123 internet_g: internet_g {
124 label = "wbmr300:green:internet";
125 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
128 internet_y: internet_y {
129 label = "wbmr300:yellow:internet";
130 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
134 label = "wbmr300:green:router";
135 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
139 label = "wbmr300:green:power";
140 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
144 usb_vbus: regulator-usb-vbus {
145 compatible = "regulator-fixed";
147 regulator-name = "USB_VBUS";
149 regulator-min-microvolt = <5000000>;
150 regulator-max-microvolt = <5000000>;
152 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
159 compatible = "lantiq,xrx200-pdi";
160 #address-cells = <1>;
166 compatible = "lantiq,xrx200-pdi-port";
169 phy-handle = <&phy13>;
172 compatible = "lantiq,xrx200-pdi-port";
175 phy-handle = <&phy14>;
178 compatible = "lantiq,xrx200-pdi-port";
181 phy-handle = <&phy11>;
184 compatible = "lantiq,xrx200-pdi-port";
187 phy-handle = <&phy12>;
192 #address-cells = <1>;
194 compatible = "lantiq,xrx200-mdio";
197 phy11: ethernet-phy@11 {
199 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
201 phy12: ethernet-phy@12 {
203 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
205 phy13: ethernet-phy@13 {
207 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
209 phy14: ethernet-phy@14 {
211 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
217 lantiq,gphy-mode = <GPHY_MODE_FE>;
221 lantiq,gphy-mode = <GPHY_MODE_FE>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&state_default>;
228 state_default: pinmux {
230 lantiq,groups = "mdio";
231 lantiq,function = "mdio";
234 lantiq,pins = "io42";
236 lantiq,open-drain = <0>;
240 lantiq,pins = "io38";
245 pins_spi_default: pins_spi_default {
247 lantiq,groups = "spi_di";
248 lantiq,function = "spi";
251 lantiq,groups = "spi_do", "spi_clk",
253 lantiq,function = "spi";
262 pinctrl-names = "default";
263 pinctrl-0 = <&pins_spi_default>;
266 #address-cells = <1>;
268 compatible = "jedec,spi-nor";
270 spi-max-frequency = <20000000>;
279 reg = <0x10000 0x10000>;
280 label = "gphyfirmware";
285 reg = <0x20000 0x80000>;
290 reg = <0xa0000 0xf40000>;
295 reg = <0xfe0000 0x10000>;
301 reg = <0xff0000 0x2000>;
302 label = "ubootconfig";
306 reg = <0xff3000 0x2000>;
307 label = "board_config";
323 vbus-supply = <&usb_vbus>;
328 vbus-supply = <&usb_vbus>;