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;
20 led-upgrade = &power_g;
23 led-internet = &router_g;
28 device_type = "memory";
29 reg = <0x0 0x4000000>;
33 compatible = "gpio-poweroff";
34 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
41 poll-interval = <100>;
45 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_POWER>;
51 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
65 linux,input-type = <EV_SW>;
70 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
72 linux,input-type = <EV_SW>;
77 compatible = "gpio-leds";
80 label = "wbmr300:red:diag";
81 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
82 default_state = "off";
86 label = "wbmr300:green:wifi";
87 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
92 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
96 label = "wbmr300:yellow:router";
97 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
101 label = "wbmr300:yellow:wifi";
102 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
106 label = "wbmr300:green:lan1";
107 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
111 label = "wbmr300:green:wan";
112 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
116 label = "wbmr300:green:lan3";
117 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
121 label = "wbmr300:green:lan2";
122 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
125 internet_g: internet_g {
126 label = "wbmr300:green:internet";
127 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
130 internet_y: internet_y {
131 label = "wbmr300:yellow:internet";
132 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
136 label = "wbmr300:green:router";
137 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
141 label = "wbmr300:green:power";
142 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
146 usb_vbus: regulator-usb-vbus {
147 compatible = "regulator-fixed";
149 regulator-name = "USB_VBUS";
151 regulator-min-microvolt = <5000000>;
152 regulator-max-microvolt = <5000000>;
154 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
161 compatible = "lantiq,xrx200-pdi";
162 #address-cells = <1>;
168 compatible = "lantiq,xrx200-pdi-port";
171 phy-handle = <&phy13>;
174 compatible = "lantiq,xrx200-pdi-port";
177 phy-handle = <&phy14>;
180 compatible = "lantiq,xrx200-pdi-port";
183 phy-handle = <&phy11>;
186 compatible = "lantiq,xrx200-pdi-port";
189 phy-handle = <&phy12>;
194 #address-cells = <1>;
196 compatible = "lantiq,xrx200-mdio";
198 phy11: ethernet-phy@11 {
200 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
202 phy12: ethernet-phy@12 {
204 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
206 phy13: ethernet-phy@13 {
208 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
210 phy14: ethernet-phy@14 {
212 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
218 lantiq,gphy-mode = <GPHY_MODE_FE>;
222 lantiq,gphy-mode = <GPHY_MODE_FE>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&state_default>;
229 state_default: pinmux {
231 lantiq,groups = "mdio";
232 lantiq,function = "mdio";
235 lantiq,pins = "io42";
237 lantiq,open-drain = <0>;
241 lantiq,pins = "io38";
246 pins_spi_default: pins_spi_default {
248 lantiq,groups = "spi_di";
249 lantiq,function = "spi";
252 lantiq,groups = "spi_do", "spi_clk",
254 lantiq,function = "spi";
263 pinctrl-names = "default";
264 pinctrl-0 = <&pins_spi_default>;
267 compatible = "jedec,spi-nor";
269 spi-max-frequency = <20000000>;
272 #address-cells = <1>;
282 reg = <0x10000 0x10000>;
283 label = "gphyfirmware";
288 reg = <0x20000 0x80000>;
293 reg = <0xa0000 0xf40000>;
298 reg = <0xfe0000 0x10000>;
304 reg = <0xff0000 0x2000>;
305 label = "ubootconfig";
309 reg = <0xff3000 0x2000>;
310 label = "board_config";
327 vbus-supply = <&usb_vbus>;
332 vbus-supply = <&usb_vbus>;