5 #include <dt-bindings/input/input.h>
8 compatible = "buffalo,wbmr-hp-g300h", "lantiq,xway", "lantiq,ar9";
9 model = "Buffalo WBMR-HP-G300H";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
19 led-upgrade = &power_green;
22 led-internet = &online_green;
28 device_type = "memory";
29 reg = <0x0 0x4000000>;
33 compatible = "gpio-keys-polled";
36 poll-interval = <100>;
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
45 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_EJECTCD>;
55 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_VIDEO>;
61 compatible = "gpio-leds";
64 label = "wbmr:green:power";
65 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
66 default-state = "keep";
69 label = "wbmr:red:power";
70 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
73 label = "wbmr:yellow:security";
74 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
77 label = "wbmr:green:wireless";
78 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
81 label = "wbmr:green:dsl";
82 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
84 online_green: online {
85 label = "wbmr:green:internet";
86 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
89 label = "wbmr:red:internet";
90 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
93 label = "wbmr:blue:movie";
94 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
97 label = "wbmr:green:usb";
98 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
103 usb_vbus: regulator-usb-vbus {
104 compatible = "regulator-fixed";
106 regulator-name = "USB_VBUS";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
111 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&state_default>;
120 state_default: pinmux {
122 lantiq,groups = "req1";
124 lantiq,open-drain = <1>;
128 lantiq,groups = "gnt1";
133 lantiq,pins = "io21";
142 mtd-mac-address = <&boardconfig 0x10024>;
151 compatible = "lantiq,nor";
153 reg = <0 0x0 0x2000000>;
154 #address-cells = <1>;
158 compatible = "fixed-partitions";
159 #address-cells = <1>;
164 reg = <0x00000 0x40000>;
170 reg = <0x40000 0x20000>;
176 reg = <0x60000 0x1f20000>;
179 boardconfig: partition@1fc0000 {
181 reg = <0x1fc0000 0x20000>;
186 label = "calibration";
187 reg = <0x1fe0000 0x20000>;
200 vbus-supply = <&usb_vbus>;