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
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "AsiaRF AWM002 EVB";
|
|
|
|
|
2014-07-26 20:36:09 +00:00
|
|
|
ethernet@10100000 {
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
};
|
|
|
|
|
2014-07-17 10:55:31 +00:00
|
|
|
wmac@10180000 {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|
|
|
|
|
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>;
|
|
|
|
linux,code = <0x198>;
|
|
|
|
};
|
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>;
|
2013-07-24 08:54:41 +00:00
|
|
|
linux,code = <0x32>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|