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 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
35 poll-interval = <100>;
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_EJECTCD>;
54 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_VIDEO>;
60 compatible = "gpio-leds";
63 label = "wbmr:green:power";
64 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
65 default-state = "keep";
68 label = "wbmr:red:power";
69 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
72 label = "wbmr:yellow:security";
73 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
76 label = "wbmr:green:wireless";
77 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
80 label = "wbmr:green:dsl";
81 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
83 online_green: online {
84 label = "wbmr:green:internet";
85 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
88 label = "wbmr:red:internet";
89 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
92 label = "wbmr:blue:movie";
93 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
96 label = "wbmr:green:usb";
97 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
102 usb_vbus: regulator-usb-vbus {
103 compatible = "regulator-fixed";
105 regulator-name = "USB_VBUS";
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
110 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&state_default>;
119 state_default: pinmux {
121 lantiq,groups = "req1";
123 lantiq,open-drain = <1>;
127 lantiq,groups = "gnt1";
132 lantiq,pins = "io21";
141 mtd-mac-address = <&boardconfig 0x10024>;
150 compatible = "lantiq,nor";
152 reg = <0 0x0 0x2000000>;
153 #address-cells = <1>;
157 compatible = "fixed-partitions";
158 #address-cells = <1>;
163 reg = <0x00000 0x40000>;
169 reg = <0x40000 0x20000>;
175 reg = <0x60000 0x1f20000>;
178 boardconfig: partition@1fc0000 {
180 reg = <0x1fc0000 0x20000>;
185 label = "calibration";
186 reg = <0x1fe0000 0x20000>;
199 vbus-supply = <&usb_vbus>;