5 #include <dt-bindings/input/input.h>
8 compatible = "buffalo,wbmr-hp-g300h", "lantiq,xway", "lantiq,ar9";
9 model = "WBMR - Buffalo WBMR-HP-G300H";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
21 led-internet = &online_green;
27 reg = <0x0 0x4000000>;
33 compatible = "lantiq,nor";
35 reg = <0 0x0 0x2000000>;
40 compatible = "fixed-partitions";
46 reg = <0x00000 0x40000>;
52 reg = <0x40000 0x20000>;
58 reg = <0x60000 0x1f20000>;
61 boardconfig: partition@1fc0000 {
63 reg = <0x1fc0000 0x20000>;
68 label = "calibration";
69 reg = <0x1fe0000 0x20000>;
76 gpio: pinmux@E100B10 {
77 pinctrl-names = "default";
78 pinctrl-0 = <&state_default>;
80 state_default: pinmux {
82 lantiq,groups = "req1";
84 lantiq,open-drain = <1>;
88 lantiq,groups = "gnt1";
102 mtd-mac-address = <&boardconfig 0x10024>;
107 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
116 compatible = "gpio-keys-polled";
117 #address-cells = <1>;
119 poll-interval = <100>;
123 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_WPS_BUTTON>;
128 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_RESTART>;
133 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_EJECTCD>;
138 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
139 linux,code = <KEY_VIDEO>;
144 compatible = "gpio-leds";
147 label = "wbmr:green:power";
148 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
149 default-state = "keep";
152 label = "wbmr:red:power";
153 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
156 label = "wbmr:yellow:security";
157 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
160 label = "wbmr:green:wireless";
161 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
164 label = "wbmr:green:dsl";
165 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
167 online_green: online {
168 label = "wbmr:green:internet";
169 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
172 label = "wbmr:red:internet";
173 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
176 label = "wbmr:blue:movie";
177 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
180 label = "wbmr:green:usb";
181 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
182 default-state = "on";