2013-07-24 08:54:41 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "AWM002-4M.dtsi"
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-11-11 21:43:08 +00:00
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
/ {
|
2016-11-21 07:46:48 +00:00
|
|
|
model = "AsiaRF AWM002 EVB (4M)";
|
2013-07-24 08:54:41 +00:00
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
tx {
|
|
|
|
label = "awm002-evb:green:tx";
|
|
|
|
gpios = <&gpio0 15 1>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
rx {
|
|
|
|
label = "awm002-evb:green:rx";
|
|
|
|
gpios = <&gpio0 16 1>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
wps {
|
|
|
|
label = "awm002-evb:green:wps";
|
|
|
|
gpios = <&gpio0 21 1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys-polled {
|
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
poll-interval = <20>;
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
reset_wps {
|
|
|
|
label = "reset_wps";
|
|
|
|
gpios = <&gpio0 0 1>;
|
2016-11-11 21:43:08 +00:00
|
|
|
linux,code = <KEY_RESTART>;
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-07-24 08:54:41 +00:00
|
|
|
mode {
|
|
|
|
label = "mode";
|
2014-07-28 15:26:32 +00:00
|
|
|
gpios = <&gpio0 20 1>;
|
2016-11-27 08:47:51 +00:00
|
|
|
linux,code = <BTN_0>;
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
|
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wmac {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|