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";
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";
196 phy11: ethernet-phy@11 {
198 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
200 phy12: ethernet-phy@12 {
202 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
204 phy13: ethernet-phy@13 {
206 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
208 phy14: ethernet-phy@14 {
210 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
216 lantiq,gphy-mode = <GPHY_MODE_FE>;
220 lantiq,gphy-mode = <GPHY_MODE_FE>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&state_default>;
227 state_default: pinmux {
229 lantiq,pins = "io42";
231 lantiq,open-drain = <0>;
235 lantiq,pins = "io38";
246 compatible = "jedec,spi-nor";
248 spi-max-frequency = <20000000>;
251 #address-cells = <1>;
261 reg = <0x10000 0x10000>;
262 label = "gphyfirmware";
267 reg = <0x20000 0x80000>;
272 reg = <0xa0000 0xf40000>;
277 reg = <0xfe0000 0x10000>;
283 reg = <0xff0000 0x2000>;
284 label = "ubootconfig";
288 reg = <0xff3000 0x2000>;
289 label = "board_config";
306 vbus-supply = <&usb_vbus>;
311 vbus-supply = <&usb_vbus>;