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;
21 led-internet = &online_green;
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_EJECTCD>;
53 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_VIDEO>;
59 compatible = "gpio-leds";
62 label = "wbmr:green:power";
63 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 default-state = "keep";
67 label = "wbmr:red:power";
68 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
71 label = "wbmr:yellow:security";
72 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
75 label = "wbmr:green:wireless";
76 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
79 label = "wbmr:green:dsl";
80 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
82 online_green: online {
83 label = "wbmr:green:internet";
84 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
87 label = "wbmr:red:internet";
88 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
91 label = "wbmr:blue:movie";
92 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
95 label = "wbmr:green:usb";
96 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&state_default>;
106 state_default: pinmux {
108 lantiq,groups = "req1";
110 lantiq,open-drain = <1>;
114 lantiq,groups = "gnt1";
119 lantiq,pins = "io21";
128 mtd-mac-address = <&boardconfig 0x10024>;
137 compatible = "lantiq,nor";
139 reg = <0 0x0 0x2000000>;
140 #address-cells = <1>;
144 compatible = "fixed-partitions";
145 #address-cells = <1>;
150 reg = <0x00000 0x40000>;
156 reg = <0x40000 0x20000>;
162 reg = <0x60000 0x1f20000>;
165 boardconfig: partition@1fc0000 {
167 reg = <0x1fc0000 0x20000>;
172 label = "calibration";
173 reg = <0x1fe0000 0x20000>;
182 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;