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 reg = <0x0 0x4000000>;
32 compatible = "gpio-poweroff";
33 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys-polled";
40 poll-interval = <100>;
44 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_POWER>;
50 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
64 linux,input-type = <EV_SW>;
69 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
71 linux,input-type = <EV_SW>;
76 compatible = "gpio-leds";
79 label = "wbmr300:red:diag";
80 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
81 default_state = "off";
85 label = "wbmr300:green:wifi";
86 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
91 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
95 label = "wbmr300:yellow:router";
96 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
100 label = "wbmr300:yellow:wifi";
101 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
105 label = "wbmr300:green:lan1";
106 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
110 label = "wbmr300:green:wan";
111 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
115 label = "wbmr300:green:lan3";
116 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
120 label = "wbmr300:green:lan2";
121 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
124 internet_g: internet_g {
125 label = "wbmr300:green:internet";
126 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
129 internet_y: internet_y {
130 label = "wbmr300:yellow:internet";
131 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
135 label = "wbmr300:green:router";
136 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
140 label = "wbmr300:green:power";
141 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
145 usb_vbus: regulator-usb-vbus {
146 compatible = "regulator-fixed";
148 regulator-name = "USB_VBUS";
150 regulator-min-microvolt = <5000000>;
151 regulator-max-microvolt = <5000000>;
153 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
160 compatible = "lantiq,xrx200-pdi";
161 #address-cells = <1>;
167 compatible = "lantiq,xrx200-pdi-port";
170 phy-handle = <&phy13>;
173 compatible = "lantiq,xrx200-pdi-port";
176 phy-handle = <&phy14>;
179 compatible = "lantiq,xrx200-pdi-port";
182 phy-handle = <&phy11>;
185 compatible = "lantiq,xrx200-pdi-port";
188 phy-handle = <&phy12>;
193 #address-cells = <1>;
195 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 #address-cells = <1>;
269 compatible = "jedec,spi-nor";
271 spi-max-frequency = <20000000>;
280 reg = <0x10000 0x10000>;
281 label = "gphyfirmware";
286 reg = <0x20000 0x80000>;
291 reg = <0xa0000 0xf40000>;
296 reg = <0xfe0000 0x10000>;
302 reg = <0xff0000 0x2000>;
303 label = "ubootconfig";
307 reg = <0xff3000 0x2000>;
308 label = "board_config";
324 vbus-supply = <&usb_vbus>;
329 vbus-supply = <&usb_vbus>;