5 #include <dt-bindings/input/input.h>
8 model = "WBMR - Buffalo WBMR-HP-G300H";
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
16 led-internet = &online_green;
22 reg = <0x0 0x4000000>;
28 compatible = "lantiq,nor";
30 reg = <0 0x0 0x2000000>;
35 compatible = "fixed-partitions";
41 reg = <0x00000 0x40000>;
47 reg = <0x40000 0x20000>;
53 reg = <0x60000 0x1f20000>;
56 boardconfig: partition@1fc0000 {
58 reg = <0x1fc0000 0x20000>;
63 label = "calibration";
64 reg = <0x1fe0000 0x20000>;
71 gpio: pinmux@E100B10 {
72 pinctrl-names = "default";
73 pinctrl-0 = <&state_default>;
75 state_default: pinmux {
77 lantiq,groups = "req1";
79 lantiq,open-drain = <1>;
83 lantiq,groups = "gnt1";
97 mtd-mac-address = <&boardconfig 0x10024>;
102 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
111 compatible = "gpio-keys-polled";
112 #address-cells = <1>;
114 poll-interval = <100>;
118 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
119 linux,code = <KEY_WPS_BUTTON>;
123 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RESTART>;
128 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_EJECTCD>;
133 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_VIDEO>;
139 compatible = "gpio-leds";
142 label = "wbmr:green:power";
143 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
144 default-state = "keep";
147 label = "wbmr:red:power";
148 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
151 label = "wbmr:yellow:security";
152 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
155 label = "wbmr:green:wireless";
156 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
159 label = "wbmr:green:dsl";
160 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
162 online_green: online {
163 label = "wbmr:green:internet";
164 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
167 label = "wbmr:red:internet";
168 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
171 label = "wbmr:blue:movie";
172 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
175 label = "wbmr:green:usb";
176 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
177 default-state = "on";