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>;
156 lantiq,gphy-mode = <GPHY_MODE_FE>;
160 lantiq,gphy-mode = <GPHY_MODE_FE>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&state_default>;
167 state_default: pinmux {
169 lantiq,pins = "io42";
171 lantiq,open-drain = <0>;
175 lantiq,pins = "io38";
183 phy11: ethernet-phy@11 {
186 phy12: ethernet-phy@12 {
189 phy13: ethernet-phy@13 {
192 phy14: ethernet-phy@14 {
201 phy-mode = "internal";
202 phy-handle = <&phy11>;
207 phy-mode = "internal";
208 phy-handle = <&phy12>;
213 phy-mode = "internal";
214 phy-handle = <&phy13>;
219 phy-mode = "internal";
220 phy-handle = <&phy14>;
228 compatible = "jedec,spi-nor";
230 spi-max-frequency = <20000000>;
233 #address-cells = <1>;
243 reg = <0x10000 0x10000>;
244 label = "gphyfirmware";
249 reg = <0x20000 0x80000>;
254 reg = <0xa0000 0xf40000>;
259 reg = <0xfe0000 0x10000>;
265 reg = <0xff0000 0x2000>;
266 label = "u-boot-env";
270 reg = <0xff3000 0x2000>;
271 label = "board_config";
288 vbus-supply = <&usb_vbus>;
293 vbus-supply = <&usb_vbus>;