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 device_type = "memory";
29 reg = <0x0 0x4000000>;
33 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>;
101 usb_vbus: regulator-usb-vbus {
102 compatible = "regulator-fixed";
104 regulator-name = "USB_VBUS";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
109 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&state_default>;
118 state_default: pinmux {
120 lantiq,groups = "req1";
122 lantiq,open-drain = <1>;
126 lantiq,groups = "gnt1";
131 lantiq,pins = "io21";
140 mtd-mac-address = <&boardconfig 0x10024>;
149 compatible = "lantiq,nor";
151 reg = <0 0x0 0x2000000>;
154 compatible = "fixed-partitions";
155 #address-cells = <1>;
160 reg = <0x00000 0x40000>;
166 reg = <0x40000 0x20000>;
172 reg = <0x60000 0x1f20000>;
175 boardconfig: partition@1fc0000 {
177 reg = <0x1fc0000 0x20000>;
182 label = "calibration";
183 reg = <0x1fe0000 0x20000>;
196 vbus-supply = <&usb_vbus>;