5 #include <dt-bindings/input/input.h>
8 model = "WBMR - Buffalo WBMR-HP-G300H";
11 bootargs = "console=ttyLTQ0,115200";
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_green;
20 led-internet = &online_green;
26 reg = <0x0 0x4000000>;
32 compatible = "lantiq,nor";
34 reg = <0 0x0 0x2000000>;
39 compatible = "fixed-partitions";
45 reg = <0x00000 0x40000>;
51 reg = <0x40000 0x20000>;
57 reg = <0x60000 0x1f20000>;
60 boardconfig: partition@1fc0000 {
62 reg = <0x1fc0000 0x20000>;
67 label = "calibration";
68 reg = <0x1fe0000 0x20000>;
75 gpio: pinmux@E100B10 {
76 pinctrl-names = "default";
77 pinctrl-0 = <&state_default>;
79 state_default: pinmux {
81 lantiq,groups = "req1";
83 lantiq,open-drain = <1>;
87 lantiq,groups = "gnt1";
101 mtd-mac-address = <&boardconfig 0x10024>;
106 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
115 compatible = "gpio-keys-polled";
116 #address-cells = <1>;
118 poll-interval = <100>;
122 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_WPS_BUTTON>;
127 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_RESTART>;
132 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_EJECTCD>;
137 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_VIDEO>;
143 compatible = "gpio-leds";
146 label = "wbmr:green:power";
147 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
148 default-state = "keep";
151 label = "wbmr:red:power";
152 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
155 label = "wbmr:yellow:security";
156 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
159 label = "wbmr:green:wireless";
160 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
163 label = "wbmr:green:dsl";
164 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
166 online_green: online {
167 label = "wbmr:green:internet";
168 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
171 label = "wbmr:red:internet";
172 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
175 label = "wbmr:blue:movie";
176 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
179 label = "wbmr:green:usb";
180 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
181 default-state = "on";