3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9";
8 model = "Buffalo WBMR-300HPD";
11 bootargs = "console=ttyLTQ0,115200";
16 led-failsafe = &diag_r;
17 led-running = &power_g;
18 led-upgrade = &power_g;
21 led-internet = &router_g;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-poweroff";
32 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
41 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
47 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio 48 GPIO_ACTIVE_HIGH>;
61 linux,input-type = <EV_SW>;
66 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
68 linux,input-type = <EV_SW>;
73 compatible = "gpio-leds";
77 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
78 default_state = "off";
83 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
88 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
92 label = "yellow:router";
93 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
97 label = "yellow:wifi";
98 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
102 label = "green:lan1";
103 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
108 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
112 label = "green:lan3";
113 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
117 label = "green:lan2";
118 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
121 internet_g: internet_g {
122 label = "green:internet";
123 gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
126 internet_y: internet_y {
127 label = "yellow:internet";
128 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
132 label = "green:router";
133 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
137 label = "green:power";
138 gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
142 usb_vbus: regulator-usb-vbus {
143 compatible = "regulator-fixed";
145 regulator-name = "USB_VBUS";
147 regulator-min-microvolt = <5000000>;
148 regulator-max-microvolt = <5000000>;
150 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
157 compatible = "lantiq,xrx200-pdi";
158 #address-cells = <1>;
164 compatible = "lantiq,xrx200-pdi-port";
167 phy-handle = <&phy11>;
170 compatible = "lantiq,xrx200-pdi-port";
173 phy-handle = <&phy12>;
176 compatible = "lantiq,xrx200-pdi-port";
179 phy-handle = <&phy13>;
182 compatible = "lantiq,xrx200-pdi-port";
185 phy-handle = <&phy14>;
190 #address-cells = <1>;
192 compatible = "lantiq,xrx200-mdio";
194 phy11: ethernet-phy@11 {
196 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
198 phy12: ethernet-phy@12 {
200 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
202 phy13: ethernet-phy@13 {
204 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
206 phy14: ethernet-phy@14 {
208 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
214 lantiq,gphy-mode = <GPHY_MODE_FE>;
218 lantiq,gphy-mode = <GPHY_MODE_FE>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&state_default>;
225 state_default: pinmux {
227 lantiq,pins = "io42";
229 lantiq,open-drain = <0>;
233 lantiq,pins = "io38";
244 compatible = "jedec,spi-nor";
246 spi-max-frequency = <20000000>;
249 #address-cells = <1>;
259 reg = <0x10000 0x10000>;
260 label = "gphyfirmware";
265 reg = <0x20000 0x80000>;
270 reg = <0xa0000 0xf40000>;
275 reg = <0xfe0000 0x10000>;
281 reg = <0xff0000 0x2000>;
282 label = "u-boot-env";
286 reg = <0xff3000 0x2000>;
287 label = "board_config";
304 vbus-supply = <&usb_vbus>;
309 vbus-supply = <&usb_vbus>;
314 gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;