3 #include <dt-bindings/input/input.h>
6 compatible = "buffalo,wbmr-hp-g300h", "lantiq,xway", "lantiq,ar9";
7 model = "Buffalo WBMR-HP-G300H";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_green;
20 led-internet = &online_green;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_WPS_BUTTON>;
41 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_EJECTCD>;
51 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_VIDEO>;
57 compatible = "gpio-leds";
60 label = "green:power";
61 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 default-state = "keep";
66 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
69 label = "yellow:security";
70 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
73 label = "green:wireless";
74 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
80 online_green: online {
81 label = "green:internet";
82 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
85 label = "red:internet";
86 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
90 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
94 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
99 usb_vbus: regulator-usb-vbus {
100 compatible = "regulator-fixed";
102 regulator-name = "USB_VBUS";
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
107 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&state_default>;
116 state_default: pinmux {
118 lantiq,groups = "req1";
120 lantiq,open-drain = <1>;
124 lantiq,groups = "gnt1";
129 lantiq,pins = "io21";
138 mtd-mac-address = <&boardconfig 0x10024>;
147 compatible = "lantiq,nor";
149 reg = <0 0x0 0x2000000>;
152 compatible = "fixed-partitions";
153 #address-cells = <1>;
158 reg = <0x00000 0x40000>;
163 label = "u-boot-env";
164 reg = <0x40000 0x20000>;
170 reg = <0x60000 0x1f20000>;
173 boardconfig: partition@1fc0000 {
175 reg = <0x1fc0000 0x20000>;
180 label = "calibration";
181 reg = <0x1fe0000 0x20000>;
194 vbus-supply = <&usb_vbus>;